diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-31 13:15:47 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-31 13:15:47 +0000 |
commit | 9713c3394db3e2fbe8bd66f675278bb73999e439 (patch) | |
tree | 317ffbe4bf636a2f9abb86a68734c062f65a116e | |
parent | 9f73f0234ad44a7984b1dd3155a8c91e8e5b9fd6 (diff) | |
parent | fa57b006c9a76dd549571a2f2369717b5fc08812 (diff) | |
download | gtk+-9713c3394db3e2fbe8bd66f675278bb73999e439.tar.gz |
Merge branch 'matthiasc/for-master' into 'master'
editable: Clarify the docs
See merge request GNOME/gtk!3906
-rw-r--r-- | gtk/gtkeditable.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c index c8386afe21..a9517e1c1e 100644 --- a/gtk/gtkeditable.c +++ b/gtk/gtkeditable.c @@ -945,11 +945,15 @@ gtk_editable_set_enable_undo (GtkEditable *editable, * @object_class: a `GObjectClass` * @first_prop: property ID to use for the first property * - * Installs the `GtkEditable` properties for @class. + * Overrides the `GtkEditable` properties for @class. * * This is a helper function that should be called in class_init, * after installing your own properties. * + * Note that your class must have "text", "cursor-position", + * "selection-bound", "editable", "width-chars", "max-width-chars", + * "xalign" and "enable-undo" properties for this function to work. + * * To handle the properties in your set_property and get_property * functions, you can either use [func@Gtk.Editable.delegate_set_property] * and [func@Gtk.Editable.delegate_get_property] (if you are using |