Style.paintBoxGap

Warning gtk_paint_box_gap has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_frame_gap() instead Draws a box in cr using the given style and state and shadow type, leaving a gap in one side.

class Style
deprecated
void
paintBoxGap

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

gapSide GtkPositionType

side in which to leave the gap

gapX int

starting position of the gap

gapWidth int

width of the gap

Meta