org.gnu.gtk

Class CellRendererCombo.Attribute

public static class CellRendererCombo.Attribute extends CellRenderer.Attribute

Field Summary
static CellRendererCombo.AttributeHAS_ENTRY
(boolean) If TRUE, the cell renderer will include an entry and allow to enter values other than the ones in the popup list.
static CellRendererCombo.AttributeMODEL
(TreeModel) Holds a tree model containing the possible values for the combo box.
static CellRendererCombo.AttributeTEXT_COLUMN
(int) Specifies the model column which holds the possible values for the combo box.

Field Detail

HAS_ENTRY

public static final CellRendererCombo.Attribute HAS_ENTRY
(boolean) If TRUE, the cell renderer will include an entry and allow to enter values other than the ones in the popup list. Default value: TRUE

MODEL

public static final CellRendererCombo.Attribute MODEL
(TreeModel) Holds a tree model containing the possible values for the combo box. Use the text_column property to specify the column holding the values.

TEXT_COLUMN

public static final CellRendererCombo.Attribute TEXT_COLUMN
(int) Specifies the model column which holds the possible values for the combo box. Note that this refers to the model specified in the model property, not the model backing the tree view to which this cell renderer is attached. GtkCellRendererCombo automatically adds a text cell renderer for this column to its combo box. Allowed values: >= -1 Default value: -1