|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
                    GOComboBox;
#define             GO_TYPE_COMBO_BOX
#define             GO_COMBO_BOX                        (o)
#define             GO_IS_COMBO_BOX                     (o)
#define             GO_COMBO_BOX_CLASS                  (k)
                    GOComboBoxPrivate;
GType               go_combo_box_get_type               (void);
void                go_combo_box_set_tooltip            (GOComboBox *combo,
                                                         void *tips,
                                                         char const *text,
                                                         char const *priv_text);
void                go_combo_box_set_relief             (GOComboBox *combo,
                                                         GtkReliefStyle relief);
void                go_combo_box_set_title              (GOComboBox *combo,
                                                         char const *title);
char const *        go_combo_box_get_title              (GOComboBox *combo);
void                go_combo_box_set_tearable           (GOComboBox *combo,
                                                         gboolean tearable);
void                go_combo_box_construct              (GOComboBox *combo,
                                                         GtkWidget *display_widget,
                                                         GtkWidget *popdown_container,
                                                         GtkWidget *popdown_focus);
void                go_combo_box_get_pos                (GOComboBox *combo,
                                                         int *x,
                                                         int *y);
void                go_combo_box_popup_hide             (GOComboBox *combo);
void                go_combo_box_popup_display          (GOComboBox *combo);
void                go_combo_box_set_display            (GOComboBox *combo,
                                                         GtkWidget *display_widget);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GOComboBox +----GOComboPixmaps +----GOComboColor +----GOCalendarButton +----GOComboText
#define GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_COMBO_BOX, GOComboBox)
| 
 | 
#define GO_IS_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_COMBO_BOX)
| 
 | 
#define GO_COMBO_BOX_CLASS(k) G_TYPE_CHECK_CLASS_CAST ((k), GO_TYPE_COMBO_BOX, GOComboBoxClass)
| 
 | 
void go_combo_box_set_tooltip (GOComboBox *combo, void *tips, char const *text, char const *priv_text);
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void go_combo_box_set_relief (GOComboBox *combo, GtkReliefStyle relief);
| 
 | |
| 
 | 
void go_combo_box_set_title (GOComboBox *combo, char const *title);
Set a title to display over the tearoff window.
FIXME:
This should really change the title even when the popup is already torn off. I guess the tearoff window could attach a listener to title change or something. But I don't think we need the functionality, so I didn't bother to investigate.
MW: Just make it a property.
| 
 | Combo box | 
| 
 | Title | 
char const * go_combo_box_get_title (GOComboBox *combo);
| 
 | |
| Returns : | 
void go_combo_box_set_tearable (GOComboBox *combo, gboolean tearable);
controls whether the combo box's pop up widget can be torn off.
| 
 | Combo box | 
| 
 | whether to allow the comboto be tearable | 
void go_combo_box_construct (GOComboBox *combo, GtkWidget *display_widget, GtkWidget *popdown_container, GtkWidget *popdown_focus);
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void go_combo_box_get_pos (GOComboBox *combo, int *x, int *y);
| 
 | |
| 
 | |
| 
 | 
void go_combo_box_popup_hide (GOComboBox *combo);
Hides popup, but not when it is torn off. This is the external interface - for subclasses and apps which expect a regular combo which doesn't do tearoffs.
| 
 | a GOComboBox | 
void go_combo_box_set_display (GOComboBox *combo, GtkWidget *display_widget);
Sets the displayed widget for the combo_box to be display_widget
| 
 | the GOComboBox to modify | 
| 
 | The widget to be displayed | 
"pop-down-done" signalgboolean user_function (GOComboBox *gocombobox, GObject *arg1, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | user data set when the signal handler was connected. | 
| Returns : |