X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkcomboboxtext.h;h=c31c9c2231a7b1759dfe45c566f7944c93dac2c5;hb=1074aa0c49f647ed4b2a969618051c59da5aad01;hp=50ebcb501cc8965107ec5607cd7ecb49859b3030;hpb=7651c231e0c6295e8aaa8de23931004ddfdd288b;p=~andy%2Fgtk diff --git a/gtk/gtkcomboboxtext.h b/gtk/gtkcomboboxtext.h index 50ebcb501..c31c9c223 100644 --- a/gtk/gtkcomboboxtext.h +++ b/gtk/gtkcomboboxtext.h @@ -16,13 +16,13 @@ * License along with this library. If not, see . */ +#ifndef __GTK_COMBO_BOX_TEXT_H__ +#define __GTK_COMBO_BOX_TEXT_H__ + #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_COMBO_BOX_TEXT_H__ -#define __GTK_COMBO_BOX_TEXT_H__ - #include G_BEGIN_DECLS @@ -40,7 +40,7 @@ typedef struct _GtkComboBoxTextClass GtkComboBoxTextClass; struct _GtkComboBoxText { - /* */ + /*< private >*/ GtkComboBox parent_instance; GtkComboBoxTextPrivate *priv; @@ -72,6 +72,16 @@ void gtk_combo_box_text_remove (GtkComboBoxText *combo_box void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box); gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box); +void gtk_combo_box_text_insert (GtkComboBoxText *combo_box, + gint position, + const gchar *id, + const gchar *text); +void gtk_combo_box_text_append (GtkComboBoxText *combo_box, + const gchar *id, + const gchar *text); +void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box, + const gchar *id, + const gchar *text); G_END_DECLS