#include <gtk/gtkhbox.h>
#include <gtk/gtktooltips.h>
Go to the source code of this file.
Classes | |
struct | _GOComboBox |
struct | _GOComboBoxClass |
Defines | |
#define | GO_COMBO_BOX_TYPE (go_combo_box_get_type()) |
#define | GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_CAST ((o), GO_COMBO_BOX_TYPE, GOComboBox) |
#define | IS_GO_COMBO_BOX(o) G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_COMBO_BOX_TYPE) |
#define | GO_COMBO_BOX_CLASS(k) G_TYPE_CHECK_CLASS_CAST ((k), GO_COMBO_BOX_TYPE, GOComboBoxClass) |
Typedefs | |
typedef struct _GOComboBox | GOComboBox |
typedef struct _GOComboBoxPrivate | GOComboBoxPrivate |
typedef struct _GOComboBoxClass | GOComboBoxClass |
Functions | |
GType | go_combo_box_get_type (void) |
void | go_combo_box_set_tooltip_text (GOComboBox *combo, char const *text) |
void | go_combo_box_set_relief (GOComboBox *combo, GtkReliefStyle relief) |
void | go_combo_box_set_title (GOComboBox *combo, char const *title) |
go_combo_box_set_title : Combo box : Title | |
char const * | go_combo_box_get_title (GOComboBox *combo) |
void | go_combo_box_set_tearable (GOComboBox *combo, gboolean tearable) |
go_combo_box_set_tearable: : Combo box : whether to allow the to 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) |
go_combo_box_popup_hide: : a GOComboBox | |
void | go_combo_box_popup_display (GOComboBox *combo) |
void | go_combo_box_set_display (GOComboBox *combo, GtkWidget *display_widget) |
gboolean | _go_combo_is_updating (GOComboBox const *combo) |
#define GO_COMBO_BOX | ( | o | ) | G_TYPE_CHECK_INSTANCE_CAST ((o), GO_COMBO_BOX_TYPE, GOComboBox) |
#define GO_COMBO_BOX_CLASS | ( | k | ) | G_TYPE_CHECK_CLASS_CAST ((k), GO_COMBO_BOX_TYPE, GOComboBoxClass) |
#define GO_COMBO_BOX_TYPE (go_combo_box_get_type()) |
Referenced by go_combo_box_set_title(), and go_combo_color_class_init().
#define IS_GO_COMBO_BOX | ( | o | ) | G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_COMBO_BOX_TYPE) |
typedef struct _GOComboBox GOComboBox |
typedef struct _GOComboBoxClass GOComboBoxClass |
typedef struct _GOComboBoxPrivate GOComboBoxPrivate |
gboolean _go_combo_is_updating | ( | GOComboBox const * | combo | ) |
References _GOComboBox::priv, and _GOComboBoxPrivate::updating_buttons.
Referenced by cb_preview_clicked().
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 | |||
) |
References gtk_widget_get_allocation(), gtk_widget_get_window(), _GOComboBoxPrivate::popup, and _GOComboBox::priv.
Referenced by go_combo_box_popup_display(), and go_combo_popup_tear_off().
char const* go_combo_box_get_title | ( | GOComboBox * | combo | ) |
Referenced by go_combo_popup_tear_off().
GType go_combo_box_get_type | ( | void | ) |
void go_combo_box_popup_display | ( | GOComboBox * | combo | ) |
References do_focus_change(), GO_COMBO_BOX, go_combo_box_get_pos(), go_combo_popup_reparent(), go_combo_tearoff_bg_copy(), gtk_widget_get_window(), _GOComboBoxPrivate::popdown_container, _GOComboBoxPrivate::popup, _GOComboBox::priv, set_arrow_state(), _GOComboBoxPrivate::toplevel, and _GOComboBoxPrivate::torn_off.
Referenced by cb_arrow_pressed(), and cb_preview_clicked().
void go_combo_box_popup_hide | ( | GOComboBox * | combo_box | ) |
go_combo_box_popup_hide: : a GOComboBox
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.
References go_combo_box_popup_hide_unconditional(), go_combo_popup_tear_off(), gtk_widget_get_visible(), _GOComboBox::priv, set_arrow_state(), _GOComboBoxPrivate::toplevel, and _GOComboBoxPrivate::torn_off.
Referenced by cb_proxy_custom_dialog(), emit_color_changed(), and go_combo_box_button_press().
void go_combo_box_set_display | ( | GOComboBox * | combo, | |
GtkWidget * | display_widget | |||
) |
void go_combo_box_set_relief | ( | GOComboBox * | combo, | |
GtkReliefStyle | relief | |||
) |
References _GOComboBoxPrivate::arrow_button, _GOComboBoxPrivate::display_widget, GO_IS_COMBO_BOX, IS_GO_COMBO_BOX, and _GOComboBox::priv.
Referenced by go_combo_box_construct(), and EV_UnixToolbar::synthesize().
void go_combo_box_set_tearable | ( | GOComboBox * | combo, | |
gboolean | tearable | |||
) |
go_combo_box_set_tearable: : Combo box : whether to allow the to be tearable
controls whether the combo box's pop up widget can be torn off.
References go_combo_set_tearoff_state(), GO_IS_COMBO_BOX, IS_GO_COMBO_BOX, _GOComboBox::priv, and _GOComboBoxPrivate::tearable.
Referenced by go_combo_box_construct(), and go_combo_box_style_set().
void go_combo_box_set_title | ( | GOComboBox * | combo, | |
char const * | title | |||
) |
go_combo_box_set_title : Combo box : 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.
References GO_COMBO_BOX_TYPE, GO_TYPE_COMBO_BOX, and _GOComboBoxClass::set_title.
void go_combo_box_set_tooltip_text | ( | GOComboBox * | combo, | |
char const * | text | |||
) |