GocWidget
GocWidget — Widgets.
|
|
Object Hierarchy
GObject
+----GocItem
+----GocWidget
Properties
"height" gdouble : Read / Write
"widget" GtkWidget* : Read / Write
"width" gdouble : Read / Write
"x" gdouble : Read / Write
"y" gdouble : Read / Write
Description
GocWidget implements widgets embedding in the canvas.
Details
GocWidget
typedef struct _GocWidget GocWidget;
GocWidgetClass
typedef GocItemClass GocWidgetClass;
goc_widget_set_bounds ()
void goc_widget_set_bounds (GocWidget *widget,
double left,
double top,
double width,
double height);
widget :
|
|
left :
|
|
top :
|
|
width :
|
|
height :
|
|
Property Details
The "height"
property
"height" gdouble : Read / Write
The widget height.
Allowed values: [0,2048]
Default value: 0
The "widget"
property
"widget" GtkWidget* : Read / Write
A pointer to the embedded widget.
The "width"
property
"width" gdouble : Read / Write
The widget width.
Allowed values: [0,2048]
Default value: 0
The "x"
property
"x" gdouble : Read / Write
The widget left position.
Default value: 0
The "y"
property
"y" gdouble : Read / Write
The widget top position.
Default value: 0