summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-08-04 23:40:36 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-08-04 23:40:36 +0000
commit7d85757776f42ce6214b617d4cc42eb9fcbd3e4a (patch)
tree077c66d300c91ca43f0816813ff3f765a7eb9d93 /gtk/gtkcombobox.h
parentb97d6816c892a4124668b3d67f5910a39f15ea40 (diff)
downloadgtk+-7d85757776f42ce6214b617d4cc42eb9fcbd3e4a.tar.gz
Bug 382291 – Automatically dim the combobox when the model is empty
2008-08-04 Matthias Clasen <mclasen@redhat.com> Bug 382291 – Automatically dim the combobox when the model is empty * gtk/gtk.symbols: * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity property with getter and setter to control the sensitity of empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg, Christian Dywan and others. * README.in: Add a note about automatic combobox sensitivity. svn path=/trunk/; revision=20997
Diffstat (limited to 'gtk/gtkcombobox.h')
-rw-r--r--gtk/gtkcombobox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h
index cc93415a0c..1da1562b19 100644
--- a/gtk/gtkcombobox.h
+++ b/gtk/gtkcombobox.h
@@ -114,6 +114,10 @@ void gtk_combo_box_set_row_separator_func (GtkComboBox
gpointer data,
GDestroyNotify destroy);
+void gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box,
+ GtkSensitivityType sensitivity);
+GtkSensitivityType gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box);
+
/* convenience -- text */
GtkWidget *gtk_combo_box_new_text (void);
void gtk_combo_box_append_text (GtkComboBox *combo_box,