org.gnu.gtk

Class CellRendererCombo.Attribute

Enclosing Class:
CellRendererCombo

public static class CellRendererCombo.Attribute
extends CellRenderer.Attribute

Field Summary

static 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.
static CellRendererCombo.Attribute
MODEL
(TreeModel) Holds a tree model containing the possible values for the combo box.
static CellRendererCombo.Attribute
TEXT_COLUMN
(int) Specifies the model column which holds the possible values for the combo box.

Fields inherited from class org.gnu.gtk.CellRenderer.Attribute

CELL_BACKGROUND, CELL_BACKGROUND_GDK, CELL_BACKGROUND_SET, HEIGHT, IS_EXPANDED, IS_EXPANDER, MODE, SENSITIVE, VISIBLE, WIDTH, XALIGN, XPAD, YALIGN, YPAD

Method Summary

Methods inherited from class org.gnu.gtk.CellRendererAttribute

toString

Field Details

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