14#ifndef GP_DIALOG_FILE_H
15#define GP_DIALOG_FILE_H
19enum gp_dialog_file_open_exit {
20 GP_WIDGET_DIALOG_PATH = 1,
21 GP_WIDGET_DIALOG_CANCEL = 2,
28 GP_DIALOG_OPEN_FILE = 0x01,
29 GP_DIALOG_OPEN_DIR = 0x02,
gp_dialog * gp_dialog_file_open_new(const char *path, const gp_dialog_file_opts *opts)
Creates a file open dialog.
gp_dialog * gp_dialog_file_save_new(const char *path, const gp_dialog_file_opts *opts)
Creates a file save dialog.
const char * gp_dialog_file_path(gp_dialog *self)
Returns a file path for the file dalogs.
gp_dialog_file_open_flags
Open file or directory.
const char *const * ext_hints
enum gp_dialog_file_open_flags flags