GtkComboBox

Name

GtkComboBox -- 

Synopsis



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);

Description

Details

struct GtkComboBox

struct GtkComboBox {

	GtkHBox hbox;
	GtkComboBoxPrivate *priv;
};


gtk_combo_box_construct ()

void        gtk_combo_box_construct         (GtkComboBox *combo_box,
                                             GtkWidget *display_widget,
                                             GtkWidget *optional_pop_down_widget);

combo_box :

display_widget :

optional_pop_down_widget :


gtk_combo_box_new ()

GtkWidget*  gtk_combo_box_new               (GtkWidget *display_widget,
                                             GtkWidget *optional_pop_down_widget);

display_widget :

optional_pop_down_widget :

Returns :


gtk_combo_box_popup_hide ()

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


gtk_combo_box_set_display ()

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


gtk_combo_box_set_arrow_relief ()

void        gtk_combo_box_set_arrow_relief  (GtkComboBox *cc,
                                             GtkReliefStyle relief);

cc :

relief :


gtk_combo_box_set_title ()

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


gtk_combo_box_set_arrow_sensitive ()

void        gtk_combo_box_set_arrow_sensitive
                                            (GtkComboBox *combo,
                                             gboolean sensitive);

Toggle the sensitivity of the arrow button

combo :

Combo box

sensitive :

Sensitivity value