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) #

[View source]
def self.new(data : LibPango::Item, transfer : GICrystal::Transfer) #

[View source]
def self.new(offset : Int32 | Nil = nil, length : Int32 | Nil = nil, num_chars : Int32 | Nil = nil, analysis : Pango::Analysis | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

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

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


[View source]
def analysis : Pango::Analysis #

[View source]
def analysis=(value : Pango::Analysis) #

[View source]
def apply_attrs(iter : Pango::AttrIterator) : Nil #

[View source]
def copy : Pango::Item | Nil #

[View source]
def free : Nil #

[View source]
def length : Int32 #

[View source]
def length=(value : Int32) #

[View source]
def num_chars : Int32 #

[View source]
def num_chars=(value : Int32) #

[View source]
def offset : Int32 #

[View source]
def offset=(value : Int32) #

[View source]
def split(split_index : Int32, split_offset : Int32) : Pango::Item #

[View source]
def to_unsafe #

[View source]