mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
Merge branch 'matthiasc/for-master' into 'master'
editable: Clarify the docs See merge request GNOME/gtk!3906
This commit is contained in:
commit
9713c3394d
@ -945,11 +945,15 @@ gtk_editable_set_enable_undo (GtkEditable *editable,
|
|||||||
* @object_class: a `GObjectClass`
|
* @object_class: a `GObjectClass`
|
||||||
* @first_prop: property ID to use for the first property
|
* @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,
|
* This is a helper function that should be called in class_init,
|
||||||
* after installing your own properties.
|
* 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
|
* To handle the properties in your set_property and get_property
|
||||||
* functions, you can either use [func@Gtk.Editable.delegate_set_property]
|
* functions, you can either use [func@Gtk.Editable.delegate_set_property]
|
||||||
* and [func@Gtk.Editable.delegate_get_property] (if you are using
|
* and [func@Gtk.Editable.delegate_get_property] (if you are using
|
||||||
|
Loading…
Reference in New Issue
Block a user