swamigui Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
SwamiguiPanelSF2GenCtrlInfo; SwamiguiPanelSF2Gen; enum SwamiguiPanelSF2GenOp; GtkWidget * swamigui_panel_sf2_gen_new (void
); void swamigui_panel_sf2_gen_set_controls (SwamiguiPanelSF2Gen *genpanel
,SwamiguiPanelSF2GenCtrlInfo *ctrlinfo
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow +----SwamiguiPanelSF2Gen +----SwamiguiPanelSF2GenMisc +----SwamiguiPanelSF2GenEnv
SwamiguiPanelSF2Gen implements AtkImplementorIface, GtkBuildable and SwamiguiPanel.
typedef struct { guint8 genid; char *icon; } SwamiguiPanelSF2GenCtrlInfo;
guint8 |
Generator ID or value from SwamiguiPanelSF2GenOp |
Icon name or other string value (label text for example) |
typedef enum { SWAMIGUI_PANEL_SF2_GEN_LABEL = 200, SWAMIGUI_PANEL_SF2_GEN_COLUMN, SWAMIGUI_PANEL_SF2_GEN_END /* End of list */ } SwamiguiPanelSF2GenOp;
GtkWidget * swamigui_panel_sf2_gen_new (void
);
Create a new generator control panel object.
Returns : |
new widget of type SwamiguiPanelSF2Gen |
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.
|
Generator control panel |
|
Array of control info to configure panel with (should be static) |