paint_shadow
function paint_shadow(style:Gtk.Style, cr:cairo.Context, state_type:Gtk.StateType, shadow_type:Gtk.ShadowType, widget:Gtk.Widget, detail:String, x:Number, y:Number, width:Number, height:Number):void { // Gjs wrapper for gtk_paint_shadow() }
Draws a shadow around the given rectangle in cr using the given style and state and shadow type.
- style
- cr
a #cairo_t
- state_type
a state
- shadow_type
type of shadow to draw
- widget
the widget
- detail
a style detail
- x
x origin of the rectangle
- y
y origin of the rectangle
- width
width of the rectangle
- height
width of the rectangle