Inheritance diagram for FileSelection:
Public Member Functions | |
this (char[] title) | |
Creates a new File selection dialog. | |
void | setFileName (char[] filename) |
Sets the default file selected. | |
String | getFileName () |
This function returns the selected filename in the C runtime's multibyte string encoding, which may or may not be the same as that used by GDK (UTF-8). | |
void | complete (char[] pattern) |
Sets a pattern of the files to show. | |
void | showButtons () |
Shows common action buttons(create dir...). | |
void | hideButtons () |
Hides common action buttons(create dir...). | |
String[] | getSelections () |
Gets all the selected file names. | |
void | setMultiple (bit select_multiple) |
Set if multiple selection are allowed. | |
bit | getMultiple () |
Checks mutiple selectetion are allowed. | |
Static Public Member Functions | |
GType | getType () |
Gets this class type. |
|
Sets a pattern of the files to show.
|
|
This function returns the selected filename in the C runtime's multibyte string encoding, which may or may not be the same as that used by GDK (UTF-8). To convert to UTF-8, call g_filename_to_utf8(). The returned string points to a statically allocated buffer and should be copied away. |
|
Checks mutiple selectetion are allowed.
|
|
Gets all the selected file names.
|
|
Gets this class type.
Reimplemented from Dialog. |
|
Hides common action buttons(create dir...).
|
|
Sets the default file selected.
|
|
Set if multiple selection are allowed.
|
|
Shows common action buttons(create dir...).
|
|
Creates a new File selection dialog.
Reimplemented from Dialog. |