Style.paintLayout

Warning gtk_paint_layout has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_layout() instead Draws a layout on cr using the given parameters.

class Style
deprecated
void
paintLayout

Parameters

cr Context

a cairo_t

stateType GtkStateType

a state

useText int

whether to use the text or foreground graphics context of style

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x int

x origin

y int

y origin

layout PgLayout

the layout to draw

Meta