/* signals */
void (* changed) (GtkComboBox *combo_box);
+ /* vfuncs */
+ gchar * (* get_active_text) (GtkComboBox *combo_box);
+
/* Padding for future expansion */
void (*_gtk_reserved0) (void);
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
};
/* construction */
-GType gtk_combo_box_get_type (void);
+GType gtk_combo_box_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_combo_box_new (void);
GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model);
void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box,
gboolean add_tearoffs);
+G_CONST_RETURN gchar *gtk_combo_box_get_title (GtkComboBox *combo_box);
+void gtk_combo_box_set_title (GtkComboBox *combo_box,
+ const gchar *title);
+
+gboolean gtk_combo_box_get_focus_on_click (GtkComboBox *combo);
+void gtk_combo_box_set_focus_on_click (GtkComboBox *combo,
+ gboolean focus_on_click);
+
/* get/set active item */
gint gtk_combo_box_get_active (GtkComboBox *combo_box);
void gtk_combo_box_set_active (GtkComboBox *combo_box,