[gtk/ebassi/gidocgen] spinner: Convert docs



commit d7fde0d53fd7862ef74d15a076b3ead6328ab4cc
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 19 15:06:16 2021 -0500

    spinner: Convert docs
    
    Change link syntax and add an example image.

 gtk/gtkspinner.c | 10 ++++++----
 1 file 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.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]