comparison gtk/dw.c @ 449:787cc1e27897

Add support for directory browsing under Win32. DW_DIRECTORY_OPEN can be passed as a flag to dw_file_open() and under Windows a folder select dialog is displayed. No change for GTK; don't know about OS/2 or MAC.
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 17 Jun 2003 01:45:58 +0000
parents 5a0779561d0f
children f9ba403b15ad
comparison
equal deleted inserted replaced
448:e81af9e60697 449:787cc1e27897
7590 * Opens a file dialog and queries user selection. 7590 * Opens a file dialog and queries user selection.
7591 * Parameters: 7591 * Parameters:
7592 * title: Title bar text for dialog. 7592 * title: Title bar text for dialog.
7593 * defpath: The default path of the open dialog. 7593 * defpath: The default path of the open dialog.
7594 * ext: Default file extention. 7594 * ext: Default file extention.
7595 * flags: DW_FILE_OPEN or DW_FILE_SAVE. 7595 * flags: DW_FILE_OPEN or DW_FILE_SAVE or DW_DIRECTORY_OPEN
7596 * Returns: 7596 * Returns:
7597 * NULL on error. A malloced buffer containing 7597 * NULL on error. A malloced buffer containing
7598 * the file path on success. 7598 * the file path on success.
7599 * 7599 *
7600 */ 7600 */