paintLayout

fnvoid paintLayout(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, bool useText, gtk.widget.Widget widget, string detail, int x, int y, pango.layout.Layout layout)

Draws a layout on cr using the given parameters.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
useTextwhether to use the text or foreground graphics context of style
widgetthe widget
detaila style detail
xx origin
yy origin
layoutthe layout to draw

Deprecated

Use [gtk.global.renderLayout] instead