Function

Gtkpaint_focus

Declaration [src]

void
gtk_paint_focus (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkWidget* widget,
  const gchar* detail,
  gint x,
  gint y,
  gint width,
  gint height
)

Description [src]

Draws a focus indicator around the given rectangle on cr using the given style.

Deprecated since:3.0

Use gtk_render_focus() 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.

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
 

The x origin of the rectangle around which to draw a focus indicator.

y gint
 

The y origin of the rectangle around which to draw a focus indicator.

width gint
 

The width of the rectangle around which to draw a focus indicator.

height gint
 

The height of the rectangle around which to draw a focus indicator.