[gtk/ebassi/docs-fixes] docs: Add blurb for GtkEditableProperties.



commit c4b2fe6ee5753280298fe3987a2da13f44d9dc61
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Nov 16 13:50:52 2021 +0000

    docs: Add blurb for GtkEditableProperties.

 gtk/gtkeditable.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h
index c945bcb499..7646ba1584 100644
--- a/gtk/gtkeditable.h
+++ b/gtk/gtkeditable.h
@@ -146,6 +146,23 @@ void     gtk_editable_set_enable_undo      (GtkEditable *editable,
 
 /* api for implementations */
 
+/**
+ * GtkEditableProperties:
+ * @GTK_EDITABLE_PROP_TEXT: the property id for [property@Gtk.Editable:text]
+ * @GTK_EDITABLE_PROP_CURSOR_POSITION: the property id for [property@Gtk.Editable:cursor-position]
+ * @GTK_EDITABLE_PROP_SELECTION_BOUND: the property id for [property@Gtk.Editable:selection-bound]
+ * @GTK_EDITABLE_PROP_EDITABLE: the property id for [property@Gtk.Editable:editable]
+ * @GTK_EDITABLE_PROP_WIDTH_CHARS: the property id for [property@Gtk.Editable:width-chars]
+ * @GTK_EDITABLE_PROP_MAX_WIDTH_CHARS: the property id for [property@Gtk.Editable:max-width-chars]
+ * @GTK_EDITABLE_PROP_XALIGN: the property id for [property@Gtk.Editable:xalign]
+ * @GTK_EDITABLE_PROP_ENABLE_UNDO: the property id for [property@Gtk.Editable:enable-undo]
+ * @GTK_EDITABLE_NUM_PROPERTIES: the number of properties
+ *
+ * The identifiers for [iface@Gtk.Editable] properties.
+ *
+ * See [func@Gtk.Editable.install_properties] for details on how to
+ * implement the `GtkEditable` interface.
+ */
 typedef enum {
   GTK_EDITABLE_PROP_TEXT,
   GTK_EDITABLE_PROP_CURSOR_POSITION,


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