[gtk/ebassi/gidocgen: 181/483] passwordentry: Add property annotations




commit 4b60a669447744a5e1e90bb3d7c1e4c6d43da3a5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 25 11:03:03 2021 -0500

    passwordentry: Add property annotations
    
    Connect properties, getters, and setters with annotations

 gtk/gtkpasswordentry.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index b1b6042533..f267325cba 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -458,7 +458,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GtkPasswordEntry:show-peek-icon:
+   * GtkPasswordEntry:show-peek-icon: (attributes org.gtk.Property.get=gtk_password_entry_get_show_peek_icon 
org.gtk.Property.set=gtk_password_entry_set_show_peek_icon)
    *
    * Whether to show an icon for revealing the content.
    */
@@ -470,7 +470,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GtkPasswordEntry:extra-menu:
+   * GtkPasswordEntry:extra-menu: (attributes org.gtk.Property.get=gtk_password_entry_get_extra_menu 
org.gtk.Property.set=gtk_password_entry_set_extra_menu)
    *
    * A menu model whose contents will be appended to
    * the context menu.
@@ -575,7 +575,7 @@ gtk_password_entry_new (void)
 }
 
 /**
- * gtk_password_entry_set_show_peek_icon:
+ * gtk_password_entry_set_show_peek_icon: (attributes org.gtk.Method.set_property=show-peek-icon)
  * @entry: a `GtkPasswordEntry`
  * @show_peek_icon: whether to show the peek icon
  *
@@ -628,7 +628,7 @@ gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry,
 }
 
 /**
- * gtk_password_entry_get_show_peek_icon:
+ * gtk_password_entry_get_show_peek_icon: (attributes org.gtk.Method.get_property=show-peek-icon)
  * @entry: a `GtkPasswordEntry`
  *
  * Returns whether the entry is showing an icon to
@@ -645,7 +645,7 @@ gtk_password_entry_get_show_peek_icon (GtkPasswordEntry *entry)
 }
 
 /**
- * gtk_password_entry_set_extra_menu:
+ * gtk_password_entry_set_extra_menu: (attributes org.gtk.Method.set_property=extra-menu)
  * @entry: a `GtkPasswordEntry`
  * @model: (allow-none): a `GMenuModel`
  *
@@ -691,7 +691,7 @@ gtk_password_entry_set_extra_menu (GtkPasswordEntry *entry,
 }
 
 /**
- * gtk_password_entry_get_extra_menu:
+ * gtk_password_entry_get_extra_menu: (attributes org.gtk.Method.get_property=extra-menu)
  * @entry: a `GtkPasswordEntry`
  *
  * Gets the menu model set with gtk_password_entry_set_extra_menu().


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