| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define AGS_FILE_SELECTION_ENTRY (strct) struct AgsFileSelection; struct AgsFileSelectionClass; struct AgsFileSelectionEntry; enum AgsFileSelectionFlags;void ags_file_selection_add_entry (AgsFileSelection *file_selection,);GtkWidget *widgetvoid ags_file_selection_completed (AgsFileSelection *file_selection);gboolean ags_file_selection_contains_file (AgsFileSelection *file_selection,); AgsFileSelectionEntry * ags_file_selection_entry_alloc (); AgsFileSelection * ags_file_selection_new ();gchar *filenamevoid ags_file_selection_remove_entry (AgsFileSelection *file_selection,);GtkWidget *widgetvoid ags_file_selection_set_entry (AgsFileSelection *file_selection,);GList *entry
#define AGS_FILE_SELECTION_ENTRY(strct) ((AgsFileSelectionEntry *) (strct))
struct AgsFileSelection {
GtkVBox vbox;
guint flags;
gchar *directory;
guint entry_count;
GList *entry;
GtkLabel *chosed;
GtkLabel *selected;
};
struct AgsFileSelectionClass {
GtkVBoxClass vbox;
void (*add_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
void (*remove_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
void (*completed)(AgsFileSelection *file_selection);
};
struct AgsFileSelectionEntry {
GtkTable *table;
GtkWidget *entry;
gboolean chosed;
gchar *filename;
GtkSpinButton *nth_sample;
GtkSpinButton *nth_channel;
GtkSpinButton *count;
};
typedef enum {
AGS_FILE_SELECTION_COMPLETED = 1,
} AgsFileSelectionFlags;
void ags_file_selection_add_entry (AgsFileSelection *file_selection,);GtkWidget *widget
void ags_file_selection_completed (AgsFileSelection *file_selection);
gboolean ags_file_selection_contains_file (AgsFileSelection *file_selection,);gchar *filename
void ags_file_selection_remove_entry (AgsFileSelection *file_selection,);GtkWidget *widget
void ags_file_selection_set_entry (AgsFileSelection *file_selection,);GList *entry
Add new entries to the AgsFileSelection.