[gtk/ebassi/docs-fixes] docs: Add blurb for GtkEditableProperties.
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/docs-fixes] docs: Add blurb for GtkEditableProperties.
- Date: Tue, 16 Nov 2021 13:51:15 +0000 (UTC)
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]