diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-19 15:06:16 -0500 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:37:30 +0000 |
commit | a2e8bd24cad5d10cdab650a062b62611f2eab11e (patch) | |
tree | 43a60fa53afa4023a07945999f9f424ed3be641b /gtk/gtkspinner.c | |
parent | 584e9788408fd0bfdeb3017e6846dfd53fd4c9ec (diff) | |
download | gtk+-a2e8bd24cad5d10cdab650a062b62611f2eab11e.tar.gz |
spinner: Convert docs
Change link syntax and add an example image.
Diffstat (limited to 'gtk/gtkspinner.c')
-rw-r--r-- | gtk/gtkspinner.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c index 3784da40ed..3801bfd852 100644 --- a/gtk/gtkspinner.c +++ b/gtk/gtkspinner.c @@ -47,15 +47,17 @@ * @See_also: #GtkCellRendererSpinner, #GtkProgressBar * * A GtkSpinner widget displays an icon-size spinning animation. - * It is often used as an alternative to a #GtkProgressBar for + * It is often used as an alternative to a [class@Gtk.ProgressBar] for * displaying indefinite activity, instead of actual progress. * - * To start the animation, use gtk_spinner_start(), to stop it - * use gtk_spinner_stop(). + * ![An example GtkSpinner](spinner.png) + * + * To start the animation, use [method@Gtk.Spinner.start], to stop it + * use [method@Gtk.Spinner.stop]. * * # CSS nodes * - * GtkSpinner has a single CSS node with the name spinner. + * `GtkSpinner` has a single CSS node with the name spinner. * When the animation is active, the :checked pseudoclass is * added to this node. */ |