Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
pango
Pango
Attribute
copy
equal
init
end_index
klass
start_index
Attribute
Object Hierarchy:
Description:
public
class
Attribute
All known sub-classes:
AttrColor
AttrFloat
AttrFontDesc
AttrInt
AttrLanguage
AttrShape
AttrSize
AttrString
Namespace:
Pango
Package:
pango
Content:
Methods:
public
Attribute
copy
()
Make a copy of an attribute.
public
bool
equal
(
Attribute
attr2)
Compare two attributes for equality. This compares only the actual value of the two attributes and not the ranges that the attributes apply to.
public
void
init
(
AttrClass
klass)
Initializes
attr
's klass to
klass
, it's start_index to
ATTR_INDEX_FROM_TEXT_BEGINNING
and end_index to
PANGO_ATTR_INDEX_TO_TEXT_END
such that the attribute applies to the entire text by default.
Fields:
public
uint
end_index
public
unowned
AttrClass
klass
public
uint
start_index