class Pango::Language

Overview

The Pango::Language structure is used to represent a language.

Pango::Language pointers can be efficiently copied and compared with each other.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.default : Pango::Language #

[View source]
def self.from_string(language : String | Nil) : Pango::Language | Nil #

[View source]
def self.g_type : UInt64 #

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


[View source]
def self.preferred : Pango::Language | Nil #

[View source]

Instance Method Detail

def finalize #

[View source]
def includes_script(script : Pango::Script) : Bool #

[View source]
def matches(range_list : String) : Bool #

[View source]
def sample_string : String #

[View source]
def scripts : Int32 #

[View source]
def to_string : String #

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

[View source]