Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkButton ╰── GtkToggleButton ╰── XfceArrowButton
XfceArrowButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.
Toggle button with (optional) arrow. The arrow direction will be
inverted when the button is toggled.
Since 4.8 it is also possible to make the button blink and pack additional
widgets in the button, using gtk_container_add()
.
GtkWidget *
xfce_arrow_button_new (GtkArrowType arrow_type
);
Creates a new XfceArrowButton widget.
GtkArrowType
xfce_arrow_button_get_arrow_type (XfceArrowButton *button
);
Returns the value of the ::arrow-type property.
void xfce_arrow_button_set_arrow_type (XfceArrowButton *button
,GtkArrowType arrow_type
);
Sets the arrow type for button
.
gboolean
xfce_arrow_button_get_blinking (XfceArrowButton *button
);
Whether the button is blinking. If the blink timeout is finished
and the button is still highlighted, this functions returns FALSE
.
Since: 4.8
void xfce_arrow_button_set_blinking (XfceArrowButton *button
,gboolean blinking
);
Make the button blink.
Since: 4.8
“arrow-type”
property“arrow-type” GtkArrowType
The arrow type of the button. This value also determines the direction of the popup menu.
Flags: Read / Write
Default value: GTK_ARROW_UP
“arrow-type-changed”
signalvoid user_function (XfceArrowButton *button, GtkArrowType type, gpointer user_data)
Emitted when the arrow direction of the menu button changes. This value also determines the direction of the popup menu.
button |
the object which emitted the signal |
|
type |
the new GtkArrowType of the button |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last