Commit e75601c0 authored by Sébastien Wilmet's avatar Sébastien Wilmet

docs: improve the documentation of GtkEntry:attributes

See the implementation of gtk_entry_create_layout():
pango_attr_list_splice() is used to add the PangoAttrList of the preedit
string. And that is done *after* applying the PangoAttrList of the
"attributes" property.

https://bugzilla.gnome.org/show_bug.cgi?id=776868
parent 7960e941
......@@ -1473,6 +1473,9 @@ gtk_entry_class_init (GtkEntryClass *class)
*
* This is mainly useful to change the size or weight of the text.
*
* The #PangoAttribute's @start_index and @end_index must refer to the
* #GtkEntryBuffer text, i.e. without the preedit string.
*
* Since: 3.6
*/
entry_props[PROP_ATTRIBUTES] =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment