Whole document tree
    

Whole document tree

GtkComboBox

GtkComboBox

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


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


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.


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


gtk_combo_box_set_arrow_relief ()
void        gtk_combo_box_set_arrow_relief  (GtkComboBox *cc,
                                             GtkReliefStyle 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.


gtk_combo_box_set_arrow_sensitive ()
void        gtk_combo_box_set_arrow_sensitive
                                            (GtkComboBox *combo,
                                             gboolean sensitive);

Toggle the sensitivity of the arrow button