Public Member Functions | |
XFileEntry (int fileAttrs=YGP::IDirectorySearch::FILE_NORMAL) | |
~XFileEntry () | |
Protected Member Functions | |
virtual bool | on_key_press_event (GdkEventKey *ev) |
Of course, only if the entered part is a valid file; a behaviour analogue to the web browsers.
During construction the type of files to complete can be specified. See the documentation of IDirectorySearch for details.
XGP::XFileEntry::XFileEntry | ( | int | fileAttrs = YGP::IDirectorySearch::FILE_NORMAL |
) | [inline] |
Constructor.
fileAttrs | Attributes the files to display must have (default: Normal files, no directories) |
XGP::XFileEntry::~XFileEntry | ( | ) | [inline] |
Destructor.
bool XGP::XFileEntry::on_key_press_event | ( | GdkEventKey * | ev | ) | [protected, virtual] |
Handling of the pressed key; Tries to complete the input to the first file matching the input.
ev | Event, containing input-information |