Function
Gtkpaint_box
deprecated: 3.0
Declaration [src]
void
gtk_paint_box (
GtkStyle* style,
cairo_t* cr,
GtkStateType state_type,
GtkShadowType shadow_type,
GtkWidget* widget,
const gchar* detail,
gint x,
gint y,
gint width,
gint height
)
Description [src]
Draws a box on cr with the given parameters.
Deprecated since: 3.0
Use gtk_render_frame() and gtk_render_background() instead.
Parameters
style-
Type:
GtkStyleA
GtkStyle.The data is owned by the caller of the function. cr-
Type:
cairo_tA #cairo_t.
The data is owned by the caller of the function. state_type-
Type:
GtkStateTypeA state.
shadow_type-
Type:
GtkShadowTypeThe type of shadow to draw.
widget-
Type:
GtkWidgetThe widget.
The argument can be NULL.The data is owned by the caller of the function. detail-
Type:
const gchar*A style detail.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. x-
Type:
gintX origin of the box.
y-
Type:
gintY origin of the box.
width-
Type:
gintThe width of the box.
height-
Type:
gintThe height of the box.