paint_layout

function paint_layout(style:Gtk.Style, cr:cairo.Context, state_type:Gtk.StateType, use_text:Boolean, widget:Gtk.Widget, detail:String, x:Number, y:Number, layout:Pango.Layout):void {
    // Gjs wrapper for gtk_paint_layout()
}

Draws a layout on cr using the given parameters.

style

a Gtk.Style

cr

a #cairo_t

state_type

a state

use_text

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