## BtSettingsDialog

BtSettingsDialog — class for the editor settings dialog

## Synopsis

    #include "bt-edit.h"

                        BtSettingsDialog;
    enum                BtSettingsPage;
    BtSettingsDialog *  bt_settings_dialog_new              (const BtEditApplication *app);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkWindow
                                           +----GtkDialog
                                                 +----BtSettingsDialog

## Implemented Interfaces

BtSettingsDialog implements AtkImplementorIface and GtkBuildable.

## Properties

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

## Description

Provides UI to access the BtSettings.

## Details

### BtSettingsDialog

    typedef struct _BtSettingsDialog BtSettingsDialog;

the root window for the editor application

### enum BtSettingsPage

    typedef enum {
      BT_SETTINGS_PAGE_AUDIO_DEVICES=0,
      BT_SETTINGS_PAGE_INTERACTION_CONTROLLER,
      BT_SETTINGS_PAGE_PLAYBACK_CONTROLLER,
      BT_SETTINGS_PAGE_COLORS,
      BT_SETTINGS_PAGE_SHORTCUTS,
      BT_SETTINGS_PAGE_DIRECTORIES
    } BtSettingsPage;

Ids for the setting pages.

`BT_SETTINGS_PAGE_AUDIO_DEVICES` | audio devices
`BT_SETTINGS_PAGE_INTERACTION_CONTROLLER` | interaction controller
`BT_SETTINGS_PAGE_PLAYBACK_CONTROLLER` | playback controller
`BT_SETTINGS_PAGE_COLORS` | colors
`BT_SETTINGS_PAGE_SHORTCUTS` | shortcuts
`BT_SETTINGS_PAGE_DIRECTORIES` | directories

### bt_settings_dialog_new ()

    BtSettingsDialog *  bt_settings_dialog_new              (const BtEditApplication *app);

Create a new instance

`app` : | the application the dialog belongs to
Returns : | the new instance or `NULL` in case of an error

## Property Details

### The `"app"` property

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

Set application object, the dialog belongs to.

### The `"page"` property

      "page"                     BtSettingsPage        : Read / Write

Current settings page.

Default value: BT_SETTINGS_PAGE_AUDIO_DEVICES

## See Also

BtSettings