Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.AttrList |
Struct : | AttrList |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Pango.AttrList.c_new
()
:
Pango.AttrList
Create a new Pango.AttrList
Create a new Pango.AttrList
|
||
change
(Attribute attr)
:
none
Insert the given attribute into the PangoAttrList.
Insert the given attribute into the PangoAttrList. It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical. This function is slower than pango_attr_list_insert() for creating a attribute list in order (potentially much slower for large lists). However, pango_attr_list_insert() is not suitable for continually changing a set of attributes since it never removes or combines existing attributes.
|
Pango.AttrList | |
copy
()
:
Pango.AttrList
Copy list and return an identical new list.
Copy list and return an identical new list. reference count of one, which should be freed with pango_attr_list_unref(). Returns NULL if list was NULL.
|
Pango.AttrList | |
Given a PangoAttrList and callback function, removes any elements of list for which func returns TRUE and inserts them into a new list.
Given a PangoAttrList and callback function, removes any elements of list for which func returns TRUE and inserts them into a new list. no attributes of the given types were found.
|
Pango.AttrList | |
get_iterator
()
:
Pango.AttrIterator
Create a iterator initialized to the beginning of the list.
Create a iterator initialized to the beginning of the list. be freed with pango_attr_iterator_destroy().
|
Pango.AttrList | |
insert
(Attribute attr)
:
none
Insert the given attribute into the PangoAttrList.
Insert the given attribute into the PangoAttrList. It will be inserted after all other attributes with a matching
|
Pango.AttrList | |
insert_before
(Attribute attr)
:
none
Insert the given attribute into the PangoAttrList.
Insert the given attribute into the PangoAttrList. It will be inserted before all other attributes with a matching
|
Pango.AttrList | |
This function opens up a hole in list, fills it in with attributes from the left, and then merges other on top of the hole.
This function opens up a hole in list, fills it in with attributes from the left, and then merges other on top of the hole. This operation is equivalent to stretching every attribute that applies at position pos in list by an amount len, and then calling pango_attr_list_change() with a copy of each attribute in other in sequence (offset in position by pos). This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer.
|
Pango.AttrList |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Text
Property |
attributes : Pango.AttrList
A list of PangoStyleAttributes to be applied to the contents of the ClutterText actor.
|
Clutter.Text
Method |
set_attributes
(AttrList attrs)
:
none
Sets the attributes list that are going to be applied to the ClutterText contents.
|
Clutter.Text
Method |
get_attributes
()
:
Pango.AttrList
Gets the attribute list that was set on the ClutterText actor clutter_text_set_attributes(), if any.
|
Clutter.Text
Method |
Sets, or unsets, the pre-edit string.
|
Gtk.CellRendererText
Property |
attributes : Pango.AttrList
|
Gtk.IMContext
Method |
Retrieve the current preedit string for the input context, and a list of attributes to apply to the string.
|
Gtk.Label
Property |
attributes : Pango.AttrList
|
Gtk.Label
Method |
set_attributes
(AttrList attrs)
:
none
Sets a PangoAttrList; the attributes in the list are applied to the label text.
|
Gtk.Label
Method |
get_attributes
()
:
Pango.AttrList
Gets the attribute list that was set on the label using gtk_label_set_attributes(), if any.
|
Gtk.TextLayout
Method |
Set the preedit string and attributes.
|
Pango
Method |
Pango.parse_markup
(String markup_text, Number length, Number accel_marker, AttrList attr_list, Array text, Number accel_char)
:
Boolean
Parses marked-up text (see markup format) to create a plain-text string and an attribute list.
|
Pango.GlyphItem
Method |
Splits a shaped item (PangoGlyphItem) into multiple items based on an attribute list.
|
Pango.Layout
Method |
set_attributes
(AttrList attrs)
:
none
Sets the text attributes for a layout object.
|
Pango.Layout
Method |
get_attributes
()
:
Pango.AttrList
Gets the attribute list for the layout, if any.
|