Data Structures | |
struct | Ewl_Fileselector |
Creates a fileselector with one tree for dirs and one for files. More... | |
struct | Ewl_Fileselector |
Creates a fileselector with one tree for dirs and one for files. More... | |
Defines | |
#define | EWL_FILESELECTOR(fs) ((Ewl_Fileselector *) fs) |
Typecasts a pointer to an Ewl_Fileselector pointer. | |
Typedefs | |
typedef Ewl_Fileselector | Ewl_Fileselector |
The Ewl_Fileselector provides a fileselector. | |
Functions | |
Ewl_Widget * | ewl_fileselector_new () |
Create a new fileselector. | |
void | ewl_fileselector_init (Ewl_Fileselector *fs) |
Initalize the fileselector. | |
char * | ewl_fileselector_path_get (Ewl_Fileselector *fs) |
Retrieve the current fileselector path. | |
char * | ewl_fileselector_file_get (Ewl_Fileselector *fs) |
Retrieve the selected filename. | |
void | ewl_fileselector_path_set (Ewl_Fileselector *fs, char *path) |
Prosess the given directory / change the fileselector dir. |
The selector triggers a EWL_CALLBACK_VALUE_CHANGED callback when either a click causes the selected file to change, when a double click causes the currently displayed directory to change, or when a double click on a file occurs to signal an open. The event data passed to the callback is NULL, unless the double click event occurred on a file, in which case it is the file's path.
|
Retrieve the selected filename.
|
|
Initalize the fileselector.
|
|
Create a new fileselector.
|
|
Retrieve the current fileselector path.
|
|
Prosess the given directory / change the fileselector dir.
|