class Pango::Attribute
- Pango::Attribute
- Reference
- Object
Overview
The Pango::Attribute
structure represents the common portions of all
attributes.
Particular types of attributes include this structure as their initial
portion. The common portion of the attribute holds the range to which
the value in the type-specific part of the attribute applies and should
be initialized using Pango::Attribute#init
. By default, an attribute
will have an all-inclusive range of [0,%G_MAXUINT].
Defined in:
lib/gi-crystal/src/auto/pango-1.0/attribute.crlib/pango/src/bindings/pango/attribute.cr
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #as_color : Pango::AttrColor | Nil
- #as_float : Pango::AttrFloat | Nil
- #as_font_desc : Pango::AttrFontDesc | Nil
- #as_font_features : Pango::AttrFontFeatures | Nil
- #as_int : Pango::AttrInt | Nil
- #as_language : Pango::AttrLanguage | Nil
- #as_shape : Pango::AttrShape | Nil
- #as_size : Pango::AttrSize | Nil
- #as_string : Pango::AttrString | Nil
- #copy : Pango::Attribute
- #end_index : UInt32
- #end_index=(value : UInt32)
- #equal(attr2 : Pango::Attribute) : Bool
- #start_index : UInt32
- #start_index=(value : UInt32)
- #to_unsafe : Pointer(Void)
Class Method Detail
Returns the type id (GType) registered in GLib type system.