## BtMainPageMachines BtMainPageMachines — the editor main machines page |

## Synopsis

    #include "bt-edit.h"

                        BtMainPageMachines;
    BtMainPageMachines * bt_main_page_machines_new          (const BtEditApplication *app,
                                                             const BtMainPages *pages);
    gboolean            bt_main_page_machines_wire_volume_popup
                                                            (const BtMainPageMachines *self,
                                                             BtWire *wire,
                                                             gint xpos,
                                                             gint ypos);
    gboolean            bt_main_page_machines_wire_panorama_popup
                                                            (const BtMainPageMachines *self,
                                                             BtWire *wire,
                                                             gint xpos,
                                                             gint ypos);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkVBox
                                           +----BtMainPageMachines

## Implemented Interfaces

BtMainPageMachines implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Properties

      "app"                      BtEditApplication*    : Read / Write / Construct Only
      "canvas"                   GnomeCanvas*          : Read

## Description

Displays the machine setup on a canvas.

## Details

### BtMainPageMachines

    typedef struct _BtMainPageMachines BtMainPageMachines;

the machines page for the editor application

### bt_main_page_machines_new ()

    BtMainPageMachines * bt_main_page_machines_new          (const BtEditApplication *app,
                                                             const BtMainPages *pages);

Create a new instance

`app` : | the application the window belongs to
`pages` : | the page collection
Returns : | the new instance or `NULL` in case of an error

### bt_main_page_machines_wire_volume_popup ()

    gboolean            bt_main_page_machines_wire_volume_popup
                                                            (const BtMainPageMachines *self,
                                                             BtWire *wire,
                                                             gint xpos,
                                                             gint ypos);

Activates the volume-popup for the given wire.

`self` : | the machines page
`wire` : | the wire to popup the volume control for
`xpos` : | the x-position for the popup
`ypos` : | the y-position for the popup
Returns : | `TRUE` for succes.

### bt_main_page_machines_wire_panorama_popup ()

    gboolean            bt_main_page_machines_wire_panorama_popup
                                                            (const BtMainPageMachines *self,
                                                             BtWire *wire,
                                                             gint xpos,
                                                             gint ypos);

Activates the panorama-popup for the given wire.

`self` : | the machines page
`wire` : | the wire to popup the panorama control for
`xpos` : | the x-position for the popup
`ypos` : | the y-position for the popup
Returns : | `TRUE` for succes.

## Property Details

### The `"app"` property

      "app"                      BtEditApplication*    : Read / Write / Construct Only

Set application object, the window belongs to.

### The `"canvas"` property

      "canvas"                   GnomeCanvas*          : Read

Get the machine canvas.

## See Also

BtSetup