| Top |
| BtSignalAnalysisDialog * | analysis-dialog | Read |
| BtMachineCanvasItem * | dst | Read / Write |
| gdouble | h | Read / Write |
| BtMainPageMachines * | machines-page | Read / Write |
| BtMachineCanvasItem * | src | Read / Write |
| gdouble | w | Read / Write |
| BtWire * | wire | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GnomeCanvasItem
╰── GnomeCanvasGroup
╰── BtWireCanvasItem
Provides volume control on the wires, as well as a menu to disconnect wires and to launch the analyzer screen.
BtWireCanvasItem * bt_wire_canvas_item_new (const BtMainPageMachines *main_page_machines,BtWire *wire,gdouble pos_xs,gdouble pos_ys,gdouble pos_xe,gdouble pos_ye,BtMachineCanvasItem *src_machine_item,BtMachineCanvasItem *dst_machine_item);
Create a new instance
main_page_machines |
the machine page the new item belongs to |
|
wire |
the wire for which a canvas item should be created |
|
pos_xs |
the horizontal start location |
|
pos_ys |
the vertical start location |
|
pos_xe |
the horizontal end location |
|
pos_ye |
the vertical end location |
|
src_machine_item |
the machine item at start |
|
dst_machine_item |
the machine item at end |
void
bt_wire_show_analyzer_dialog (BtWire *wire);
Shows the wire analyzer dialog.
Since 0.6
“analysis-dialog” property“analysis-dialog” BtSignalAnalysisDialog *
Get the the analysis dialog if shown.
Flags: Read
“dst” property“dst” BtMachineCanvasItem *
Set wire dst machine canvas item.
Flags: Read / Write
“h” property “h” gdouble
height of the wire.
Flags: Read / Write
Allowed values: [-100000,100000]
Default value: 1
“machines-page” property“machines-page” BtMainPageMachines *
Set application object, the window belongs to.
Flags: Read / Write
“src” property“src” BtMachineCanvasItem *
Set wire src machine canvas item.
Flags: Read / Write
“w” property “w” gdouble
width of the wire.
Flags: Read / Write
Allowed values: [-100000,100000]
Default value: 1