Function

Gtkpaint_slider

Declaration [src]

void
gtk_paint_slider (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkShadowType shadow_type,
  GtkWidget* widget,
  const gchar* detail,
  gint x,
  gint y,
  gint width,
  gint height,
  GtkOrientation orientation
)

Description [src]

Draws a slider in the given rectangle on cr using the given style and orientation.

Deprecated since:3.0

Use gtk_render_slider() instead.

Parameters

style

Type: GtkStyle

A GtkStyle.

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

Type: cairo_t

A #cairo_t.

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

Type: GtkStateType

A state.

shadow_type

Type: GtkShadowType

A shadow.

widget

Type: GtkWidget

The 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: gint

The x origin of the rectangle in which to draw a slider.

y

Type: gint

The y origin of the rectangle in which to draw a slider.

width

Type: gint

The width of the rectangle in which to draw a slider.

height

Type: gint

The height of the rectangle in which to draw a slider.

orientation

Type: GtkOrientation

The orientation to be used.