[gtk/ebassi/gidocgen: 251/483] windowhandle: Convert docs




commit 6cd365a83a55098c78b4d23bdc39430d5495cb43
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 27 10:56:00 2021 -0500

    windowhandle: Convert docs

 gtk/gtkwindowhandle.c | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)
---
diff --git a/gtk/gtkwindowhandle.c b/gtk/gtkwindowhandle.c
index a4265df7c7..6b49fcb2d2 100644
--- a/gtk/gtkwindowhandle.c
+++ b/gtk/gtkwindowhandle.c
@@ -38,22 +38,20 @@
 
 
 /**
- * SECTION:gtkwindowhandle
- * @Short_description: A titlebar area widget
- * @Title: GtkWindowHandle
- * @See_also: #GtkWindow, #GtkHeaderBar
+ * GtkWindowHandle:
  *
- * GtkWindowHandle is a titlebar area widget. When added into a window, it can
- * be dragged to move the window, and handles right click, double click and
- * middle click as expected of a titlebar.
+ * `GtkWindowHandle` is a titlebar area widget.
+ *
+ * When added into a window, it can be dragged to move the window, and handles
+ * right click, double click and middle click as expected of a titlebar.
  *
  * # CSS nodes
  *
- * #GtkWindowHandle has a single CSS node with the name `windowhandle`.
+ * `GtkWindowHandle` has a single CSS node with the name `windowhandle`.
  *
  * # Accessibility
  *
- * GtkWindowHandle uses the %GTK_ACCESSIBLE_ROLE_GROUP role.
+ * `GtkWindowHandle` uses the %GTK_ACCESSIBLE_ROLE_GROUP role.
  */
 
 struct _GtkWindowHandle {
@@ -497,6 +495,11 @@ gtk_window_handle_class_init (GtkWindowHandleClass *klass)
 
   widget_class->unrealize = gtk_window_handle_unrealize;
 
+  /**
+   * GtkWindowHandle:child: (attributes org.gtk.Property.get=gtk_window_handle_get_child 
org.gtk.Property.set=gtk_window_handle_set_child)
+   *
+   * The child widget.
+   */
   props[PROP_CHILD] =
       g_param_spec_object ("child",
                            P_("Child"),
@@ -551,10 +554,10 @@ gtk_window_handle_buildable_iface_init (GtkBuildableIface *iface)
 /**
  * gtk_window_handle_new:
  *
- * Creates a new #GtkWindowHandle.
+ * Creates a new `GtkWindowHandle`.
  *
- * Returns: a new #GtkWindowHandle.
- **/
+ * Returns: a new `GtkWindowHandle`.
+ */
 GtkWidget *
 gtk_window_handle_new (void)
 {
@@ -562,8 +565,8 @@ gtk_window_handle_new (void)
 }
 
 /**
- * gtk_window_handle_get_child:
- * @self: a #GtkWindowHandle
+ * gtk_window_handle_get_child: (attributes org.gtk.Method.get_property=child)
+ * @self: a `GtkWindowHandle`
  *
  * Gets the child widget of @self.
  *
@@ -578,8 +581,8 @@ gtk_window_handle_get_child (GtkWindowHandle *self)
 }
 
 /**
- * gtk_window_handle_set_child:
- * @self: a #GtkWindowHandle
+ * gtk_window_handle_set_child: (attributes org.gtk.Method.set_property=child)
+ * @self: a `GtkWindowHandle`
  * @child: (allow-none): the child widget
  *
  * Sets the child widget of @self.


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