Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

Struct Pango.FontDescription

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.FontDescription
Struct : FontDescription
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Pango.FontDescription.c_new () : Pango.FontDescription
Create a new Pango.FontDescription
Create a new Pango.FontDescription
Returns:
Pango.FontDescription the newly allocated PangoFontDescription, which
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter.Text
Property
font_description : Pango.FontDescription
The PangoFontDescription that should be used by the ClutterText
If you have a string describing the font then you should look at
ClutterText:font-name instead
Clutter.Text
Method
get_font_description () : Pango.FontDescription
Retrieves the PangoFontDescription used by self
by the ClutterText actor and it should not be modified or freed
Clutter.Text
Method
set_font_description (FontDescription font_desc) : none
Sets font_desc as the font description for a ClutterText
The PangoFontDescription is copied by the ClutterText actor
so you can safely call pango_font_description_free() on it after
calling this function.
Gtk.CellRendererText
Property
font_desc : Pango.FontDescription
Gtk.StyleContext
Method
get_font (StateFlags state) : Pango.FontDescription
Returns the font description for a given state.
Gtk.TextTag
Property
font_desc : Pango.FontDescription
Gtk.ThemingEngine
Method
get_font (StateFlags state) : Pango.FontDescription
Returns the font description for a given state.
Gtk.Widget
Method
modify_font (FontDescription font_desc) : none
Sets the font to use for a widget.
Gtk.Widget
Method
override_font (FontDescription font_desc) : none
Sets the font to use for a widget.
Gucharmap.Charmap
Property
font_desc : Pango.FontDescription
Gucharmap.Charmap
Method
get_font_desc () : Pango.FontDescription
Gucharmap.Charmap
Method
set_font_desc (FontDescription font_desc) : none
Gucharmap.Chartable
Property
font_desc : Pango.FontDescription
Gucharmap.Chartable
Method
get_font_desc () : Pango.FontDescription
Gucharmap.Chartable
Method
set_font_desc (FontDescription font_desc) : none
Pango
Method
Pango.font_description_from_string (String str) : Pango.FontDescription
Creates a new font description from a string representation in the
form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a
comma separated list of families optionally terminated by a comma,
STYLE_OPTIONS is a whitespace separated list of words where each WORD
describes one of style, variant, weight, stretch, or gravity, and SIZE
is a decimal number (size in points) or optionally followed by the
unit modifier "px" for absolute size.
Pango.AttrIterator
Method
get_font (FontDescription desc, Language language, Array extra_attrs) : none
Get the font and other attributes at the current iterator position.
Pango.Context
Method
get_font_description () : Pango.FontDescription
Retrieve the default font description for the context.
Pango.Context
Method
get_metrics (FontDescription desc, Language language) : Pango.FontMetrics
Get overall metric information for a particular font
description.
Pango.Context
Method
set_font_description (FontDescription desc) : none
Set the default font description for the context
Pango.Font
Method
Pango.Font.descriptions_free (FontDescription descs, gint32 n_descs) : none
Frees an array of font descriptions.
Pango.Font
Method
describe () : Pango.FontDescription
Returns a description of the font, with font size set in points.
Pango.Font
Method
describe_with_absolute_size () : Pango.FontDescription
Returns a description of the font, with absolute font size set
(in device units).
Pango.FontFace
Method
describe () : Pango.FontDescription
Returns the family, style, variant, weight and stretch of
a PangoFontFace.
Pango.Layout
Method
get_font_description () : Pango.FontDescription
Gets the font description for the layout, if any.
Pango.Layout
Method
set_font_description (FontDescription desc) : none
Sets the default font description for the layout.
Vte.Terminal
Property
font_desc : Pango.FontDescription
Vte.Terminal
Method
get_font () : Pango.FontDescription
Vte.Terminal
Method
set_font (FontDescription font_desc) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:38 GMT+0800 (HKT)