class Pango::TabArray

Overview

A Pango::TabArray contains an array of tab stops.

Pango::TabArray can be used to set tab stops in a Pango::Layout. Each tab stop has an alignment, a position, and optionally a character to use as decimal point.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/tab_array.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(initial_size : Int32, positions_in_pixels : Bool) : self #

Class Method Detail

def self.from_string(text : String) : Pango::TabArray? #

def self.g_type : UInt64 #

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


Instance Method Detail

def copy : Pango::TabArray #

def decimal_point(tab_index : Int32) : UInt32 #

def finalize #

def free : Nil #

def positions_in_pixels : Bool #

def positions_in_pixels=(positions_in_pixels : Bool) : Nil #

def resize(new_size : Int32) : Nil #

def set_decimal_point(tab_index : Int32, decimal_point : UInt32) : Nil #

def set_tab(tab_index : Int32, alignment : Pango::TabAlign, location : Int32) : Nil #

def size : Int32 #

def sort : Nil #

def tab(tab_index : Int32) : Nil #

def tabs : Nil #

def to_string : String #

def to_unsafe : Pointer(Void) #