Standard file open and file save dialogs.
More...
Go to the source code of this file.
Standard file open and file save dialogs.
Definition in file gp_dialog_file.h.
◆ gp_dialog_file_open_new()
Creates a file open dialog.
- Parameters
-
path | An initial path for the dialog, set it to NULL for default. |
opts | Additional options for the dialog. |
- Returns
- Newly allocated dialog that can be executed by gp_dialog_run();
◆ gp_dialog_file_path()
const char * gp_dialog_file_path |
( |
gp_dialog * |
self | ) |
|
Returns a file path for the file dalogs.
- Parameters
-
self | A file open or file save dialog. |
- Returns
- A string that is valid until dialog is destroyed.
◆ gp_dialog_file_save_new()
Creates a file save dialog.
- Parameters
-
path | An initial path for the dialog, set it to NULL for default. |
opts | Flags and extension hints. |
- Returns
- Newly allocated dialog that can be executed by gp_dialog_run();