[gtk/ebassi/gidocgen: 189/500] entry: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 189/500] entry: Add property annotations
- Date: Thu, 11 Mar 2021 16:48:08 +0000 (UTC)
commit 7803a09f313fdcd6f95368eefca382af545f30d8
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 3389f70a12..06f12c24d9 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]