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 () |
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.
GtkWidget *
hdy_arrows_new (void
);
hdy_arrows_new
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Create a new HdyArrows widget.
guint
hdy_arrows_get_count (HdyArrows *self
);
hdy_arrows_get_count
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Get the number of arrows displayed in the widget.
void hdy_arrows_set_count (HdyArrows *self
,guint count
);
hdy_arrows_set_count
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Set the number of arrows to display.
void hdy_arrows_set_direction (HdyArrows *self
,HdyArrowsDirection direction
);
hdy_arrows_set_direction
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Set the direction the arrows should point to.
HdyArrowsDirection
hdy_arrows_get_direction (HdyArrows *self
);
hdy_arrows_get_direction
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Get the direction the arrows point to
void hdy_arrows_set_duration (HdyArrows *self
,guint duration
);
hdy_arrows_set_duration
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Set the duration of the arrow animation.
guint
hdy_arrows_get_duration (HdyArrows *self
);
hdy_arrows_get_duration
has been deprecated since version 0.0.12 and should not be used in newly-written code.
Use e.g. GtkImage and CSS animation instead
Get the duration of the arrows animation.
HdyArrowsDirection
is deprecated and should not be used in newly-written code.
“count”
property“count” guint
Number of arrows to display.
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“direction”
property“direction” HdyArrowsDirection
Direction the arrows should point to.
Flags: Read / Write
Default value: HDY_ARROWS_DIRECTION_UP
“duration”
property“duration” guint
The duration of the arrow animation in milliseconds.
Flags: Read / Write
Default value: 1000