Libxfce4panel.ArrowButton¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.ToggleButton (10), Gtk.Button (29), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.ToggleButton (1), Gtk.Button (6), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Actionable (4), Gtk.Activatable (2)
|
Properties¶
- Inherited:
Gtk.ToggleButton (3), Gtk.Button (9), Gtk.Container (3), Gtk.Widget (39), Gtk.Actionable (2), Gtk.Activatable (2)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
The arrow type of the menu button |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.ToggleButton (1), Gtk.Button (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
|---|---|
Emitted when the arrow direction of the menu button changes. |
Fields¶
Class Details¶
- class Libxfce4panel.ArrowButton(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This struct contain private data only and should be accessed by the functions below.
- classmethod new(arrow_type)¶
- Parameters:
arrow_type (
Gtk.ArrowType) –Gtk.ArrowTypefor the arrow button- Returns:
The newly created
Libxfce4panel.ArrowButtonwidget.- Return type:
Creates a new
Libxfce4panel.ArrowButtonwidget.
- get_arrow_type()¶
- Returns:
the
Gtk.ArrowTypeof self.- Return type:
Returns the value of the
::arrow-typeproperty.
- get_blinking()¶
-
Whether the button is blinking. If the blink timeout is finished and the button is still highlighted, this functions returns
True.New in version 4.8.
- set_arrow_type(arrow_type)¶
- Parameters:
arrow_type (
Gtk.ArrowType) – a validGtk.ArrowType
Sets the arrow type for self.
- set_blinking(blinking)¶
- Parameters:
blinking (
bool) –Truewhen the button should start blinking,Falseto stop the blinking.
Make the button blink.
New in version 4.8.
- do_arrow_type_changed(type) virtual¶
- Parameters:
type (
Gtk.ArrowType) –
Signal Details¶
- Libxfce4panel.ArrowButton.signals.arrow_type_changed(arrow_button, type)¶
- Signal Name:
arrow-type-changed- Flags:
- Parameters:
arrow_button (
Libxfce4panel.ArrowButton) – The object which received the signaltype (
Gtk.ArrowType) – the newGtk.ArrowTypeof the button
Emitted when the arrow direction of the menu button changes. This value also determines the direction of the popup menu.
Property Details¶
- Libxfce4panel.ArrowButton.props.arrow_type¶
- Name:
arrow-type- Type:
- Default Value:
- Flags:
The arrow type of the button. This value also determines the direction of the popup menu.