Functions | |
MOBJECT | MCreateDirBrowser (MOBJECT parent, const char *dir, MTFont font, int width, int height, CARD16 flags) |
Creates a Directory Browser object. | |
void | MDirBrowserSetDirectory (MOBJECT obj, const char *dir, int notify) |
Changes the object's current directory. | |
const char * | MDirBrowserGetDirectory (MOBJECT db) |
Returns the object's current directory. | |
void | MDirBrowserSetDirChangeCallback (MOBJECT obj, DB_DIR_CHANGE_CB cb, void *ud) |
Sets the callback receiving directory change events. |
|
Creates a Directory Browser object. This object uses an MTree object to display the file system in a graphic form. It's used by file/directory browsing utility functions. The object is capable of notifying the file system navigation to the application via a dedicated callback.
|
|
Returns the object's current directory.
|
|
Sets the callback receiving directory change events.
|
|
Changes the object's current directory.
|