class Pango::Item

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibPango::Item, transfer : GICrystal::Transfer) #

def self.new(offset : Int32? = nil, length : Int32? = nil, num_chars : Int32? = nil, analysis : Pango::Analysis? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def analysis : Pango::Analysis #

def analysis=(value : Pango::Analysis) #

def apply_attrs(iter : Pango::AttrIterator) : Nil #

def copy : Pango::Item? #

def free : Nil #

def length : Int32 #

def length=(value : Int32) #

def num_chars : Int32 #

def num_chars=(value : Int32) #

def offset : Int32 #

def offset=(value : Int32) #

def split(split_index : Int32, split_offset : Int32) : Pango::Item #

def to_unsafe #