SwamiguiMultiSave

SwamiguiMultiSave

Synopsis

                    SwamiguiMultiSave;
enum                SwamiguiMultiSaveFlags;
GtkWidget *         swamigui_multi_save_new             (char *title,
                                                         char *message,
                                                         guint flags);
void                swamigui_multi_save_set_selection   (SwamiguiMultiSave *multi,
                                                         IpatchList *selection);

Object Hierarchy

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

Implemented Interfaces

SwamiguiMultiSave implements AtkImplementorIface and GtkBuildable.

Description

Details

SwamiguiMultiSave

typedef struct _SwamiguiMultiSave SwamiguiMultiSave;

enum SwamiguiMultiSaveFlags

typedef enum
{
  SWAMIGUI_MULTI_SAVE_CLOSE_MODE = 1 << 0
} SwamiguiMultiSaveFlags;

Some flags for use with swamigui_multi_save_new().

SWAMIGUI_MULTI_SAVE_CLOSE_MODE

Files will be closed upon dialog confirm and accept button is changed to a "Close" button.

swamigui_multi_save_new ()

GtkWidget *         swamigui_multi_save_new             (char *title,
                                                         char *message,
                                                         guint flags);

Create a new multi file save dialog.

title :

Title of dialog

message :

Message text

flags :

A value from SwamiguiMultiSaveFlags or 0

Returns :

New dialog widget.

swamigui_multi_save_set_selection ()

void                swamigui_multi_save_set_selection   (SwamiguiMultiSave *multi,
                                                         IpatchList *selection);

Set the item selection of a multi save dialog. This is the list of items that the user is prompted to save.

multi :

Multi save widget

selection :

Selection of items to save (only IpatchBase items or children thereof are considered, children are followed up to their parent IpatchBase, duplicates are taken into account).