gltk 0.3
a C++ widget library built on GLUT
Public Member Functions
gltk::FileBrowser Class Reference

Show files in current directory allowing navigation and selection. More...

#include <filebrowser.hh>

Inheritance diagram for gltk::FileBrowser:
gltk::Box gltk::Container gltk::Widget

List of all members.

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

Detailed Description

Show files in current directory allowing navigation and selection.

The FileBrowser is built with a ListView and a ScrollBar packed in a Box widget.

FileBrowser.png
Examples:

fbtest.cc.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator