XGP::XFileEntry Class Reference

Enhances the ordinary entry field with completing the input to the first file matching it. More...

List of all members.

Public Member Functions

 XFileEntry (int fileAttrs=YGP::IDirectorySearch::FILE_NORMAL)
 ~XFileEntry ()

Protected Member Functions

virtual bool on_key_press_event (GdkEventKey *ev)


Detailed Description

Enhances the ordinary entry field with completing the input to the first file matching it.

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.


Constructor & Destructor Documentation

XGP::XFileEntry::XFileEntry ( int  fileAttrs = YGP::IDirectorySearch::FILE_NORMAL  )  [inline]

Constructor.

Parameters:
fileAttrs Attributes the files to display must have (default: Normal files, no directories)

XGP::XFileEntry::~XFileEntry (  )  [inline]

Destructor.


Member Function Documentation

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.

Parameters:
ev Event, containing input-information


The documentation for this class was generated from the following files:

XGP Version 0.9.31 - Generated on Wed Nov 18 11:25:30 2009 by doxygen 1.5.8