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/gtk4/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?
- #as_float : Pango::AttrFloat?
- #as_font_desc : Pango::AttrFontDesc?
- #as_font_features : Pango::AttrFontFeatures?
- #as_int : Pango::AttrInt?
- #as_language : Pango::AttrLanguage?
- #as_shape : Pango::AttrShape?
- #as_size : Pango::AttrSize?
- #as_string : Pango::AttrString?
- #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)