Spinner

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 gtk_spinner_start(), to stop it use gtk_spinner_stop().

Constructors

this
this(GtkSpinner* gtkSpinner)

Sets our main struct and passes it to the parent class

this
this()

Returns a new spinner widget. Not yet started. Since 2.20

Members

Functions

getSpinnerStruct
GtkSpinner* getSpinnerStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()

Starts the animation of the spinner. Since 2.20

stop
void stop()

Stops the animation of the spinner. Since 2.20

Variables

gtkSpinner
GtkSpinner* gtkSpinner;

the main Gtk struct

Inherited Members

From DrawingArea

gtkDrawingArea
GtkDrawingArea* gtkDrawingArea;

the main Gtk struct

getDrawingAreaStruct
GtkDrawingArea* getDrawingAreaStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
size
void size(int width, int height)

Warning gtk_drawing_area_size is deprecated and should not be used in newly-written code. Use gtk_widget_set_size_request() instead. Sets the size that the drawing area will request in response to a "size_request" signal. The drawing area may actually be allocated a size larger than this depending on how it is packed within the enclosing containers.

Meta