GocWidget

GocWidget — Widgets.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GocItem
        ╰── GocWidget

Description

GocWidget implements widgets embedding in the canvas.

Functions

goc_widget_set_bounds ()

void
goc_widget_set_bounds (GocWidget *widget,
                       double left,
                       double top,
                       double width,
                       double height);

Sets the bounds of the widget.

Parameters

widget

GocWidget

 

left

left coordinate

 

top

top coordinate

 

width

widget width

 

height

widget height

 

Types and Values

GocWidget

typedef struct _GocWidget GocWidget;

GocWidgetClass

typedef GocItemClass GocWidgetClass;