| Libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
#include <libxfce4panel/libxfce4panel.h>
XfceArrowButton;
GtkWidget * xfce_arrow_button_new (GtkArrowType type);
void xfce_arrow_button_set_arrow_type (XfceArrowButton *button,
GtkArrowType type);
GtkArrowType xfce_arrow_button_get_arrow_type (XfceArrowButton *button);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GtkToggleButton
+----XfceArrowButton
XfceArrowButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.
Toggle button with arrow. The arrow direction will be inverted when the button is toggled.
typedef struct _XfceArrowButton XfceArrowButton;
The XfceArrowButton struct contains private data only, and should be accessed using the functions below.
GtkWidget * xfce_arrow_button_new (GtkArrowType type);
Creates a new XfceArrowButton widget.
|
GtkArrowType for the arrow button |
Returns : |
The newly created XfceArrowButton widget. |
void xfce_arrow_button_set_arrow_type (XfceArrowButton *button, GtkArrowType type);
Sets the arrow type for button.
|
a XfceArrowButton |
|
a valid GtkArrowType |
GtkArrowType xfce_arrow_button_get_arrow_type (XfceArrowButton *button);
Returns the value of the ::arrow-type property.
|
a XfceArrowButton |
Returns : |
the GtkArrowType of button.
|
"arrow-type-changed" signalvoid user_function (XfceArrowButton *button, GtkArrowType type, gpointer user_data) : Run First
Emitted when the arrow direction of the menu button changes. This value also determines the direction of the popup menu.
|
the object which emitted the signal |
|
the new GtkArrowType of the button |
|
user data set when the signal handler was connected. |