Style.paintFocus

Warning gtk_paint_focus has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_focus() instead Draws a focus indicator around the given rectangle on cr using the given style.

class Style
deprecated
void
paintFocus

Parameters

cr Context

a cairo_t

stateType GtkStateType

a state

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x int

the x origin of the rectangle around which to draw a focus indicator

y int

the y origin of the rectangle around which to draw a focus indicator

width int

the width of the rectangle around which to draw a focus indicator

height int

the height of the rectangle around which to draw a focus indicator

Meta