![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXFileList.h>
It automatically updates itself periodically by re-scanning the file system for any changes. As it scans the displayed directory, it automatically determines the icons to be displayed by consulting the file associations registry settings. A number of messages can be sent to the File List to control the filter pattern, sort category, sorting order, case sensitivity, and hidden file display mode. The File list widget supports drags and drops of files.
See also:
anonymous enum |
FX::FXFileList::FXFileList | ( | FXComposite * | p, | |
FXObject * | tgt = NULL , |
|||
FXSelector | sel = 0 , |
|||
FXuint | opts = 0 , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 | |||
) |
Construct a file list.
virtual FX::FXFileList::~FXFileList | ( | ) | [virtual] |
Destructor.
static FXint FX::FXFileList::ascending | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
Reimplemented from FX::FXIconList.
static FXint FX::FXFileList::descending | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
Reimplemented from FX::FXIconList.
static FXint FX::FXFileList::ascendingCase | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
Reimplemented from FX::FXIconList.
static FXint FX::FXFileList::descendingCase | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
Reimplemented from FX::FXIconList.
static FXint FX::FXFileList::ascendingType | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::descendingType | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::ascendingSize | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::descendingSize | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::ascendingTime | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::descendingTime | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::ascendingUser | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::descendingUser | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::ascendingGroup | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
static FXint FX::FXFileList::descendingGroup | ( | const FXIconItem * | a, | |
const FXIconItem * | b | |||
) | [static] |
virtual void FX::FXFileList::create | ( | ) | [virtual] |
virtual void FX::FXFileList::detach | ( | ) | [virtual] |
virtual void FX::FXFileList::destroy | ( | ) | [virtual] |
void FX::FXFileList::scan | ( | FXbool | force = TRUE |
) |
Scan the current directory and update the items if needed, or if force is TRUE.
Set current file.
FXString FX::FXFileList::getCurrentFile | ( | ) | const |
Return current file.
void FX::FXFileList::setDirectory | ( | const FXString & | path | ) |
Set current directory.
FXString FX::FXFileList::getDirectory | ( | ) | const [inline] |
Return current directory.
void FX::FXFileList::setPattern | ( | const FXString & | ptrn | ) |
Change wildcard matching pattern.
FXString FX::FXFileList::getPattern | ( | ) | const [inline] |
Return wildcard pattern.
Return full pathname of item at index.
FXFileAssoc* FX::FXFileList::getItemAssoc | ( | FXint | index | ) | const |
Return file association of item.
FXuint FX::FXFileList::getMatchMode | ( | ) | const [inline] |
Return wildcard matching mode.
void FX::FXFileList::setMatchMode | ( | FXuint | mode | ) |
Change wildcard matching mode.
FXbool FX::FXFileList::showHiddenFiles | ( | ) | const |
Return TRUE if showing hidden files.
void FX::FXFileList::showHiddenFiles | ( | FXbool | showing | ) |
Show or hide hidden files.
FXbool FX::FXFileList::showOnlyDirectories | ( | ) | const |
Return TRUE if showing directories only.
void FX::FXFileList::showOnlyDirectories | ( | FXbool | shown | ) |
Show directories only.
FXbool FX::FXFileList::showOnlyFiles | ( | ) | const |
Return TRUE if showing files only.
void FX::FXFileList::showOnlyFiles | ( | FXbool | shown | ) |
Show files only.
FXbool FX::FXFileList::showImages | ( | ) | const |
Return TRUE if image preview on.
void FX::FXFileList::showImages | ( | FXbool | showing | ) |
Show or hide preview images.
FXint FX::FXFileList::getImageSize | ( | ) | const [inline] |
Return images preview size.
void FX::FXFileList::setImageSize | ( | FXint | size | ) |
Change images preview size.
FXbool FX::FXFileList::showParents | ( | ) | const |
Return TRUE if showing parent directories.
void FX::FXFileList::showParents | ( | FXbool | shown | ) |
Show parent directories.
void FX::FXFileList::setAssociations | ( | FXFileDict * | assoc | ) |
Change file associations.
FXFileDict* FX::FXFileList::getAssociations | ( | ) | const [inline] |
Return file associations.
virtual void FX::FXFileList::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXFileList::load | ( | FXStream & | store | ) | [virtual] |
![]() |