Top |
GtkWidget * | hdy_arrows_new () |
guint | hdy_arrows_get_count () |
void | hdy_arrows_set_count () |
void | hdy_arrows_set_direction () |
HdyArrowsDirection | hdy_arrows_get_direction () |
void | hdy_arrows_set_duration () |
guint | hdy_arrows_get_duration () |
void | hdy_arrows_animate () |
guint | count | Read / Write |
HdyArrowsDirection | direction | Read / Write |
guint | duration | Read / Write |
GEnum ╰── HdyArrowsDirection GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── HdyArrows
The HdyArrows widget displays arrows indicating a swiping direction.
An animation is run when the widget is mapped or then hdy_arrows_animate()
is invoked.
guint
hdy_arrows_get_count (HdyArrows *self
);
Get the number of arrows displayed in the widget.
void hdy_arrows_set_count (HdyArrows *self
,guint count
);
Set the number of arrows to display.
void hdy_arrows_set_direction (HdyArrows *self
,HdyArrowsDirection direction
);
Set the direction the arrows should point to.
HdyArrowsDirection
hdy_arrows_get_direction (HdyArrows *self
);
Get the direction the arrows point to
void hdy_arrows_set_duration (HdyArrows *self
,guint duration
);
Set the duration of the arrow animation.
guint
hdy_arrows_get_duration (HdyArrows *self
);
Get the duration of the arrows animation.
“count”
property “count” guint
Number of arrows to display.
Owner: HdyArrows
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“direction”
property“direction” HdyArrowsDirection
Direction the arrows should point to.
Owner: HdyArrows
Flags: Read / Write
Default value: HDY_ARROWS_DIRECTION_UP