vdk 2.4.0
|
Provides a simplified wrapper for gtkcombo_entry. More...
#include <vdkcomboentry.h>
Public Member Functions | |
VDKComboEntry (VDKForm *owner, char **selections=NULL) | |
virtual void | SetBackground (VDKRgb rgb, GtkStateType state) |
virtual void | SetForeground (VDKRgb rgb, GtkStateType state) |
virtual void | SetFont (VDKFont *font) |
![]() | |
VDKRgb | GetBackground (GtkStateType state=GTK_STATE_NORMAL) |
VDKRgb | GetForeground (GtkStateType state=GTK_STATE_NORMAL) |
VDKObject (VDKForm *owner=NULL) | |
VDKObject (VDKForm *owner, GtkWidget *widget) | |
virtual | ~VDKObject () |
bool | Destroy () |
virtual int | isA () |
VDKForm * | Owner () |
virtual GtkWidget * | Widget () |
GtkWidget * | ConnectingWidget () |
GtkWidget * | WrappedWidget () |
VDKFont * | GetFont () |
void | SetVisible (bool visible) |
bool | GetVisible () |
void | SetCursor (VDKCursorType) |
VDKCursorType | GetCursor () |
void | SetSize (int w, int h) |
void | SetUsize (VDKPoint s) |
virtual void | SetTip (char *) |
virtual void | Add (VDKObject *obj, int justify=l_justify, int expand=TRUE, int fill=TRUE, int padding=0) |
ItemList & | Items () |
void | Draw (GdkRectangle *area=NULL) |
virtual void | Setup () |
void | SignalEmit (int signal) |
void | SignalEmit (char *sig) |
void | SignalEmitParent (int signal) |
void | SignalEmitParent (char *sig) |
void | GrabFocus () |
VDKObject * | Parent (VDKObject *p=NULL) |
int | SignalConnect (VDKObject *obj, char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false) |
int | SignalConnect (char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false) |
bool | SignalDisconnect (int connection) |
int | EventConnect (VDKObject *obj, char *event, bool(VDKObject::*method)(VDKObject *, GdkEvent *), bool after=false) |
int | EventConnect (char *, bool(VDKObject::*)(VDKObject *, GdkEvent *), bool after=false) |
bool | EventDisconnect (int connection) |
Public Attributes | |
VDKReadWriteValueProp < VDKComboEntry, bool > | Editable |
VDKReadWriteValueProp < VDKComboEntry, int > | Selected |
VDKReadWriteValueProp < VDKComboEntry, char * > | Text |
VDKReadWriteValueProp < VDKComboEntry, StringList * > | Selections |
VDKReadWriteValueProp < VDKComboEntry, GtkListStore * > | StoreModel |
VDKReadWriteValueProp < VDKComboEntry, bool > | Sorted |
VDKReadWriteValueProp < VDKComboEntry, GtkSortType > | SortingOrder |
![]() | |
VDKReadWriteValueProp < VDKObject, VDKRgb > | NormalBackground |
VDKReadWriteValueProp < VDKObject, VDKFont * > | Font |
SizeObjectProp | Usize |
VDKReadWriteValueProp < VDKObject, bool > | Enabled |
VDKReadWriteValueProp < VDKObject, VDKCursorType > | Cursor |
VDKReadWriteValueProp < VDKObject, bool > | Visible |
Additional Inherited Members | |
![]() | |
VDKObjectSignal | s_clicked |
GtkWidget * | widget |
GtkWidget * | sigwid |
VDKObject * | parent |
Provides a simplified wrapper for gtkcombo_entry.
VDKComboEntry::VDKComboEntry | ( | VDKForm * | owner, |
char ** | selections = NULL |
||
) |
Constructor
owner | owner form |
selections | a NULL terminating string array |
|
virtual |
|
virtual |
VDKReadWriteValueProp<VDKComboEntry,bool> VDKComboEntry::Editable |
Same as Editable property in VDKEntry. Setting it to false allows you to provide a read-only list to select from, without the user being able to enter text.
VDKReadWriteValueProp<VDKComboEntry,int> VDKComboEntry::Selected |
Sets/gets the index of the currently selected item in the dropdown list or -1 if no item is selected.
VDKReadWriteValueProp<VDKComboEntry,StringList*> VDKComboEntry::Selections |
Sets/gets widget dropdown list.
VDKReadWriteValueProp<VDKComboEntry,bool> VDKComboEntry::Sorted |
Sets underlying GtkListStore model as sortable. Once the model has been sorted, it can't go back to the default state. A possible work around to this problem is here:
VDKReadWriteValueProp<VDKComboEntry,GtkSortType> VDKComboEntry::SortingOrder |
Sets/gets sorting order. Applicable only if Sorted property is true. can be either GTK_SORT_ASCENDING (default) or GTK_SORT_DESCENDING
VDKReadWriteValueProp<VDKComboEntry,GtkListStore*> VDKComboEntry::StoreModel |
gets underlying GtkListStore model that can be accessed in order to manipulate widget dropdown list if needed.
VDKReadWriteValueProp<VDKComboEntry,char*> VDKComboEntry::Text |
Set/Get the text in the Entry