Function
Gtkpaint_layout
deprecated: 3.0
Declaration [src]
void
gtk_paint_layout (
GtkStyle* style,
cairo_t* cr,
GtkStateType state_type,
gboolean use_text,
GtkWidget* widget,
const gchar* detail,
gint x,
gint y,
PangoLayout* layout
)
Description [src]
Draws a layout on cr
using the given parameters.
Deprecated since: 3.0
Use gtk_render_layout()
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.
use_text
-
Type:
gboolean
Whether to use the text or foreground graphics context of
style
. 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
X origin.
y
-
Type:
gint
Y origin.
layout
-
Type:
PangoLayout
The layout to draw.
The data is owned by the caller of the function.