SimpleGUI
Public Member Functions | List of all members
Label Class Reference

The Label class is the most simple visual class, useful show information to an application final user. This class does not programm any action. More...

#include <simplegui.h>

Inheritance diagram for Label:
Widget

Public Member Functions

 Label (int x, int y, int width, int height=20, const char text[]="")
 
void draw ()
 
- Public Member Functions inherited from Widget
 Widget (int x, int y, int width, int height, const char text[])
 
void updateGraphVariables (Display *display, int screen, Window window, GC gc)
 
virtual bool triggerEvent (XEvent &)
 
bool mouseInArea (XEvent &event)
 
virtual void setFocused (bool)
 
char * getText ()
 
void setText (const char text[])
 
void show ()
 

Additional Inherited Members

- Public Attributes inherited from Widget
void(* action )()
 
void(* taggedAction )(char text[])
 
- Static Protected Member Functions inherited from Widget
static void defaultAction ()
 
static void defaultTaggedAction (char[])
 
- Protected Attributes inherited from Widget
int x
 
int y
 
int width
 
int height
 
char text [256]
 
bool focused
 
bool hidden
 
Display * display
 
int screen
 
Window window
 
GC gc
 

Detailed Description

The Label class is the most simple visual class, useful show information to an application final user. This class does not programm any action.


The documentation for this class was generated from the following file: