GTK+ IOStream
Beta
<< GTK+ >> add C++ IOStream operators to GTK+. Now with extra abilities ... like network serialisation
|
#include <ComboBoxText.H>
Public Member Functions | |
ComboBoxText (void) | |
void | setChangedCallback (GCallback callBack, void *data) |
void | getSelection (int &value) |
void | getSelection (char *value) |
void | getSelection (string &value) |
void | setSelection (int which) |
int | setSelection (char *text) |
int | setSelection (string text) |
ComboBoxText & | operator<< (char *text) |
ComboBoxText & | operator<< (string text) |
![]() | |
GtkWidget * | getWidget (void) |
GtkWidget * | show (void) |
GtkWidget * | hide (void) |
void | setBorder (unsigned int size) |
unsigned int | getBorder (void) |
Container & | operator<< (Container &b) |
Container & | operator<< (Container *b) |
virtual Container & | operator<< (GtkWidget *b) |
Container & | operator<< (LinkList< GtkWidget * > &ll) |
Container & | operator>> (GtkWidget *b) |
Container & | operator>> (Container *b) |
Container & | operator>> (Container &b) |
![]() | |
virtual | ~Widget () |
Destructor. More... | |
GtkWidget * | ref (void) |
void | unref (void) |
Additional Inherited Members | |
![]() | |
virtual void | pack (GtkWidget *obj) |
![]() | |
GtkWidget * | widget |
The container based widget. More... | |
A combo widget : pull down list
This is a simple to fill pull down list. It is operated like so :
Definition at line 33 of file ComboBoxText.H.
|
inline |
The Combo constructor
Definition at line 37 of file ComboBoxText.H.
|
inline |
Get the selected number from the ComboBoxText
value | The number of the selected element (from zero) |
Definition at line 59 of file ComboBoxText.H.
|
inline |
Get the selected text from the ComboBoxText
value | The character array to hold the selected text. NOTE: Ensure the length of the char * passed in is large enough to contain the selected text. |
Definition at line 66 of file ComboBoxText.H.
|
inline |
Get the selected text from the ComboBoxText
value | The string to hold the selected text. |
Definition at line 79 of file ComboBoxText.H.
|
inline |
Overloads the input operator.
This allows the ComboBoxText to be loaded like so :
text | The character array to add to the combo box |
Definition at line 140 of file ComboBoxText.H.
|
inline |
Overloads the input operator.
This allows the ComboBoxText to be loaded like so :
text | The string to add to the combo box |
Definition at line 157 of file ComboBoxText.H.
|
inline |
Set the callback for when the combo box is changed
Definition at line 52 of file ComboBoxText.H.
|
inline |
Sets the ComboBoxText to 'which'
which | The item to set as actave or 'selected', indexed from zero (0 is the first entry). |
Definition at line 92 of file ComboBoxText.H.
|
inline |
Set the selection to the matched char array.
If the character array text is in the ComboBoxText, then set the ComboBoxText to select that item.
text | The character array to search for in the ComboBoxText |
Definition at line 101 of file ComboBoxText.H.
|
inline |