Gimp.Font¶
- Subclasses:
None
Methods¶
- Inherited:
Gimp.Resource (20), GObject.Object (37), Gimp.ConfigInterface (14)
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gimp.Font(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Installable object used by text tools.
- classmethod get_by_name(name)¶
-
Returns a font with the given name.
If several fonts are named identically, the one which is returned by this function should be considered random. This can be used when you know you won’t have multiple fonts of this name or that you don’t want to choose (non-interactive scripts, etc.). If you need more control, you should use [func`fonts_get_list`] instead. Returns
None
when no font exists of that name.New in version 3.0.
- get_pango_font_description()¶
- Returns:
a
Pango.FontDescription
representing self.- Return type:
Returns a [struct`Pango`.FontDescription] representing self.
New in version 3.0.