SimpleGUI
|
The List class is a containter of textual items, it object can be stored more items as it can to show. The final user can use the scroll mouse to browse more item hiden behind the object space. More...
#include <simplegui.h>
Public Member Functions | |
List (int x, int y, int width=100, int height=100) | |
void | draw () |
void | add (const char item[]) |
bool | triggerEvent (XEvent &event) |
int | getCurrentIndex () |
int | count () |
void | remove (int i) |
void | removeAll () |
void | sort () |
![]() | |
Widget (int x, int y, int width, int height, const char text[]) | |
void | updateGraphVariables (Display *display, int screen, Window window, GC gc) |
bool | mouseInArea (XEvent &event) |
virtual void | setFocused (bool) |
char * | getText () |
void | setText (const char text[]) |
void | show () |
Public Attributes | |
void(* | selectionChanged )(const char[]) |
void(* | doubleClicked )(const char[]) |
![]() | |
void(* | action )() |
void(* | taggedAction )(char text[]) |
Additional Inherited Members | |
![]() | |
static void | defaultAction () |
static void | defaultTaggedAction (char[]) |
![]() | |
int | x |
int | y |
int | width |
int | height |
char | text [256] |
bool | focused |
bool | hidden |
Display * | display |
int | screen |
Window | window |
GC | gc |
The List class is a containter of textual items, it object can be stored more items as it can to show. The final user can use the scroll mouse to browse more item hiden behind the object space.