Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _GO_COMBO_BOX_H_
00025 #define _GO_COMBO_BOX_H_
00026
00027 #include <gtk/gtk.h>
00028
00029 G_BEGIN_DECLS
00030
00031 #define GO_TYPE_COMBO_BOX (go_combo_box_get_type())
00032 #define GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_COMBO_BOX, GOComboBox)
00033 #define GO_IS_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_COMBO_BOX)
00034 #define GO_COMBO_BOX_CLASS(k) G_TYPE_CHECK_CLASS_CAST ((k), GO_TYPE_COMBO_BOX, GOComboBoxClass)
00035
00036 typedef struct _GOComboBox GOComboBox;
00037 typedef struct _GOComboBoxPrivate GOComboBoxPrivate;
00038 typedef struct _GOComboBoxClass GOComboBoxClass;
00039
00040 struct _GOComboBox {
00041 GtkHBox hbox;
00042 GOComboBoxPrivate *priv;
00043 };
00044
00045 struct _GOComboBoxClass {
00046 GtkHBoxClass base;
00047
00048
00049 void (*set_title) (GOComboBox *cbox, char const *title);
00050
00051
00052
00053 gboolean (*pop_down_done) (GOComboBox *cbox, GtkWidget *);
00054 };
00055
00056
00057 GType go_combo_box_get_type (void);
00058 void go_combo_box_set_tooltip (GOComboBox *combo, void *tips,
00059 char const *text, char const *priv_text);
00060 void go_combo_box_set_relief (GOComboBox *combo, GtkReliefStyle relief);
00061 void go_combo_box_set_title (GOComboBox *combo, char const *title);
00062 char const *go_combo_box_get_title (GOComboBox *combo);
00063 void go_combo_box_set_tearable (GOComboBox *combo, gboolean tearable);
00064
00065
00066 void go_combo_box_construct (GOComboBox *combo,
00067 GtkWidget *display_widget,
00068 GtkWidget *popdown_container,
00069 GtkWidget *popdown_focus);
00070 void go_combo_box_get_pos (GOComboBox *combo, int *x, int *y);
00071 void go_combo_box_popup_hide (GOComboBox *combo);
00072 void go_combo_box_popup_display (GOComboBox *combo);
00073 void go_combo_box_set_display (GOComboBox *combo,
00074 GtkWidget *display_widget);
00075 gboolean _go_combo_is_updating (GOComboBox const *combo);
00076
00077 G_END_DECLS
00078
00079 #endif