GObject.Object
Pango.FontFamily
Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.FontFamily |
Class : | FontFamily |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Pango.FontFamily
()
Create a new Pango.FontFamily
Create a new Pango.FontFamily
|
||
get_name
()
:
String
Gets the name of the family.
Gets the name of the family. The name is unique among all fonts for the font backend and can be used in a PangoFontDescription to specify that a face from this family is desired. by the family object and must not be modified or freed.
|
Pango.FontFamily | |
is_monospace
()
:
Boolean
A monospace font is a font designed for text display where the the characters form a regular grid.
A monospace font is a font designed for text display where the the characters form a regular grid. For Western languages this would mean that the advance width of all characters are the same, but this categorization also includes Asian fonts which include g_unichar_iswide() returns a result that indicates whether a character is typically double-width in a monospace font. The best way to find out the grid-cell size is to call pango_font_metrics_get_approximate_digit_width(), since the results of pango_font_metrics_get_approximate_char_width() may be affected by double-width characters.
|
Pango.FontFamily | |
Lists the different font faces that make up family.
Lists the different font faces that make up family. The faces in a family share a common design, but differ in slant, weight, width and other aspects.
|
Pango.FontFamily |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.FontSelection
Method |
get_family
()
:
Pango.FontFamily
Gets the PangoFontFamily representing the selected font family.
|
Pango.Context
Method |
list_families
(FontFamily families)
:
Number
List all families for a context.
|
Pango.FontMap
Method |
list_families
(FontFamily families)
:
Number
List all families for a fontmap.
|