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/gtkhbox.h>
00028 #include <gtk/gtktooltips.h>
00029
00030 G_BEGIN_DECLS
00031
00032 #define GO_COMBO_BOX_TYPE (go_combo_box_get_type())
00033 #define GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_CAST ((o), GO_COMBO_BOX_TYPE, GOComboBox)
00034 #define IS_GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_COMBO_BOX_TYPE)
00035 #define GO_COMBO_BOX_CLASS(k) G_TYPE_CHECK_CLASS_CAST ((k), GO_COMBO_BOX_TYPE, GOComboBoxClass)
00036
00037 typedef struct _GOComboBox GOComboBox;
00038 typedef struct _GOComboBoxPrivate GOComboBoxPrivate;
00039 typedef struct _GOComboBoxClass GOComboBoxClass;
00040
00041 struct _GOComboBox {
00042 GtkHBox hbox;
00043 GOComboBoxPrivate *priv;
00044 };
00045
00046 struct _GOComboBoxClass {
00047 GtkHBoxClass base;
00048
00049
00050 void (*set_title) (GOComboBox *cbox, char const *title);
00051
00052
00053
00054 gboolean (*pop_down_done) (GOComboBox *cbox, GtkWidget *);
00055 };
00056
00057
00058 GType go_combo_box_get_type (void);
00059 void go_combo_box_set_tooltip_text (GOComboBox *combo, char const *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