EinaFileChooserDialog

EinaFileChooserDialog — Specialized FileChooser

Synopsis

                    EinaFileChooserDialog;
enum                EinaFileChooserDialogAction;
                    EinaFileChooserDialogClass;
enum                EinaFileChooserDialogMsgType;
enum                EinaFileChooserDialogResponse;
GList *             eina_file_chooser_dialog_get_uris   (EinaFileChooserDialog *self);
EinaFileChooserDialog * eina_file_chooser_dialog_new    (GtkWindow *parent,
                                                         EinaFileChooserDialogAction action);
void                eina_file_chooser_dialog_set_msg    (EinaFileChooserDialog *self,
                                                         EinaFileChooserDialogMsgType type,
                                                         const gchar *msg);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----GtkDialog
                                       +----GtkFileChooserDialog
                                             +----EinaFileChooserDialog

Implemented Interfaces

EinaFileChooserDialog implements AtkImplementorIface, GtkBuildable and GtkFileChooser.

Description

EinaFileChooserDialog is an specialized GtkFileChooserDialog providing async, recursive and filtering URI selection.

Other UI improvements include the posibility of showing messages or canceling current operation

See also: GtkFileChooserDialog

Details

EinaFileChooserDialog

typedef struct _EinaFileChooserDialog EinaFileChooserDialog;

enum EinaFileChooserDialogAction

typedef enum {
	EINA_FILE_CHOOSER_DIALOG_ACTION_LOAD_FILES
} EinaFileChooserDialogAction;

Possible actions for the filechooser dialog

EINA_FILE_CHOOSER_DIALOG_ACTION_LOAD_FILES

Filechooser dialog will be used to load files

EinaFileChooserDialogClass

typedef struct {
	GtkFileChooserDialogClass parent_class;
} EinaFileChooserDialogClass;

enum EinaFileChooserDialogMsgType

typedef enum {
	EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_NONE,
	EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_INFO,
	EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_WARN,
	EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_ERROR
} EinaFileChooserDialogMsgType;

Possible messages types, each message type uses diferent visual indicators, p.ex. icons.

EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_NONE

No type

EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_INFO

Information message

EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_WARN

Warning message

EINA_FILE_CHOOSER_DIALOG_MSG_TYPE_ERROR

Error message

enum EinaFileChooserDialogResponse

typedef enum {
	EINA_FILE_CHOOSER_RESPONSE_QUEUE = 1,
	EINA_FILE_CHOOSER_RESPONSE_PLAY
} EinaFileChooserDialogResponse;

Possible responses from the filechooser dialog

EINA_FILE_CHOOSER_RESPONSE_QUEUE

URIs were selected for queue

EINA_FILE_CHOOSER_RESPONSE_PLAY

URIs were selected for play

eina_file_chooser_dialog_get_uris ()

GList *             eina_file_chooser_dialog_get_uris   (EinaFileChooserDialog *self);

eina_file_chooser_dialog_new ()

EinaFileChooserDialog * eina_file_chooser_dialog_new    (GtkWindow *parent,
                                                         EinaFileChooserDialogAction action);

eina_file_chooser_dialog_set_msg ()

void                eina_file_chooser_dialog_set_msg    (EinaFileChooserDialog *self,
                                                         EinaFileChooserDialogMsgType type,
                                                         const gchar *msg);