create_pango_layout
Description:
Creates a new Layout with the appropriate font map, font description, and base direction for drawing text for this widget.
If you keep a Layout created in this way around, you need to re-create it when the widget Context is replaced. This can be tracked by using the screen_changed signal on the widget.
Parameters:
this |
a Widget |
text |
text to set on the layout (can be null) |
Returns:
the new Layout |