[gtk/ebassi/gidocgen] entry: Add property annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen] entry: Add property annotations
- Date: Thu, 25 Feb 2021 14:54:09 +0000 (UTC)
commit f97e9e658c15589a399ff417c059a599b9f56e8a
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 07:01:43 2021 -0500
entry: Add property annotations
Connect properties, getters, and setters with annotations
gtk/gtkentry.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index e009131221..dfbde53f64 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -2419,7 +2419,7 @@ gtk_entry_get_has_frame (GtkEntry *entry)
}
/**
- * gtk_entry_set_alignment:
+ * gtk_entry_set_alignment: (attributes org.gtk.Method.set_property=alignment)
* @entry: a `GtkEntry`
* @xalign: The horizontal alignment, from 0 (left) to 1 (right).
* Reversed for RTL layouts
@@ -2443,7 +2443,7 @@ gtk_entry_set_alignment (GtkEntry *entry,
}
/**
- * gtk_entry_get_alignment:
+ * gtk_entry_get_alignment: (attributes org.gtk.Method.get_property=alignment)
* @entry: a `GtkEntry`
*
* Gets the value set by gtk_entry_set_alignment().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]