Function

Gtkpaint_box_gap

Declaration [src]

void
gtk_paint_box_gap (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkShadowType shadow_type,
  GtkWidget* widget,
  const gchar* detail,
  gint x,
  gint y,
  gint width,
  gint height,
  GtkPositionType gap_side,
  gint gap_x,
  gint gap_width
)

Description [src]

Draws a box in cr using the given style and state and shadow type, leaving a gap in one side.

Deprecated since:3.0

Use gtk_render_frame_gap() instead.

Parameters

style GtkStyle
 

A GtkStyle.

 The data is owned by the caller of the function.
cr cairo_t
 

A #cairo_t.

 The data is owned by the caller of the function.
state_type GtkStateType
 

A state.

shadow_type GtkShadowType
 

Type of shadow to draw.

widget GtkWidget
 

The widget.

 The argument can be NULL.
 The data is owned by the caller of the function.
detail const gchar*
 

A style detail.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
x gint
 

X origin of the rectangle.

y gint
 

Y origin of the rectangle.

width gint
 

Width of the rectangle.

height gint
 

Width of the rectangle.

gap_side GtkPositionType
 

Side in which to leave the gap.

gap_x gint
 

Starting position of the gap.

gap_width gint
 

Width of the gap.