paintLayout

Draws a layout on cr using the given parameters.

More...

Parameters

style gtk.style.Style

a #GtkStyle

cr cairo.context.Context

a #cairo_t

stateType gtk.types.StateType

a state

useText bool

whether to use the text or foreground graphics context of style

widget gtk.widget.Widget

the widget

detail string

a style detail

x int

x origin

y int

y origin

layout pango.layout.Layout

the layout to draw

Detailed Description

Deprecated: Use gtk.global.renderLayout instead