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
  Show / Hide Inherited methods, properties and signals
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
 
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
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.
Clutter.Text
Method
get_font_description () : Pango.FontDescription
Retrieves the PangoFontDescription used by self
Gdk
Method
Gdk.font_from_description (FontDescription font_desc) : Gdk.Font
Load a GdkFont based on a Pango font description.
Gdk
Method
Gdk.font_from_description_for_display (Display display, FontDescription font_desc) : Gdk.Font
Loads a GdkFont based on a Pango font description for use on display.
GooCanvas.CanvasItemModelSimple
Property
font_desc : Pango.FontDescription
GooCanvas.CanvasItemSimple
Property
font_desc : Pango.FontDescription
Gtk.CellRendererText
Property
font_desc : Pango.FontDescription
Gtk.TextTag
Property
font_desc : Pango.FontDescription
Gtk.Widget
Method
modify_font (FontDescription font_desc) : none
Sets the font to use for a widget.
Pango.AttrFontDesc
Method
new Pango.AttrFontDesc.c_new (FontDescription desc) : Pango.AttrFontDesc
Create a new Pango.AttrFontDesc
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
load_font (FontDescription desc) : Pango.Font
Loads the font in one of the fontmaps in the context that is the closest match for desc.
Pango.Context
Method
load_fontset (FontDescription desc, Language language) : Pango.Fontset
Load a set of fonts in the context that can be used to render a font matching desc.
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.Context
Method
get_font_description () : Pango.FontDescription
Retrieve the default font description for the context.
Pango.Font
Method
Pango.Font.descriptions_free (FontDescription descs, Number n_descs) : none
Frees an array of font descriptions.
Pango.Font
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.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.FontMap
Method
load_font (Context context, FontDescription desc) : Pango.Font
Load the font in the fontmap that is the closest match for desc.
Pango.FontMap
Method
load_fontset (Context context, FontDescription desc, Language language) : Pango.Fontset
Load a set of fonts in the fontmap that can be used to render a font matching desc.
Pango.Layout
Method
set_font_description (FontDescription desc) : none
Sets the default font description for the layout.
Pango.Layout
Method
get_font_description () : Pango.FontDescription
Gets the font description for the layout, if any.
PangoFT2.PangoFcFont
Method
PangoFT2.PangoFcFont.description_from_pattern (Pattern pattern, Boolean include_size) : Pango.FontDescription
Creates a PangoFontDescription that matches the specified Fontconfig pattern as closely as possible.
Vte.Terminal
Property
font_desc : Pango.FontDescription
Vte.Terminal
Method
set_font (FontDescription font_desc) : none
Vte.Terminal
Method
get_font () : Pango.FontDescription
Vte.Terminal
Method
set_font_full (FontDescription font_desc, TerminalAntiAlias antialias) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:53 GMT+0800 (HKT)