[gtk/ebassi/gidocgen: 173/501] infobar: Add property annotations




commit 325f5254fcc86c4314ca48f3eb1940b3b1bfce03
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 24 21:57:15 2021 -0500

    infobar: Add property annotations
    
    Connect properties, getters, and setters with annotations.

 gtk/gtkinfobar.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 05ad893e18..e910597ab9 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -346,7 +346,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
   klass->close = gtk_info_bar_close;
 
   /**
-   * GtkInfoBar:message-type:
+   * GtkInfoBar:message-type: (attributes org.gtk.Property.get=gtk_info_bar_get_message_type 
org.gtk.Property.set=gtk_info_bar_set_message_type)
    *
    * The type of the message.
    *
@@ -361,7 +361,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
                        GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GtkInfoBar:show-close-button:
+   * GtkInfoBar:show-close-button: (attributes org.gtk.Property.get=gtk_info_bar_get_show_close_button 
org.gtk.Property.set=gtk_info_bar_set_show_close_button)
    *
    * Whether to include a standard close button.
    */
@@ -373,7 +373,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
                           GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GtkInfoBar:revealed:
+   * GtkInfoBar:revealed: (attributes org.gtk.Property.get=gtk_info_bar_get_revealed 
org.gtk.Property.set=gtk_info_bar_set_revealed)
    *
    * Whether the info bar shows its contents.
    */
@@ -1070,7 +1070,7 @@ gtk_info_bar_buildable_add_child (GtkBuildable *buildable,
 }
 
 /**
- * gtk_info_bar_set_message_type:
+ * gtk_info_bar_set_message_type: (attributes org.gtk.Method.set_property=message-type)
  * @info_bar: a `GtkInfoBar`
  * @message_type: a #GtkMessageType
  *
@@ -1109,7 +1109,7 @@ gtk_info_bar_set_message_type (GtkInfoBar     *info_bar,
 }
 
 /**
- * gtk_info_bar_get_message_type:
+ * gtk_info_bar_get_message_type: (attributes org.gtk.Method.get_property=message-type)
  * @info_bar: a `GtkInfoBar`
  *
  * Returns the message type of the message area.
@@ -1126,7 +1126,7 @@ gtk_info_bar_get_message_type (GtkInfoBar *info_bar)
 
 
 /**
- * gtk_info_bar_set_show_close_button:
+ * gtk_info_bar_set_show_close_button: (attributes org.gtk.Method.set_property=show-close-button)
  * @info_bar: a `GtkInfoBar`
  * @setting: %TRUE to include a close button
  *
@@ -1148,7 +1148,7 @@ gtk_info_bar_set_show_close_button (GtkInfoBar *info_bar,
 }
 
 /**
- * gtk_info_bar_get_show_close_button:
+ * gtk_info_bar_get_show_close_button: (attributes org.gtk.Method.get_property=show-close-button)
  * @info_bar: a `GtkInfoBar`
  *
  * Returns whether the widget will display a standard close button.
@@ -1164,7 +1164,7 @@ gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar)
 }
 
 /**
- * gtk_info_bar_set_revealed:
+ * gtk_info_bar_set_revealed: (attributes org.gtk.Method.set_property=revealed)
  * @info_bar: a `GtkInfoBar`
  * @revealed: The new value of the property
  *
@@ -1191,7 +1191,7 @@ gtk_info_bar_set_revealed (GtkInfoBar *info_bar,
 }
 
 /**
- * gtk_info_bar_get_revealed:
+ * gtk_info_bar_get_revealed: (attributes org.gtk.Method.get_property=revealed)
  * @info_bar: a `GtkInfoBar`
  *
  * Returns whether the info bar is currently revealed.


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