BtPatternPropertiesDialog

BtPatternPropertiesDialog — pattern settings

Synopsis

#include "bt-edit.h"

struct              BtPatternPropertiesDialog;
BtPatternPropertiesDialog * bt_pattern_properties_dialog_new
                                                        (const BtPattern *pattern);
void                bt_pattern_properties_dialog_apply  (const BtPatternPropertiesDialog *self);

Object Hierarchy

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

Implemented Interfaces

BtPatternPropertiesDialog implements AtkImplementorIface and GtkBuildable.

Properties

  "length"                   gulong                : Read
  "name"                     gchar*                : Read
  "pattern"                  BtPattern*            : Write / Construct Only
  "voices"                   gulong                : Read

Description

A dialog to (re)configure a BtPattern.

Details

struct BtPatternPropertiesDialog

struct BtPatternPropertiesDialog;

the pattern settings dialog


bt_pattern_properties_dialog_new ()

BtPatternPropertiesDialog * bt_pattern_properties_dialog_new
                                                        (const BtPattern *pattern);

Create a new instance

pattern :

the pattern for which to create the dialog for

Returns :

the new instance

bt_pattern_properties_dialog_apply ()

void                bt_pattern_properties_dialog_apply  (const BtPatternPropertiesDialog *self);

Makes the dialog settings effective.

self :

the dialog which settings to apply

Property Details

The "length" property

  "length"                   gulong                : Read

length of the pattern in ticks.

Allowed values: >= 1


The "name" property

  "name"                     gchar*                : Read

the display-name of the pattern.

Default value: "unamed"


The "pattern" property

  "pattern"                  BtPattern*            : Write / Construct Only

Set pattern object, the dialog handles.


The "voices" property

  "voices"                   gulong                : Read

number of voices in the pattern.