Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Pango.Context

Class Pango.Context

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.Context
Class : Context
Extends: GObject.Object
  Show / Hide Inherited methods, properties and signals
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Pango.Context ()
Create a new Pango.Context
Create a new Pango.Context
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter.Actor
Method
get_pango_context () : Pango.Context
Retrieves the PangoContext for self.
Clutter.Actor
Method
create_pango_context () : Pango.Context
Creates a PangoContext for the given actor.
Gdk
Method
Gdk.pango_context_get () : Pango.Context
Creates a PangoContext for the default GDK screen.
Gdk
Method
Gdk.pango_context_get_for_screen (Screen screen) : Pango.Context
Creates a PangoContext for screen.
Gdk
Method
Gdk.pango_context_set_colormap (Context context, Colormap colormap) : none
This function used to set the colormap to be used for drawing with context used for drawing, so calling this function is no longer necessary.
Gtk.PrintContext
Method
create_pango_context () : Pango.Context
Creates a new PangoContext that can be used with the GtkPrintContext.
Gtk.TextLayout
Method
set_contexts (Context ltr_context, Context rtl_context) : none
Gtk.Widget
Method
create_pango_context () : Pango.Context
Creates a new PangoContext with the appropriate font map, font description, and base direction for drawing text for this widget.
Gtk.Widget
Method
get_pango_context () : Pango.Context
Gets a PangoContext with the appropriate font map, font description, and base direction for this widget.
Pango.FontMap
Method
create_context () : Pango.Context
Creates a PangoContext connected to fontmap.
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
new Pango.Layout.c_new (Context context) : Pango.Layout
Create a new Pango.Layout
Pango.Layout
Method
get_context () : Pango.Context
Retrieves the PangoContext used for this layout.
PangoCairo
Method
PangoCairo.context_get_font_options (Context context) : cairo.FontOptions
Retrieves any font rendering options previously set with pango_cairo_font_map_set_font_options().
PangoCairo
Method
PangoCairo.context_get_resolution (Context context) : Number
Gets the resolution for the context.
PangoCairo
Method
PangoCairo.context_get_shape_renderer (Context context, void* data) : [object Object]
Sets callback function for context to use for rendering attributes of type PANGO_ATTR_SHAPE.
PangoCairo
Method
PangoCairo.context_set_font_options (Context context, FontOptions options) : none
Sets the font options used when rendering text with this context.
PangoCairo
Method
PangoCairo.context_set_resolution (Context context, Number dpi) : none
Sets the resolution for the context.
PangoCairo
Method
PangoCairo.context_set_shape_renderer (Context context, Function func, void* data, Function dnotify) : none
Sets callback function for context to use for rendering attributes of type PANGO_ATTR_SHAPE.
PangoCairo
Method
PangoCairo.create_context (Context cr) : Pango.Context
Creates a context object set up to match the current transformation and target surface of the Cairo context.
PangoCairo
Method
PangoCairo.update_context (Context cr, Context context) : none
Updates a PangoContext previously created for use with Cairo to match the current transformation and target surface of a Cairo context.
PangoCairo.FontMap
Method
create_context () : Pango.Context
Create a PangoContext for the given fontmap.
PangoFT2
Method
PangoFT2.get_context (Number dpi_x, Number dpi_y) : Pango.Context
PangoFT2.FontMap
Method
create_context () : Pango.Context
PangoX
Method
PangoX.context_set_funcs (Context context, Function get_gc_func, Function free_gc_func) : none
PangoX
Method
PangoX.get_context (Display display) : Pango.Context
PangoXft
Method
PangoXft.get_context (Display display, Number screen) : Pango.Context
Retrieves a PangoContext appropriate for rendering with Xft fonts on the given screen of the given display.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:52 GMT+0800 (HKT)