![]() |
![]() |
![]() |
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
); void bt_machine_show_properties_dialog (BtMachine *machine
); void bt_machine_show_preferences_dialog (BtMachine *machine
);
GObject +----GInitiallyUnowned +----GtkObject +----GnomeCanvasItem +----GnomeCanvasGroup +----BtMachineCanvasItem
"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
|
void bt_machine_show_properties_dialog (BtMachine *machine
);
Shows the machine properties dialog.
|
machine to show the dialog for |
void bt_machine_show_preferences_dialog (BtMachine *machine
);
Shows the machine preferences dialog.
|
machine to show the dialog for |
"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. |