GtkComboBox


Documentation

A widget used to choose from a list of items

 


 

GtkComboBox class

new

Creates a new empty GtkComboBox.

 

newText

Convenience function which constructs a new text combo box, which is a GtkComboBox just displaying strings.

 

new: aGtkTreeModel

Creates a new GtkComboBox with the given model.

 

GtkComboBox

uses: GtkCellLayout
subclasses: GtkBin -> GtkContainer -> GtkWidget -> GtkObject -> GObject

activeIter

Returns the current iter which describers the selected row of the combobox

 

activeText

Returns the current selected text in the combo box, if created with newText

 

appendText: aString

Append the given string to the list, if the combo was created with newText

 

model

Returns the GtkTreeModel which is acting as data source for the combobox