[gtk/ebassi/gidocgen: 43/483] spinner: Convert docs
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 43/483] spinner: Convert docs
- Date: Sun, 7 Mar 2021 16:13:09 +0000 (UTC)
commit 3fe298e88c2857b506412fc318461df0f85b644a
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]