The GnomeCanvasWidget
item places a widget on the canvas. The canvas item
emulates a container widget, passing a size allocation to
the widget it holds. You can specify an anchor point for
the widget item, just as you can for GnomeCanvasText.
Table 6.
GnomeCanvasWidget Arguments
Name
|
Type
|
Read/Write
|
Description
|
widget
|
GtkWidget*
|
Both
|
Widget to display
|
x
|
double
|
Both
|
X coordinate of the anchor point
|
y
|
double
|
Both
|
Y coordinate of the anchor point
|
anchor
|
GtkAnchorType
|
Both
|
Location of anchor point
|
width
|
double
|
Both
|
Width of widget
|
height
|
double
|
Both
|
Height of widget
|
size_pixels
|
gboolean
|
Both
|
Specifies how to interpret the width and height argument; if TRUE, they are in pixels;
if FALSE, they are
in canvas units
|