SimpleGUI
|
The Widget class is the base of all classes in the simplegui library, this class has the main visual information like a position, dimensions, presentation and so on. In addition to these properties, this class has two default actions, which can be programmed in the future by a programmer user. More...
#include <simplegui.h>
Public Attributes | |
void(* | action )() |
void(* | taggedAction )(char text[]) |
Static Protected Member Functions | |
static void | defaultAction () |
static void | defaultTaggedAction (char[]) |
Protected Attributes | |
int | x |
int | y |
int | width |
int | height |
char | text [256] |
bool | focused |
bool | hidden |
Display * | display |
int | screen |
Window | window |
GC | gc |
The Widget class is the base of all classes in the simplegui library, this class has the main visual information like a position, dimensions, presentation and so on. In addition to these properties, this class has two default actions, which can be programmed in the future by a programmer user.