Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
module Fox
#
# 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
#
class FXDirSelector < FXPacker
# The "Accept" button [FXButton]
attr_reader :acceptButton
# The "Cancel" button [FXButton]
attr_reader :cancelButton
# Directory [String]
attr_accessor :directory
# Wildcard matching mode, some combination of file matching flags [Integer]
attr_accessor :matchMode
# Directory list style [Integer]
attr_accessor :dirBoxStyle
# Return an initialized FXDirSelector instance
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theDirSelector
end
# Return +true+ if showing files as well as directories
def filesShown?; end
#
# If _state_ is +true+, the directory selector will show files as well as
# directories; otherwise, it will only show directories.
#
def filesShown=(state); end
# Return +true+ if showing hidden files and directories
def hiddenFilesShown?; end
#
# If _state_ is +true+, the directory selector will show hidden files and
# directories; otherwise, it won't.
#
def hiddenFilesShown=(state); end
end
end