Top | ![]() |
![]() |
![]() |
![]() |
ClutterActor * | mx_combo_box_new () |
void | mx_combo_box_insert_text () |
void | mx_combo_box_insert_text_with_icon () |
void | mx_combo_box_append_text () |
void | mx_combo_box_prepend_text () |
void | mx_combo_box_remove_text () |
void | mx_combo_box_remove_all () |
void | mx_combo_box_set_active_text () |
const gchar * | mx_combo_box_get_active_text () |
void | mx_combo_box_set_active_icon_name () |
const gchar * | mx_combo_box_get_active_icon_name () |
void | mx_combo_box_set_index () |
gint | mx_combo_box_get_index () |
gchar * | active-icon-name | Read / Write |
gchar * | active-text | Read / Write |
gint | index | Read / Write |
MxComboBox implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.
MxComboBox combines a button with a popup menu to allow the user to select an option from a list.
void mx_combo_box_insert_text (MxComboBox *box
,gint position
,const gchar *text
);
Insert an item into the combo box list.
void mx_combo_box_insert_text_with_icon (MxComboBox *box
,gint position
,const gchar *text
,const gchar *icon
);
Insert an item with text and an icon into the combo box list.
void mx_combo_box_append_text (MxComboBox *box
,const gchar *text
);
Append an item to the combo box list
void mx_combo_box_prepend_text (MxComboBox *box
,const gchar *text
);
Prepend an item to the combo box list
void mx_combo_box_remove_text (MxComboBox *box
,gint position
);
Remove the item at position
void
mx_combo_box_remove_all (MxComboBox *box
);
Remove all the items of box
Since: 1.4
void mx_combo_box_set_active_text (MxComboBox *box
,const gchar *text
);
Set the text displayed in the combo box
const gchar *
mx_combo_box_get_active_text (MxComboBox *box
);
Get the text displayed in the combo box
void mx_combo_box_set_active_icon_name (MxComboBox *box
,const gchar *icon_name
);
Set the icon displayed in the combo box.
const gchar *
mx_combo_box_get_active_icon_name (MxComboBox *box
);
Get the name of the icon displayed in the combo box
the text string of the name of the displayed icon, owned by
the combo box, or NULL
if there is no active icon.
void mx_combo_box_set_index (MxComboBox *box
,gint index
);
Set the current combo box text from the item at index
in the list.
gint
mx_combo_box_get_index (MxComboBox *box
);
Get the index of the last item selected
struct MxComboBox;
The contents of this structure are private and should only be accessed through the public API.
“active-icon-name”
property “active-icon-name” gchar *
Name of the icon currently displayed in the combo-box.
Flags: Read / Write
Default value: NULL
“active-text”
property “active-text” gchar *
Text currently displayed in the combo box button.
Flags: Read / Write
Default value: ""