Learn R Programming

RGtk2 (version 2.20.31)

gtkWidgetCreatePangoLayout: gtkWidgetCreatePangoLayout

Description

Creates a new PangoLayout with the appropriate font map, font description, and base direction for drawing text for this widget.

Usage

gtkWidgetCreatePangoLayout(object, text)

Arguments

object
text
text to set on the layout (can be NULL)

Value

PangoLayout] the new PangoLayout

Details

If you keep a PangoLayout created in this way around, in order to notify the layout of changes to the base direction or font of this widget, you must call pangoLayoutContextChanged in response to the "style-set" and "direction-changed" signals for the widget.