gtkWidgetCreatePangoLayout {RGtk2}R Documentation

gtkWidgetCreatePangoLayout

Description

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

Usage

gtkWidgetCreatePangoLayout(object, text)

Arguments

object [GtkWidget] a GtkWidget
text [character] text to set on the layout (can be NULL)

Details

If you keep a PangoLayout created in this way around, in order 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.

Value

[PangoLayout] the new PangoLayout

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.8.5 Index]