Style.paintShadow

Warning gtk_paint_shadow has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_frame() instead Draws a shadow around the given rectangle in cr using the given style and state and shadow type.

class Style
deprecated
void
paintShadow

Parameters

cr Context

a cairo_t

stateType GtkStateType

a state

shadowType GtkShadowType

type of shadow to draw

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x int

x origin of the rectangle

y int

y origin of the rectangle

width int

width of the rectangle

height int

width of the rectangle

Meta