Top | ![]() |
![]() |
![]() |
![]() |
BtSignalAnalysisDialog * | analysis-dialog | Read |
BtMachine * | machine | Read / Write / Construct Only |
BtMainPageMachines * | machines-page | Read / Write / Construct Only |
BtMachinePreferencesDialog * | preferences-dialog | Read |
BtMachinePropertiesDialog * | properties-dialog | Read |
gdouble | zoom | Read / Write |
BtMachineCanvasItem implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
Provides UI to manipulate the machine state.
The canvas object emits “position-changed” signal after it has been moved.
BtMachineCanvasItem * bt_machine_canvas_item_new (const BtMainPageMachines *main_page_machines
,BtMachine *machine
,gdouble xpos
,gdouble ypos
,gdouble zoom
);
Create a new instance
void
bt_machine_show_properties_dialog (BtMachine *machine
);
Shows the machine properties dialog.
Since 0.6
void
bt_machine_show_preferences_dialog (BtMachine *machine
);
Shows the machine preferences dialog.
Since 0.6
void
bt_machine_show_analyzer_dialog (BtMachine *machine
);
Shows the machine signal analysis dialog.
Since 0.6
“analysis-dialog”
property“analysis-dialog” BtSignalAnalysisDialog *
Get the the analysis dialog if shown.
Flags: Read
“machine”
property“machine” BtMachine *
Set machine object, the item belongs to.
Flags: Read / Write / Construct Only
“machines-page”
property“machines-page” BtMainPageMachines *
Set application object, the window belongs to.
Flags: Read / Write / Construct Only
“preferences-dialog”
property“preferences-dialog” BtMachinePreferencesDialog *
Get the the preferences dialog if shown.
Flags: Read
“properties-dialog”
property“properties-dialog” BtMachinePropertiesDialog *
Get the the properties dialog if shown.
Flags: Read
“position-changed”
signalvoid user_function (BtMachineCanvasItem *self, ClutterEventType arg1, gpointer user_data)
Signals that item has been moved around. The new position can be read from the canvas item.
self |
the machine-canvas-item object that emitted the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: No Hooks
“start-connect”
signalvoid user_function (BtMachineCanvasItem *self, gpointer user_data)
Signals that a connect should be made starting from this machine.
self |
the machine-canvas-item object that emitted the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: No Hooks