GtkSpinner: GtkSpinner

Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Properties Style Properties Author(s) References

Description

Show a spinner animation

Methods and Functions

gtkSpinnerNew(show = TRUE)
gtkSpinnerStart(object)
gtkSpinnerStop(object)
gtkSpinner(show = TRUE)

Hierarchy

1
2
3
4
5
6
GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkDrawingArea
                           +----GtkSpinner

Interfaces

GtkSpinner implements AtkImplementorIface and GtkBuildable.

Detailed Description

A GtkSpinner widget displays an icon-size spinning animation. It is often used as an alternative to a GtkProgressBar for displaying indefinite activity, instead of actual progress.

To start the animation, use gtkSpinnerStart, to stop it use gtkSpinnerStop.

Structures

GtkSpinner

undocumented

Convenient Construction

gtkSpinner is the equivalent of gtkSpinnerNew.

Properties

active [logical : Read / Write]

Whether the spinner is active. Default value: FALSE

Style Properties

cycle-duration [numeric : Read]

The duration in milliseconds for the spinner to complete a full cycle. Allowed values: >= 500 Default value: 1000 Since 2.20

num-steps [numeric : Read]

The number of steps for the spinner to complete a full loop. The animation will complete a full cycle in one second by default (see the "cycle-duration" style property). Allowed values: >= 1 Default value: 12 Since 2.20

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gtk2/stable/GtkSpinner.html


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to GtkSpinner in RGtk2...