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

[View source]
def self.new(initial_size : Int32, positions_in_pixels : Bool) : self #

[View source]

Class Method Detail

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

[View source]
def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def copy : Pango::TabArray #

[View source]
def decimal_point(tab_index : Int32) : Char #

[View source]
def finalize #

[View source]
def free : Nil #

[View source]
def positions_in_pixels : Bool #

[View source]
def positions_in_pixels=(positions_in_pixels : Bool) : Nil #

[View source]
def resize(new_size : Int32) : Nil #

[View source]
def set_decimal_point(tab_index : Int32, decimal_point : Char) : Nil #

[View source]
def set_tab(tab_index : Int32, alignment : Pango::TabAlign, location : Int32) : Nil #

[View source]
def size : Int32 #

[View source]
def sort : Nil #

[View source]
def tab(tab_index : Int32) : Nil #

[View source]
def tabs : Nil #

[View source]
def to_string : String #

[View source]
def to_unsafe : Pointer(Void) #

[View source]