|
gltk
0.3
a C++ widget library built on GLUT
|
Show files in current directory allowing navigation and selection. More...
#include <filebrowser.hh>
Public Member Functions | |
| void | set_path (std::string const &path) |
| set the current directory | |
| std::string | get_path () const |
| get the current directory | |
| sigc::signal< void, std::string > & | signal_selected () |
| signal when a file is selected, pass the name of selected file | |
Show files in current directory allowing navigation and selection.
The FileBrowser is built with a ListView and a ScrollBar packed in a Box widget.