[gtk/ebassi/gidocgen] immulticontext: Convert docs



commit df3354dcb884a02081211134e1a0d130ba9e54b4
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 1 01:49:20 2021 -0500

    immulticontext: Convert docs

 gtk/gtkimmulticontext.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 75a70c3f0d..f36a7eed52 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -30,9 +30,14 @@
 
 
 /**
- * SECTION:gtkimmulticontext
- * @Short_description: An input method context supporting multiple, loadable input methods
- * @Title: GtkIMMulticontext
+ * GtkIMMulticontext:
+ *
+ * `GtkIMMulticontext` is input method supporting multiple, switchable input
+ * methods.
+ *
+ * Text widgets such as `GtkText` or `GtkTextView` use a `GtkIMMultiContext`
+ * to implement their `im-module` property for switching between different
+ * input methods.
  */
 
 
@@ -141,10 +146,10 @@ gtk_im_multicontext_init (GtkIMMulticontext *multicontext)
 /**
  * gtk_im_multicontext_new:
  *
- * Creates a new #GtkIMMulticontext.
+ * Creates a new `GtkIMMulticontext`.
  *
- * Returns: a new #GtkIMMulticontext.
- **/
+ * Returns: a new `GtkIMMulticontext`.
+ */
 GtkIMContext *
 gtk_im_multicontext_new (void)
 {
@@ -549,7 +554,7 @@ gtk_im_multicontext_delete_surrounding_cb (GtkIMContext      *delegate,
 
 /**
  * gtk_im_multicontext_get_context_id:
- * @context: a #GtkIMMulticontext
+ * @context: a `GtkIMMulticontext`
  *
  * Gets the id of the currently active delegate of the @context.
  *
@@ -570,8 +575,8 @@ gtk_im_multicontext_get_context_id (GtkIMMulticontext *context)
 
 /**
  * gtk_im_multicontext_set_context_id:
- * @context: a #GtkIMMulticontext
- * @context_id: the id to use 
+ * @context: a `GtkIMMulticontext`
+ * @context_id: the id to use
  *
  * Sets the context id for @context.
  *


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