Function

Gtkpaint_tab

Declaration [src]

void
gtk_paint_tab (
  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 an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on cr using the given parameters.

Deprecated since:3.0

Use cairo 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
 

The 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 to draw the tab in.

y gint
 

Y origin of the rectangle to draw the tab in.

width gint
 

The width of the rectangle to draw the tab in.

height gint
 

The height of the rectangle to draw the tab in.