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 value is a NUL terminated UTF-8 string.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|