[gtk/ebassi/gidocgen: 188/481] colorbutton: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 188/481] colorbutton: Add property annotations
- Date: Sun, 7 Mar 2021 23:55:08 +0000 (UTC)
commit 130bb096731526f4114d99afa583ea93824c0b44
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 18:22:09 2021 -0500
colorbutton: Add property annotations
Connect properties, getters, and setters with annotations
gtk/gtkcolorbutton.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 82ae315aa4..f3334599fa 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -160,7 +160,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_override_property (gobject_class, PROP_USE_ALPHA, "use-alpha");
/**
- * GtkColorButton:title:
+ * GtkColorButton:title: (attributes org.gtk.Property.get=gtk_color_button_get_title
org.gtk.Property.set=gtk_color_button_set_title)
*
* The title of the color chooser dialog
*/
@@ -211,7 +211,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
- * GtkColorButton:modal:
+ * GtkColorButton:modal: (attributes org.gtk.Property.get=gtk_color_button_get_modal
org.gtk.Property.set=gtk_color_button_set_modal)
*
* Whether the color chooser dialog should be modal.
*/
@@ -528,7 +528,7 @@ set_use_alpha (GtkColorButton *button,
}
/**
- * gtk_color_button_set_title:
+ * gtk_color_button_set_title: (attributes org.gtk.Method.set_property=title)
* @button: a `GtkColorButton`
* @title: String containing new window title
*
@@ -553,7 +553,7 @@ gtk_color_button_set_title (GtkColorButton *button,
}
/**
- * gtk_color_button_get_title:
+ * gtk_color_button_get_title: (attributes org.gtk.Method.get_property=title)
* @button: a `GtkColorButton`
*
* Gets the title of the color chooser dialog.
@@ -569,7 +569,7 @@ gtk_color_button_get_title (GtkColorButton *button)
}
/**
- * gtk_color_button_set_modal:
+ * gtk_color_button_set_modal: (attributes org.gtk.Method.set_property=modal)
* @button: a `GtkColorButton`
* @modal: %TRUE to make the dialog modal
*
@@ -593,7 +593,7 @@ gtk_color_button_set_modal (GtkColorButton *button,
}
/**
- * gtk_color_button_get_modal:
+ * gtk_color_button_get_modal: (attributes org.gtk.Method.get_property=modal)
* @button: a `GtkColorButton`
*
* Gets whether the dialog is modal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]