![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include "bt-edit.h" 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
typedef struct _BtMachineCanvasItem BtMachineCanvasItem;
the root window for the editor application
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) : Run Last / No Recursion / 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. |