GOffice.ComboBox¶
- Subclasses:
GOffice.CalendarButton
,GOffice.ComboColor
,GOffice.ComboPixmaps
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Whether to show an arrow for the combo |
||
r/w |
The combo box’s title |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Name |
Type |
Default |
Flags |
Short Description |
---|---|---|---|---|
|
r |
Whether dropdowns should have a tearoff menu item |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
hbox |
r |
Class Details¶
- class GOffice.ComboBox(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- construct(display_widget, popdown_container, popdown_focus)¶
- Parameters:
display_widget (
Gtk.Widget
) –popdown_container (
Gtk.Widget
) –popdown_focus (
Gtk.Widget
) –
- popup_display()¶
- popup_hide()¶
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.
- set_display(display_widget)¶
- Parameters:
display_widget (
Gtk.Widget
) – The widget to be displayed
Sets the displayed widget for the combo_box to be display_widget
- set_relief(relief)¶
- Parameters:
relief (
Gtk.ReliefStyle
) –
- set_tearable(tearable)¶
- Parameters:
tearable (
bool
) – whether to allow the self to be tearable
controls whether the combo box’s pop up widget can be torn off.
- set_title(title)¶
- Parameters:
title (
str
) – 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.
- set_tooltip(tips, text, priv_text)¶
- do_pop_down_done(w) virtual¶
- Parameters:
w (
Gtk.Widget
) –- Return type:
Signal Details¶
- GOffice.ComboBox.signals.pop_down_done(combo_box, object)¶
- Signal Name:
pop-down-done
- Flags:
- Parameters:
combo_box (
GOffice.ComboBox
) – The object which received the signalobject (
GObject.Object
) –
- Return type:
Property Details¶
- GOffice.ComboBox.props.show_arrow¶
-
Whether to show an arrow for the combo