## BtMachinePresetPropertiesDialog BtMachinePresetPropertiesDialog — machine preset settings |

## Synopsis

    #include "bt-edit.h"

                        BtMachinePresetPropertiesDialog;
    BtMachinePresetPropertiesDialog * bt_machine_preset_properties_dialog_new
                                                            (const BtEditApplication *app,
                                                             GstElement *machine,
                                                             gchar **name,
                                                             gchar **comment);
    void                bt_machine_preset_properties_dialog_apply
                                                            (const BtMachinePresetPropertiesDialog *self);

## Object Hierarchy

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

## Implemented Interfaces

BtMachinePresetPropertiesDialog implements AtkImplementorIface and GtkBuildable.

## Properties

      "app"                      BtEditApplication*    : Read / Write / Construct Only
      "comment"                  gpointer              : Read / Write / Construct Only
      "machine"                  GstElement*           : Read / Write / Construct Only
      "name"                     gpointer              : Read / Write / Construct Only

## Description

A dialog to (re)configure machine presets.

## Details

### BtMachinePresetPropertiesDialog

    typedef struct _BtMachinePresetPropertiesDialog BtMachinePresetPropertiesDialog;

the root window for the editor application

### bt_machine_preset_properties_dialog_new ()

    BtMachinePresetPropertiesDialog * bt_machine_preset_properties_dialog_new
                                                            (const BtEditApplication *app,
                                                             GstElement *machine,
                                                             gchar **name,
                                                             gchar **comment);

Create a new instance

`app` : | the application the dialog belongs to
`machine` : | the machine for which to create the dialog for
`name` : | the preset name
`comment` : | the comment name
Returns : | the new instance or NULL in case of an error

### bt_machine_preset_properties_dialog_apply ()

    void                bt_machine_preset_properties_dialog_apply
                                                            (const BtMachinePresetPropertiesDialog *self);

Makes the dialog settings effective.

`self` : | the dialog which settings to apply

## Property Details

### The `"app"` property

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

Set application object, the dialog belongs to.

### The `"comment"` property

      "comment"                  gpointer              : Read / Write / Construct Only

address of preset comment.

### The `"machine"` property

      "machine"                  GstElement*           : Read / Write / Construct Only

Set machine object, the dialog handles.

### The `"name"` property

      "name"                     gpointer              : Read / Write / Construct Only

address of preset name.