GtkToggleCombo - toggle combo widget for gtk+
GtkType |
gtk_toggle_combo_get_type |
(void); |
GtkWidget* |
gtk_toggle_combo_new |
(gint nrows, gint ncols); |
void |
gtk_toggle_combo_construct |
GtkToggleCombo *combo, gint nrows, gint ncols); |
gint |
gtk_toggle_combo_get_nrows |
GtkToggleCombo *combo) |
gint |
gtk_toggle_combo_get_ncols |
GtkToggleCombo *combo) |
void |
gtk_toggle_combo_select |
(GtkToggleCombo *combo,gint row, gint col); |
void |
gtk_toggle_combo_get_selection |
(GtkToggleCombo *combo, gint *row, gint *col) |
GtkObject |
"default_flag" gboolean : Read / Write |
"changed" void user_function (GtkToggleCombo *toggle_combo, gint row, gint col, gpointer user_data); |
struct _GtkToggleCombo { GtkComboBox toggle_combo; gint default_flag:1; gint nrows; gint ncols; gint row; gint column; GtkWidget ***button; GtkWidget *table; GtkWidget *custom_button; }; |
The GtkToggleCombo struct contains private data and should be manipulated using the functions below.
You should access only the entry and list fields directly
GtkWidget* gtk_toggle_combo_new (void); |
Creates a new toggle combo.
Returns : | a new toggle combo. |
void gtk_toggle_combo_construct (GtkToggleCombo *combo,gint nrows, gint ncols); |
combo | a GtkToggleCombo from gtk_toggle_combo_new() |
nrows | number of rows |
ncols | number of columns |
gint gtk_toggle_combo_get_nrows(GtkToggleCombo *combo); |
Determines the number of columns from combo.
combo | a GtkToggleCombo |
Returns | numberr of rows in combo |
gint gtk_toggle_combo_get_ncols(GtkToggleCombo *combo); |
Determines the number of columns from combo.
combo | a GtkToggleCombo |
Returns | number of columnsin combo |
What does this means?
"changed" void user_function (GtkToggleCombo *toggle_combo, gint row, gint col, gpointer user_data); |
Should be connected if you wish to perform an action whenever the GtkToggleCombo's state is changed.
toggle_combo : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
a text entry field with a dropdown list.