Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkWidgetGetPangoContext

gtkWidgetGetPangoContext


Description

Gets a PangoContext with the appropriate font map, font description, and base direction for this widget. Unlike the context returned by gtkWidgetCreatePangoContext, and will be updated to match any changes to the widget's attributes.

Usage

gtkWidgetGetPangoContext(object)

Arguments

object

a GtkWidget

Details

If you create and keep a PangoLayout using this context, you must deal with changes to the context by calling pangoLayoutContextChanged on the layout in response to the "style-set" and "direction-changed" signals for the widget.

Value

[PangoContext] the PangoContext for the widget. [ transfer none ]

Note

Unlike the context returned by gtkWidgetCreatePangoContext, this context is owned by the widget (it can be used until the screen for the widget changes or the widget is removed from its toplevel), and will be updated to match any changes to the widget's attributes.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.