Class Fox::FXFileList
In: rdoc-sources/FXFileList.rb
Parent: FXIconList

File List object

File List options

FILELIST_SHOWHIDDEN:Show hidden files or directories
FILELIST_SHOWDIRS:Show only directories
FILELIST_SHOWFILES:Show only files
FILELIST_NO_OWN_ASSOC:Do not create associations for files

Message identifiers

ID_SORT_BY_NAME:x
ID_SORT_BY_TYPE:x
ID_SORT_BY_SIZE:x
ID_SORT_BY_TIME:x
ID_SORT_BY_USER:x
ID_SORT_BY_GROUP:x
ID_SORT_REVERSE:x
ID_DIRECTORY_UP:x
ID_SET_PATTERN:x
ID_SET_DIRECTORY:x
ID_SHOW_HIDDEN:x
ID_HIDE_HIDDEN:x
ID_TOGGLE_HIDDEN:x
ID_REFRESHTIMER:x
ID_OPENTIMER:x

Methods

Attributes

associations  [RW]  File associations [FXFileDict]
currentFile  [RW]  Current file [String]
directory  [RW]  Current directory [String]
matchMode  [RW]  Wildcard matching mode [Integer]
pattern  [RW]  Wildcard matching pattern [String]

Public Class methods

Public Instance methods

Show or hide hidden files.

Return true if showing hidden files.

Return file association of item at index. Raises IndexError if index is out of bounds.

Return true if item is a directory. Raises IndexError if index is out of bounds.

Return true if item is executable. Raises IndexError if index is out of bounds.

Return true if item is a file. Raises IndexError if index is out of bounds.

Return name of item at index. Raises IndexError if index is out of bounds.

Return full pathname of item at index. Raises IndexError if index is out of bounds.

Return true if item is a share. Raises IndexError if index is out of bounds.

Show directories only.

Return true if showing directories only.

Show files only.

Return true if showing files only.

Scan the current directory and update the items if needed, or if force is true.

[Validate]