paintLayout
fn
void 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
style | a #GtkStyle |
cr | a #cairo_t |
stateType | a state |
useText | whether to use the text or foreground graphics context of style |
widget | the widget |
detail | a style detail |
x | x origin |
y | y origin |
layout | the layout to draw |
Deprecated
Use [gtk.global.renderLayout] instead