The GtkCombo class is the class for instantiating combo (drop-down) widgets.
The class heirarchy
Object
+---GtkWidget
+---GtkContainer
+---GtkBox
+---GtkHBox
+---GtkCombo
|
The methods for the GtkCombo class are documented below.
This method creates and initializes the widget.
This is a example of how to create a new combo widget.
mycombo = .GtkCombo~new() |
None.
The new GtkCombo object.
This method retrieves the selected entry in the list.
This is a example of how to retireve the selected entry.
selected = mycombo~selected() |
None.
The selection string entry.
This method sets the list of popdown strings.
This is a example of how to set the popdown strings.
mylist = .GList~new()
mylist~append('Selection One')
mylist~append('Selection Two')
mylist~append('Selection Three')
mycombo~setpopdownstrings(mylist~head)
|
None.
This method sets the list of popdown strings.
This is a example of how to set the popdown strings.
mylist = .array~new() mylist[1] = 'Selection One' mylist[2] = 'Selection Two' mylist[3] = 'Selection Three' mycombo~setpopdownstringsfromarray(mylist) |
None.
This method selects a popdown list entry.
This is a example of how to select a popdown list entry.
mycombo~setvalueinlist(entry) |
None.