Method

GtkWidgetcreate_pango_context

Declaration [src]

PangoContext*
gtk_widget_create_pango_context (
  GtkWidget* widget
)

Description [src]

Creates a new PangoContext that is configured for the widget.

The PangoContext will have the appropriate font map, font options, font description, and base direction set.

See also gtk_widget_get_pango_context().

Return value

Type: PangoContext

The new PangoContext.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.