![]() | ![]() | ![]() | ![]() |
struct GtkComboBox; void gtk_combo_box_construct (GtkComboBox *combo_box, GtkWidget *display_widget, GtkWidget *optional_pop_down_widget); GtkWidget* gtk_combo_box_new (GtkWidget *display_widget, GtkWidget *optional_pop_down_widget); void gtk_combo_box_popup_hide (GtkComboBox *combo_box); void gtk_combo_box_set_display (GtkComboBox *combo_box, GtkWidget *display_widget); void gtk_combo_box_set_arrow_relief (GtkComboBox *cc, GtkReliefStyle relief); void gtk_combo_box_set_title (GtkComboBox *combo, const gchar *title); void gtk_combo_box_set_arrow_sensitive (GtkComboBox *combo, gboolean sensitive);
void gtk_combo_box_construct (GtkComboBox *combo_box, GtkWidget *display_widget, GtkWidget *optional_pop_down_widget);
combo_box : | |
display_widget : | |
optional_pop_down_widget : |
|
GtkWidget* gtk_combo_box_new (GtkWidget *display_widget, GtkWidget *optional_pop_down_widget);
display_widget : | |
optional_pop_down_widget : | |
Returns : |
|
void gtk_combo_box_popup_hide (GtkComboBox *combo_box);
Hide popup, but not when it is torn off. This is the external interface - for subclasses and apps which expect a regular combo which doesn't do tearoffs.
combo_box : | Combo box |
void gtk_combo_box_set_display (GtkComboBox *combo_box, GtkWidget *display_widget);
Sets the displayed widget for the combo_box to be display_widget
combo_box : | the Combo Box to modify |
display_widget : | The widget to be displayed |
void gtk_combo_box_set_arrow_relief (GtkComboBox *cc, GtkReliefStyle relief);
cc : | |
relief : |
|
void gtk_combo_box_set_title (GtkComboBox *combo, const gchar *title);
Set a title to display over the tearoff window.
FIXME:
This should really change the title even when the popup is already torn off. I guess the tearoff window could attach a listener to title change or something. But I don't think we need the functionality, so I didn't bother to investigate.
combo : | Combo box |
title : | Title |
void gtk_combo_box_set_arrow_sensitive (GtkComboBox *combo, gboolean sensitive);
Toggle the sensitivity of the arrow button
combo : | Combo box |
sensitive : | Sensitivity value |
<<< ColorCombo | ColorPalette >>> |