PangoLayout* gtk_widget_create_pango_layout ( GtkWidget* widget, const char* text )
Creates a new
PangoLayout with the appropriate font map,
font description, and base direction for drawing text for
If you keep a
PangoLayout created in this way around,
you need to re-create it when the widget
is replaced. This can be tracked by listening to changes
GtkWidget:root property on the widget.
Text to set on the layout.
|The argument can be |
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|