Class Fox::FXDirSelector
In: rdoc-sources/FXDirSelector.rb
Parent: FXPacker

The FXDirSelector widget is the reusable mega-widget component which is the core of the FXDirDialog. The function of the directory selector widget is very similar to the file selector widget, except that the directory selector widget displays a tree-structured view of the file system, and thereby makes up and down navigation through the file system significantly easier.

Message identifiers

ID_DIRNAME:x
ID_DIRLIST:x
ID_HOME:x
ID_WORK:x
ID_DIRECTORY_UP:x
ID_BOOKMARK:x
ID_VISIT:x
ID_NEW:x
ID_DELETE:x
ID_MOVE:x
ID_COPY:x
ID_LINK:x

Methods

Attributes

acceptButton  [R]  The "Accept" button [FXButton]
cancelButton  [R]  The "Cancel" button [FXButton]
dirBoxStyle  [RW]  Directory list style [Integer]
directory  [RW]  Directory [String]
matchMode  [RW]  Wildcard matching mode, some combination of file matching flags [Integer]

Public Class methods

Public Instance methods

If state is true, the directory selector will show files as well as directories; otherwise, it will only show directories.

Return true if showing files as well as directories

If state is true, the directory selector will show hidden files and directories; otherwise, it won‘t.

Return true if showing hidden files and directories

[Validate]