| Buzztard Bt-Edit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include "bt-edit.h"
BtWireCanvasItem;
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);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GnomeCanvasItem
+----GnomeCanvasGroup
+----BtWireCanvasItem
"app" BtEditApplication* : Read / Write "dst" BtMachineCanvasItem* : Read / Write "h" gdouble : Read / Write "machines-page" BtMainPageMachines* : Read / Write "src" BtMachineCanvasItem* : Read / Write "w" gdouble : Read / Write "wire" BtWire* : Read / Write
Provides volume control on the wires, as well as a menu to disconnect wires and to launch the analyzer screen.
typedef struct _BtWireCanvasItem BtWireCanvasItem;
the root window for the editor application
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
|
the machine page the new item belongs to |
|
the wire for which a canvas item should be created |
|
the horizontal start location |
|
the vertical start location |
|
the horizontal end location |
|
the vertical end location |
|
the machine item at start |
|
the machine item at end |
Returns : |
the new instance or NULL in case of an error
|
"app" property"app" BtEditApplication* : Read / Write
Set application object, the window belongs to.
"h" property "h" gdouble : Read / Write
height of the wire.
Allowed values: [-100000,100000]
Default value: 1
"machines-page" property"machines-page" BtMainPageMachines* : Read / Write
Set application object, the window belongs to.
"w" property "w" gdouble : Read / Write
width of the wire.
Allowed values: [-100000,100000]
Default value: 1