Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.AttrList |
Struct : | AttrList |
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 | |
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 |
---|---|
Champlain.Label
Method |
set_attributes
(AttrList list)
:
none
|
Clutter.Text
Property |
attributes : Pango.AttrList
A list of PangoStyleAttributes to be applied to the
contents of the ClutterText actor. |
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 |
set_attributes
(AttrList attrs)
:
none
Sets the attributes list that are going to be applied to the
ClutterText contents. |
Clutter.Text
Method |
Sets, or unsets, the pre-edit string.
|
Gtk.CellRendererText
Property |
attributes : Pango.AttrList
|
Gtk.IMContext
Method |
get_preedit_string
()
:
Object
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 |
get_attributes
()
:
Pango.AttrList
Gets the attribute list that was set on the label using
gtk_label_set_attributes(), if any. |
Gtk.Label
Method |
set_attributes
(AttrList attrs)
:
none
Sets a PangoAttrList; the attributes in the list are applied to the
label text. |
Pango.Layout
Method |
get_attributes
()
:
Pango.AttrList
Gets the attribute list for the layout, if any.
|
Pango.Layout
Method |
set_attributes
(AttrList attrs)
:
none
Sets the text attributes for a layout object.
|