GOffice.Font

Fields

Name

Type

Access

Description

color

int

r/w

desc

Pango.FontDescription

r/w

font_index

int

r/w

ref_count

int

r/w

strikethrough

bool

r/w

underline

int

r/w

Methods

class

cache_register (callback)

class

cache_unregister (callback)

class

new_by_desc (desc)

class

new_by_index (i)

class

new_by_name (str)

as_str ()

eq (b)

ref ()

unref ()

Details

class GOffice.Font
classmethod cache_register(callback)
Parameters:

callback (GObject.Closure) –

classmethod cache_unregister(callback)
Parameters:

callback (GObject.Closure) –

classmethod new_by_desc(desc)
Parameters:

desc (Pango.FontDescription) – Pango.FontDescription

Returns:

a GOffice.font that matches desc.

Return type:

GOffice.Font

classmethod new_by_index(i)
Parameters:

i (int) –

Return type:

GOffice.Font

classmethod new_by_name(str)
Parameters:

str (str) –

Return type:

GOffice.Font

as_str()
Return type:

str

eq(b)
Parameters:

b (GOffice.Font) –

Return type:

bool

ref()
Return type:

GOffice.Font

unref()