class Pango::Item
- Pango::Item
- Reference
- Object
Overview
The Pango::Item
structure stores information about a segment of text.
You typically obtain Pango::Items
by itemizing a piece of text
with #itemize
.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/item.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibPango::Item, transfer : GICrystal::Transfer)
- .new(offset : Int32? = nil, length : Int32? = nil, num_chars : Int32? = nil, analysis : Pango::Analysis? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #analysis : Pango::Analysis
- #analysis=(value : Pango::Analysis)
- #apply_attrs(iter : Pango::AttrIterator) : Nil
- #copy : Pango::Item?
- #free : Nil
- #length : Int32
- #length=(value : Int32)
- #num_chars : Int32
- #num_chars=(value : Int32)
- #offset : Int32
- #offset=(value : Int32)
- #split(split_index : Int32, split_offset : Int32) : Pango::Item
- #to_unsafe
Constructor Detail
def self.new(offset : Int32? = nil, length : Int32? = nil, num_chars : Int32? = nil, analysis : Pango::Analysis? = nil)
#
Class Method Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.