![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include "bt-edit.h" struct BtMachineCanvasItem; BtMachineCanvasItem * bt_machine_canvas_item_new (const BtMainPageMachines *main_page_machines
,BtMachine *machine
,gdouble xpos
,gdouble ypos
,gdouble zoom
);
GObject +----GInitiallyUnowned +----GtkObject +----GnomeCanvasItem +----GnomeCanvasGroup +----BtMachineCanvasItem
"app" BtEditApplication* : Read / Write "machine" BtMachine* : Read / Write "machines-page" BtMainPageMachines* : Read / Write "zoom" gdouble : Read / Write
BtMachineCanvasItem * bt_machine_canvas_item_new (const BtMainPageMachines *main_page_machines
,BtMachine *machine
,gdouble xpos
,gdouble ypos
,gdouble zoom
);
Create a new instance
|
the machine page the new item belongs to |
|
the machine for which a canvas item should be created |
|
the horizontal location |
|
the vertical location |
|
the zoom ratio |
Returns : |
the new instance or NULL in case of an error |
"app"
property"app" BtEditApplication* : Read / Write
Set application object, the window belongs to.
"machines-page"
property"machines-page" BtMainPageMachines* : Read / Write
Set application object, the window belongs to.
"position-changed"
signalvoid user_function (BtMachineCanvasItem *self,
gpointer user_data) : No Hooks
signals that item has been moved around.
|
the machine-canvas-item object that emitted the signal |
|
user data set when the signal handler was connected. |