## SwamiguiPanelSF2Gen SwamiguiPanelSF2Gen |

## Synopsis

                        SwamiguiPanelSF2GenCtrlInfo;
                        SwamiguiPanelSF2Gen;
    enum                SwamiguiPanelSF2GenOp;
    GtkWidget *         swamigui_panel_sf2_gen_new          (void);
    void                swamigui_panel_sf2_gen_set_controls (SwamiguiPanelSF2Gen *genpanel,
                                                             SwamiguiPanelSF2GenCtrlInfo *ctrlinfo);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkScrolledWindow
                                           +----SwamiguiPanelSF2Gen
                                                 +----SwamiguiPanelSF2GenMisc
                                                 +----SwamiguiPanelSF2GenEnv

## Implemented Interfaces

SwamiguiPanelSF2Gen implements AtkImplementorIface, GtkBuildable and SwamiguiPanel.

## Description

## Details

### SwamiguiPanelSF2GenCtrlInfo

    typedef struct {
      guint8 genid;
      char *icon;
    } SwamiguiPanelSF2GenCtrlInfo;

guint8 `genid`; | Generator ID or value from SwamiguiPanelSF2GenOp
char *`icon`; | Icon name or other string value (label text for example)

### SwamiguiPanelSF2Gen

    typedef struct _SwamiguiPanelSF2Gen SwamiguiPanelSF2Gen;

### enum SwamiguiPanelSF2GenOp

    typedef enum
    {
      SWAMIGUI_PANEL_SF2_GEN_LABEL = 200,
      SWAMIGUI_PANEL_SF2_GEN_COLUMN,
      SWAMIGUI_PANEL_SF2_GEN_END                 /* End of list */
    } SwamiguiPanelSF2GenOp;

### swamigui_panel_sf2_gen_new ()

    GtkWidget *         swamigui_panel_sf2_gen_new          (void);

Create a new generator control panel object.

Returns : | new widget of type SwamiguiPanelSF2Gen

### swamigui_panel_sf2_gen_set_controls ()

    void                swamigui_panel_sf2_gen_set_controls (SwamiguiPanelSF2Gen *genpanel,
                                                             SwamiguiPanelSF2GenCtrlInfo *ctrlinfo);

Configure a SoundFont generator control panel from an array of control info. `ctrlinfo` array should be terminated with a SWAMIGUI_PANEL_SF2_GEN_END genid item.

`genpanel` : | Generator control panel
`ctrlinfo` : | Array of control info to configure panel with (should be static)