Learn R Programming

RGtk2 (version 2.20.31)

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

Value

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

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.