fxruby 1.6.22-x86-mingw32 → 1.6.23-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +14 -0
- data/.yardopts +8 -0
- data/History.txt +6 -0
- data/Manifest.txt +317 -24
- data/README.git +3 -0
- data/README.rdoc +537 -0
- data/Rakefile +62 -46
- data/Rakefile.cross +397 -0
- data/doap.rdf +3 -3
- data/doap.rdf.erb +87 -0
- data/examples/WhatAQuietStiff.rb +356 -0
- data/examples/canvasdemo.rb +88 -0
- data/examples/gdchart.rb +76 -0
- data/examples/gembrowser.rb +289 -0
- data/examples/rmagick.rb +44 -0
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16/canvas.rb +606 -0
- data/lib/fox16/irb.rb +1 -0
- data/lib/fox16/splashscreen.rb +1 -0
- data/lib/fox16/tkcompat.rb +56 -0
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +44 -44
- data/rdoc-sources/FX7Segment.rb +3 -3
- data/rdoc-sources/FXAccelTable.rb +1 -1
- data/rdoc-sources/FXApp.rb +51 -51
- data/rdoc-sources/FXArrowButton.rb +6 -6
- data/rdoc-sources/FXBMPIcon.rb +12 -12
- data/rdoc-sources/FXBMPImage.rb +6 -6
- data/rdoc-sources/FXBitmap.rb +9 -9
- data/rdoc-sources/FXBitmapFrame.rb +3 -3
- data/rdoc-sources/FXBitmapView.rb +12 -12
- data/rdoc-sources/FXButton.rb +5 -5
- data/rdoc-sources/FXCanvas.rb +4 -4
- data/rdoc-sources/FXCheckButton.rb +7 -7
- data/rdoc-sources/FXChoiceBox.rb +16 -16
- data/rdoc-sources/FXColorBar.rb +9 -9
- data/rdoc-sources/FXColorDialog.rb +4 -4
- data/rdoc-sources/FXColorList.rb +1 -1
- data/rdoc-sources/FXColorRing.rb +4 -4
- data/rdoc-sources/FXColorSelector.rb +38 -38
- data/rdoc-sources/FXColorWell.rb +15 -15
- data/rdoc-sources/FXColorWheel.rb +8 -8
- data/rdoc-sources/FXComboBox.rb +24 -24
- data/rdoc-sources/FXCursor.rb +12 -12
- data/rdoc-sources/FXDC.rb +176 -176
- data/rdoc-sources/FXDCPrint.rb +20 -20
- data/rdoc-sources/FXDCWindow.rb +2 -2
- data/rdoc-sources/FXDataTarget.rb +1 -1
- data/rdoc-sources/FXDebugTarget.rb +1 -1
- data/rdoc-sources/FXDelegator.rb +2 -2
- data/rdoc-sources/FXDial.rb +9 -9
- data/rdoc-sources/FXDialogBox.rb +3 -3
- data/rdoc-sources/FXDict.rb +2 -3
- data/rdoc-sources/FXDirBox.rb +2 -2
- data/rdoc-sources/FXDirList.rb +14 -14
- data/rdoc-sources/FXDirSelector.rb +14 -14
- data/rdoc-sources/FXDockBar.rb +35 -35
- data/rdoc-sources/FXDockHandler.rb +2 -2
- data/rdoc-sources/FXDockSite.rb +11 -11
- data/rdoc-sources/FXDockTitle.rb +2 -2
- data/rdoc-sources/FXDocument.rb +2 -2
- data/rdoc-sources/FXDragCorner.rb +2 -2
- data/rdoc-sources/FXDrawable.rb +5 -5
- data/rdoc-sources/FXDriveBox.rb +3 -3
- data/rdoc-sources/FXFileDialog.rb +24 -24
- data/rdoc-sources/FXFileDict.rb +11 -11
- data/rdoc-sources/FXFileList.rb +25 -25
- data/rdoc-sources/FXFileSelector.rb +31 -31
- data/rdoc-sources/FXFileStream.rb +3 -3
- data/rdoc-sources/FXFoldingList.rb +76 -76
- data/rdoc-sources/FXFont.rb +133 -133
- data/rdoc-sources/FXFontDialog.rb +1 -1
- data/rdoc-sources/FXFontSelector.rb +14 -14
- data/rdoc-sources/FXFrame.rb +5 -5
- data/rdoc-sources/FXGIFCursor.rb +6 -6
- data/rdoc-sources/FXGIFIcon.rb +6 -6
- data/rdoc-sources/FXGIFImage.rb +5 -5
- data/rdoc-sources/FXGLContext.rb +1 -1
- data/rdoc-sources/FXGLObject.rb +8 -8
- data/rdoc-sources/FXGLShape.rb +23 -23
- data/rdoc-sources/FXGLViewer.rb +51 -51
- data/rdoc-sources/FXGLVisual.rb +1 -0
- data/rdoc-sources/FXGradientBar.rb +31 -31
- data/rdoc-sources/FXGroupBox.rb +6 -6
- data/rdoc-sources/FXHeader.rb +30 -33
- data/rdoc-sources/FXHorizontalFrame.rb +12 -12
- data/rdoc-sources/FXICOIcon.rb +14 -14
- data/rdoc-sources/FXICOImage.rb +5 -5
- data/rdoc-sources/FXIcon.rb +7 -7
- data/rdoc-sources/FXIconDict.rb +1 -0
- data/rdoc-sources/FXIconList.rb +60 -60
- data/rdoc-sources/FXId.rb +1 -1
- data/rdoc-sources/FXImage.rb +49 -49
- data/rdoc-sources/FXImageFrame.rb +12 -12
- data/rdoc-sources/FXImageView.rb +10 -10
- data/rdoc-sources/FXInputDialog.rb +4 -4
- data/rdoc-sources/FXJPGIcon.rb +13 -13
- data/rdoc-sources/FXJPGImage.rb +5 -5
- data/rdoc-sources/FXKnob.rb +12 -12
- data/rdoc-sources/FXLabel.rb +3 -3
- data/rdoc-sources/FXList.rb +31 -31
- data/rdoc-sources/FXListBox.rb +7 -7
- data/rdoc-sources/FXMDIChild.rb +24 -24
- data/rdoc-sources/FXMDIClient.rb +1 -1
- data/rdoc-sources/FXMatrix.rb +2 -2
- data/rdoc-sources/FXMemoryBuffer.rb +1 -1
- data/rdoc-sources/FXMemoryStream.rb +1 -1
- data/rdoc-sources/FXMenuButton.rb +20 -19
- data/rdoc-sources/FXMenuCaption.rb +9 -9
- data/rdoc-sources/FXMenuCascade.rb +1 -1
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +2 -2
- data/rdoc-sources/FXMenuSeparator.rb +2 -2
- data/rdoc-sources/FXMenuTitle.rb +5 -5
- data/rdoc-sources/FXMessageBox.rb +16 -16
- data/rdoc-sources/FXOptionMenu.rb +14 -14
- data/rdoc-sources/FXPCXIcon.rb +12 -12
- data/rdoc-sources/FXPCXImage.rb +5 -5
- data/rdoc-sources/FXPNGIcon.rb +12 -12
- data/rdoc-sources/FXPNGImage.rb +5 -5
- data/rdoc-sources/FXPPMIcon.rb +6 -6
- data/rdoc-sources/FXPPMImage.rb +5 -5
- data/rdoc-sources/FXPacker.rb +4 -4
- data/rdoc-sources/FXPopup.rb +5 -5
- data/rdoc-sources/FXPrintDialog.rb +21 -21
- data/rdoc-sources/FXProgressBar.rb +10 -10
- data/rdoc-sources/FXProgressDialog.rb +3 -3
- data/rdoc-sources/FXQuatd.rb +19 -19
- data/rdoc-sources/FXQuatf.rb +23 -23
- data/rdoc-sources/FXRGBIcon.rb +13 -13
- data/rdoc-sources/FXRGBImage.rb +5 -5
- data/rdoc-sources/FXRadioButton.rb +10 -10
- data/rdoc-sources/FXRanged.rb +2 -2
- data/rdoc-sources/FXRangef.rb +2 -2
- data/rdoc-sources/FXRealSlider.rb +33 -33
- data/rdoc-sources/FXRealSpinner.rb +31 -31
- data/rdoc-sources/FXRecentFiles.rb +14 -14
- data/rdoc-sources/FXRectangle.rb +22 -22
- data/rdoc-sources/FXRegistry.rb +3 -3
- data/rdoc-sources/FXReplaceDialog.rb +20 -20
- data/rdoc-sources/FXRootWindow.rb +2 -2
- data/rdoc-sources/FXRuler.rb +28 -28
- data/rdoc-sources/FXRulerView.rb +5 -5
- data/rdoc-sources/FXScrollArea.rb +27 -27
- data/rdoc-sources/FXScrollBar.rb +26 -26
- data/rdoc-sources/FXScrollPane.rb +3 -3
- data/rdoc-sources/FXScrollWindow.rb +6 -6
- data/rdoc-sources/FXSearchDialog.rb +8 -8
- data/rdoc-sources/FXSeparator.rb +24 -24
- data/rdoc-sources/FXSettings.rb +44 -44
- data/rdoc-sources/FXShutter.rb +35 -35
- data/rdoc-sources/FXSize.rb +14 -14
- data/rdoc-sources/FXSlider.rb +33 -33
- data/rdoc-sources/FXSphered.rb +2 -2
- data/rdoc-sources/FXSpheref.rb +2 -2
- data/rdoc-sources/FXSpinner.rb +30 -30
- data/rdoc-sources/FXSplashWindow.rb +5 -5
- data/rdoc-sources/FXSplitter.rb +18 -18
- data/rdoc-sources/FXSpring.rb +15 -15
- data/rdoc-sources/FXStatusBar.rb +14 -14
- data/rdoc-sources/FXStatusLine.rb +7 -7
- data/rdoc-sources/FXStream.rb +20 -20
- data/rdoc-sources/FXSwitcher.rb +23 -23
- data/rdoc-sources/FXTGAIcon.rb +12 -12
- data/rdoc-sources/FXTGAImage.rb +5 -5
- data/rdoc-sources/FXTIFIcon.rb +13 -13
- data/rdoc-sources/FXTIFImage.rb +5 -5
- data/rdoc-sources/FXTabBar.rb +31 -31
- data/rdoc-sources/FXTabBook.rb +13 -13
- data/rdoc-sources/FXTabItem.rb +22 -22
- data/rdoc-sources/FXTable.rb +148 -148
- data/rdoc-sources/FXText.rb +91 -91
- data/rdoc-sources/FXTextField.rb +39 -39
- data/rdoc-sources/FXToggleButton.rb +32 -32
- data/rdoc-sources/FXToolBar.rb +25 -25
- data/rdoc-sources/FXToolBarGrip.rb +12 -12
- data/rdoc-sources/FXToolBarShell.rb +13 -13
- data/rdoc-sources/FXToolBarTab.rb +16 -16
- data/rdoc-sources/FXTopWindow.rb +18 -18
- data/rdoc-sources/FXTranslator.rb +1 -1
- data/rdoc-sources/FXTreeList.rb +66 -66
- data/rdoc-sources/FXTreeListBox.rb +20 -20
- data/rdoc-sources/FXTriStateButton.rb +23 -23
- data/rdoc-sources/FXVec2d.rb +1 -1
- data/rdoc-sources/FXVec2f.rb +1 -1
- data/rdoc-sources/FXVec3d.rb +1 -1
- data/rdoc-sources/FXVec3f.rb +1 -1
- data/rdoc-sources/FXVec4d.rb +1 -1
- data/rdoc-sources/FXVec4f.rb +1 -1
- data/rdoc-sources/FXVerticalFrame.rb +12 -12
- data/rdoc-sources/FXVisual.rb +19 -19
- data/rdoc-sources/FXWindow.rb +96 -96
- data/rdoc-sources/FXWizard.rb +9 -9
- data/rdoc-sources/FXXBMIcon.rb +7 -7
- data/rdoc-sources/FXXBMImage.rb +6 -6
- data/rdoc-sources/FXXPMIcon.rb +13 -13
- data/rdoc-sources/FXXPMImage.rb +5 -5
- data/rdoc-sources/Makefile +3 -3
- metadata +44 -31
- data/README +0 -39
- data/README.txt +0 -483
data/rdoc-sources/FXDCPrint.rb
CHANGED
@@ -26,27 +26,27 @@ module Fox
|
|
26
26
|
#
|
27
27
|
# === Printer flags
|
28
28
|
#
|
29
|
-
# +PRINT_DEST_PAPER+::
|
30
|
-
# +PRINT_DEST_FILE+::
|
31
|
-
# +PRINT_PAGES_ALL+::
|
32
|
-
# +PRINT_PAGES_EVEN+::
|
33
|
-
# +PRINT_PAGES_ODD+::
|
34
|
-
# +PRINT_PAGES_RANGE+::
|
35
|
-
# +PRINT_COLLATE_NORMAL+::
|
36
|
-
# +PRINT_COLLATE_REVERSED+::
|
37
|
-
# +PRINT_PORTRAIT+::
|
38
|
-
# +PRINT_LANDSCAPE+::
|
39
|
-
# +PRINT_BLACKANDWHITE+::
|
40
|
-
# +PRINT_COLOR+::
|
41
|
-
# +PRINT_NOBOUNDS+::
|
29
|
+
# +PRINT_DEST_PAPER+:: Send print to paper
|
30
|
+
# +PRINT_DEST_FILE+:: Send print to file
|
31
|
+
# +PRINT_PAGES_ALL+:: Print all pages
|
32
|
+
# +PRINT_PAGES_EVEN+:: Print even pages only
|
33
|
+
# +PRINT_PAGES_ODD+:: Print odd pages only
|
34
|
+
# +PRINT_PAGES_RANGE+:: Print range of pages
|
35
|
+
# +PRINT_COLLATE_NORMAL+:: Normal collate order
|
36
|
+
# +PRINT_COLLATE_REVERSED+:: Reversed collate order
|
37
|
+
# +PRINT_PORTRAIT+:: Portrait orientation
|
38
|
+
# +PRINT_LANDSCAPE+:: Landscape orientation
|
39
|
+
# +PRINT_BLACKANDWHITE+:: Black and white output
|
40
|
+
# +PRINT_COLOR+:: Color output
|
41
|
+
# +PRINT_NOBOUNDS+:: Must determine bounding box
|
42
42
|
#
|
43
43
|
# === Printer media size
|
44
44
|
#
|
45
|
-
# +MEDIA_CUSTOM+::
|
46
|
-
# +MEDIA_USLETTER+::
|
47
|
-
# +MEDIA_LEGAL+::
|
48
|
-
# +MEDIA_A4+::
|
49
|
-
# +MEDIA_ENVELOPE+::
|
45
|
+
# +MEDIA_CUSTOM+:: Custom paper size
|
46
|
+
# +MEDIA_USLETTER+:: US Letter size
|
47
|
+
# +MEDIA_LEGAL+:: US Legal size
|
48
|
+
# +MEDIA_A4+:: A4
|
49
|
+
# +MEDIA_ENVELOPE+:: #10 Envelope
|
50
50
|
#
|
51
51
|
class FXPrinter
|
52
52
|
# Printer name [String]
|
@@ -111,13 +111,13 @@ module Fox
|
|
111
111
|
|
112
112
|
#
|
113
113
|
# Generate print job epilog.
|
114
|
-
# See also #beginPrint.
|
114
|
+
# See also {#beginPrint}.
|
115
115
|
#
|
116
116
|
def endPrint(); end
|
117
117
|
|
118
118
|
#
|
119
119
|
# Generate end of page.
|
120
|
-
# See also #beginPage.
|
120
|
+
# See also {#beginPage}.
|
121
121
|
#
|
122
122
|
def endPage(); end
|
123
123
|
|
data/rdoc-sources/FXDCWindow.rb
CHANGED
@@ -14,9 +14,9 @@ module Fox
|
|
14
14
|
# If _event_ is a reference to an FXEvent, the device context is constructed for
|
15
15
|
# painting in response to an expose; this sets the clip rectangle to the exposed rectangle.
|
16
16
|
# If an optional code block is provided, the new device context will be passed into the block as an
|
17
|
-
# argument and #end will be called automatically when the block terminates.
|
17
|
+
# argument and {#end} will be called automatically when the block terminates.
|
18
18
|
#
|
19
|
-
def initialize(drawable, event=nil)
|
19
|
+
def initialize(drawable, event=nil) # :yields: dc
|
20
20
|
end
|
21
21
|
|
22
22
|
#
|
@@ -44,7 +44,7 @@ module Fox
|
|
44
44
|
#
|
45
45
|
class FXDataTarget < FXObject
|
46
46
|
|
47
|
-
# The message target object for this data target
|
47
|
+
# The message target object for this data target {FXObject}
|
48
48
|
attr_accessor :target
|
49
49
|
|
50
50
|
# The message identifier for this data target [Integer]
|
@@ -9,7 +9,7 @@ module Fox
|
|
9
9
|
# Returns an array of strings containing the names of the message types.
|
10
10
|
# So, for example,
|
11
11
|
#
|
12
|
-
#
|
12
|
+
# puts FXDebugTarget.messageTypeName[SEL_COMMAND]
|
13
13
|
#
|
14
14
|
# should print the text "SEL_COMMAND".
|
15
15
|
#
|
data/rdoc-sources/FXDelegator.rb
CHANGED
@@ -10,8 +10,8 @@ module Fox
|
|
10
10
|
#
|
11
11
|
class FXDelegator < FXObject
|
12
12
|
|
13
|
-
# The object to which all messages are delegated
|
14
|
-
attr_accessor
|
13
|
+
# The object to which all messages are delegated {FXObject}
|
14
|
+
attr_accessor :delegate
|
15
15
|
|
16
16
|
#
|
17
17
|
# Construct a new delegator
|
data/rdoc-sources/FXDial.rb
CHANGED
@@ -13,12 +13,12 @@ module Fox
|
|
13
13
|
#
|
14
14
|
# The following messages are sent by FXDial to its target:
|
15
15
|
#
|
16
|
-
# +SEL_KEYPRESS+::
|
17
|
-
# +SEL_KEYRELEASE+::
|
18
|
-
# +SEL_LEFTBUTTONPRESS+::
|
19
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
16
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
17
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
18
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
19
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
20
20
|
# +SEL_CHANGED+:: sent when the dial's value changes; the message data is the new value (an integer).
|
21
|
-
# +SEL_COMMAND+::
|
21
|
+
# +SEL_COMMAND+:: sent when the user stops changing the dial's value and releases the mouse button; the message data is the new value (an integer).
|
22
22
|
#
|
23
23
|
# === Dial style options
|
24
24
|
#
|
@@ -60,7 +60,7 @@ module Fox
|
|
60
60
|
# Current dial style [Integer]
|
61
61
|
attr_accessor :dialStyle
|
62
62
|
|
63
|
-
# Center notch color
|
63
|
+
# Center notch color {FXColor}
|
64
64
|
attr_accessor :notchColor
|
65
65
|
|
66
66
|
# Status line help text for this dial [String]
|
@@ -74,9 +74,9 @@ module Fox
|
|
74
74
|
#
|
75
75
|
# ==== Parameters:
|
76
76
|
#
|
77
|
-
# +p+::
|
78
|
-
# +target+::
|
79
|
-
# +selector+::
|
77
|
+
# +p+:: parent widget for this dial {FXComposite}
|
78
|
+
# +target+:: message target object for this dial {FXObject}
|
79
|
+
# +selector+:: message identifier [Integer]
|
80
80
|
# +opts+::
|
81
81
|
# +x+::
|
82
82
|
# +y+::
|
data/rdoc-sources/FXDialogBox.rb
CHANGED
@@ -7,12 +7,12 @@ module Fox
|
|
7
7
|
# loop and returns a completion code of either 0 or 1, respectively.
|
8
8
|
#
|
9
9
|
# To close a dialog box when it's not running modally, simply call
|
10
|
-
#
|
10
|
+
# {#hide} (or send it the +ID_HIDE+ command message).
|
11
11
|
#
|
12
12
|
# === Message identifiers
|
13
13
|
#
|
14
|
-
# +ID_CANCEL+::
|
15
|
-
# +ID_ACCEPT+::
|
14
|
+
# +ID_CANCEL+:: Close the dialog, cancel the entry
|
15
|
+
# +ID_ACCEPT+:: Close the dialog, accept the entry
|
16
16
|
#
|
17
17
|
class FXDialogBox < FXTopWindow
|
18
18
|
#
|
data/rdoc-sources/FXDict.rb
CHANGED
@@ -2,9 +2,8 @@ module Fox
|
|
2
2
|
#
|
3
3
|
# The dictionary class maintains a fast-access hash table of entities
|
4
4
|
# indexed by a character string.
|
5
|
-
# It is typically used to map strings to pointers; however,
|
6
|
-
#
|
7
|
-
# be indexed by strings.
|
5
|
+
# It is typically used to map strings to pointers; however, derived classes
|
6
|
+
# may allow any type of data to be indexed by strings.
|
8
7
|
#
|
9
8
|
class FXDict < FXObject
|
10
9
|
|
data/rdoc-sources/FXDirBox.rb
CHANGED
@@ -10,7 +10,7 @@ module Fox
|
|
10
10
|
#
|
11
11
|
# === Options
|
12
12
|
#
|
13
|
-
# +DIRBOX_NO_OWN_ASSOC+::
|
13
|
+
# +DIRBOX_NO_OWN_ASSOC+:: do not create associations for files
|
14
14
|
#
|
15
15
|
# === Events
|
16
16
|
#
|
@@ -24,7 +24,7 @@ module Fox
|
|
24
24
|
# Current directory [String]
|
25
25
|
attr_accessor :directory
|
26
26
|
|
27
|
-
# File associations
|
27
|
+
# File associations {FXFileDict}
|
28
28
|
attr_accessor :associations
|
29
29
|
|
30
30
|
# Return an initialized FXDirBox instance.
|
data/rdoc-sources/FXDirList.rb
CHANGED
@@ -3,7 +3,7 @@ module Fox
|
|
3
3
|
# Directory item
|
4
4
|
#
|
5
5
|
class FXDirItem < FXTreeItem
|
6
|
-
# File associations
|
6
|
+
# File associations {FXFileAssoc}
|
7
7
|
attr_reader :assoc
|
8
8
|
|
9
9
|
# File size [Integer]
|
@@ -56,21 +56,21 @@ module Fox
|
|
56
56
|
#
|
57
57
|
# === Directory List options
|
58
58
|
#
|
59
|
-
# +DIRLIST_SHOWFILES+::
|
60
|
-
# +DIRLIST_SHOWHIDDEN+::
|
61
|
-
# +DIRLIST_NO_OWN_ASSOC+::
|
59
|
+
# +DIRLIST_SHOWFILES+:: Show files as well as directories
|
60
|
+
# +DIRLIST_SHOWHIDDEN+:: Show hidden files or directories
|
61
|
+
# +DIRLIST_NO_OWN_ASSOC+:: Do not create associations for files
|
62
62
|
#
|
63
63
|
# === Message identifiers
|
64
64
|
#
|
65
|
-
# +ID_REFRESH+::
|
66
|
-
# +ID_SHOW_FILES+::
|
67
|
-
# +ID_HIDE_FILES+::
|
68
|
-
# +ID_TOGGLE_FILES+::
|
69
|
-
# +ID_SHOW_HIDDEN+::
|
70
|
-
# +ID_HIDE_HIDDEN+::
|
71
|
-
# +ID_TOGGLE_HIDDEN+::
|
72
|
-
# +ID_SET_PATTERN+::
|
73
|
-
# +ID_SORT_REVERSE+::
|
65
|
+
# +ID_REFRESH+:: x
|
66
|
+
# +ID_SHOW_FILES+:: x
|
67
|
+
# +ID_HIDE_FILES+:: x
|
68
|
+
# +ID_TOGGLE_FILES+:: x
|
69
|
+
# +ID_SHOW_HIDDEN+:: x
|
70
|
+
# +ID_HIDE_HIDDEN+:: x
|
71
|
+
# +ID_TOGGLE_HIDDEN+:: x
|
72
|
+
# +ID_SET_PATTERN+:: x
|
73
|
+
# +ID_SORT_REVERSE+:: x
|
74
74
|
#
|
75
75
|
class FXDirList < FXTreeList
|
76
76
|
|
@@ -86,7 +86,7 @@ module Fox
|
|
86
86
|
# Wildcard matching mode, some combination of file matching flags [Integer]
|
87
87
|
attr_accessor :matchMode
|
88
88
|
|
89
|
-
# File associations
|
89
|
+
# File associations {FXFileDict}
|
90
90
|
attr_accessor :associations
|
91
91
|
|
92
92
|
# Returns an initialized FXDirList instance
|
@@ -8,25 +8,25 @@ module Fox
|
|
8
8
|
#
|
9
9
|
# === Message identifiers
|
10
10
|
#
|
11
|
-
# +ID_DIRNAME+::
|
12
|
-
# +ID_DIRLIST+::
|
13
|
-
# +ID_HOME+::
|
14
|
-
# +ID_WORK+::
|
15
|
-
# +ID_DIRECTORY_UP+::
|
16
|
-
# +ID_BOOKMARK+::
|
17
|
-
# +ID_VISIT+::
|
18
|
-
# +ID_NEW+::
|
19
|
-
# +ID_DELETE+::
|
20
|
-
# +ID_MOVE+::
|
21
|
-
# +ID_COPY+::
|
22
|
-
# +ID_LINK+::
|
11
|
+
# +ID_DIRNAME+:: x
|
12
|
+
# +ID_DIRLIST+:: x
|
13
|
+
# +ID_HOME+:: x
|
14
|
+
# +ID_WORK+:: x
|
15
|
+
# +ID_DIRECTORY_UP+:: x
|
16
|
+
# +ID_BOOKMARK+:: x
|
17
|
+
# +ID_VISIT+:: x
|
18
|
+
# +ID_NEW+:: x
|
19
|
+
# +ID_DELETE+:: x
|
20
|
+
# +ID_MOVE+:: x
|
21
|
+
# +ID_COPY+:: x
|
22
|
+
# +ID_LINK+:: x
|
23
23
|
#
|
24
24
|
class FXDirSelector < FXPacker
|
25
25
|
|
26
|
-
# The "Accept" button
|
26
|
+
# The "Accept" button {FXButton}
|
27
27
|
attr_reader :acceptButton
|
28
28
|
|
29
|
-
# The "Cancel" button
|
29
|
+
# The "Cancel" button {FXButton}
|
30
30
|
attr_reader :cancelButton
|
31
31
|
|
32
32
|
# Directory [String]
|
data/rdoc-sources/FXDockBar.rb
CHANGED
@@ -11,19 +11,19 @@ module Fox
|
|
11
11
|
#
|
12
12
|
# The following messages are sent by FXDockBar to its target:
|
13
13
|
#
|
14
|
-
# +SEL_DOCKED+::
|
15
|
-
# +SEL_FLOATED+::
|
14
|
+
# +SEL_DOCKED+:: sent when the dock bar is docked; the message data is a reference to the new dock site (an FXDockSite instance).
|
15
|
+
# +SEL_FLOATED+:: sent when the dock bar is undocked; the message data is a reference to the previous dock site.
|
16
16
|
#
|
17
17
|
# === Dock Bar Options
|
18
18
|
#
|
19
|
-
# +ALLOW_NOWHERE+::
|
20
|
-
# +ALLOW_TOP+::
|
21
|
-
# +ALLOW_BOTTOM+::
|
22
|
-
# +ALLOW_LEFT+::
|
23
|
-
# +ALLOW_RIGHT+::
|
24
|
-
# +ALLOW_HORIZONTAL+::
|
25
|
-
# +ALLOW_VERTICAL+::
|
26
|
-
# +ALLOW_EVERYWHERE+::
|
19
|
+
# +ALLOW_NOWHERE+:: Don't allow docking anywhere
|
20
|
+
# +ALLOW_TOP+:: Docking at the top only
|
21
|
+
# +ALLOW_BOTTOM+:: Docking at the bottom only
|
22
|
+
# +ALLOW_LEFT+:: Docking at the left only
|
23
|
+
# +ALLOW_RIGHT+:: Docking at the right only
|
24
|
+
# +ALLOW_HORIZONTAL+:: Docking at the top and bottom
|
25
|
+
# +ALLOW_VERTICAL+:: Docking at the left and right
|
26
|
+
# +ALLOW_EVERYWHERE+:: Docking can be everywhere
|
27
27
|
#
|
28
28
|
class FXDockBar < FXPacker
|
29
29
|
|
@@ -41,19 +41,19 @@ module Fox
|
|
41
41
|
#
|
42
42
|
# ==== Parameters:
|
43
43
|
#
|
44
|
-
# +p+::
|
45
|
-
# +q+::
|
46
|
-
# +opts+::
|
47
|
-
# +x+::
|
48
|
-
# +y+::
|
49
|
-
# +width+::
|
50
|
-
# +height+::
|
51
|
-
# +padLeft+::
|
52
|
-
# +padRight+::
|
53
|
-
# +padTop+::
|
54
|
-
# +padBottom+::
|
55
|
-
# +hSpacing+::
|
56
|
-
# +vSpacing+::
|
44
|
+
# +p+:: the "dry dock" window for this dock bar {FXComposite}
|
45
|
+
# +q+:: the "wet dock" window for this dock bar {FXComposite}
|
46
|
+
# +opts+:: dock bar options [Integer]
|
47
|
+
# +x+:: initial x-position [Integer]
|
48
|
+
# +y+:: initial y-position [Integer]
|
49
|
+
# +width+:: initial width [Integer]
|
50
|
+
# +height+:: initial height [Integer]
|
51
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
52
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
53
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
54
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
55
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
56
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
57
57
|
#
|
58
58
|
def initialize(p, q, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theDockBar
|
59
59
|
end
|
@@ -64,18 +64,18 @@ module Fox
|
|
64
64
|
#
|
65
65
|
# ==== Parameters:
|
66
66
|
#
|
67
|
-
# +p+::
|
68
|
-
# +opts+::
|
69
|
-
# +x+::
|
70
|
-
# +y+::
|
71
|
-
# +width+::
|
72
|
-
# +height+::
|
73
|
-
# +padLeft+::
|
74
|
-
# +padRight+::
|
75
|
-
# +padTop+::
|
76
|
-
# +padBottom+::
|
77
|
-
# +hSpacing+::
|
78
|
-
# +vSpacing+::
|
67
|
+
# +p+:: the parent window for this dock bar {FXComposite}
|
68
|
+
# +opts+:: dock bar options [Integer]
|
69
|
+
# +x+:: initial x-position [Integer]
|
70
|
+
# +y+:: initial y-position [Integer]
|
71
|
+
# +width+:: initial width [Integer]
|
72
|
+
# +height+:: initial height [Integer]
|
73
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
74
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
75
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
76
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
77
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
78
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
79
79
|
#
|
80
80
|
def initialize(p, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theDockBar
|
81
81
|
end
|
@@ -7,8 +7,8 @@ module Fox
|
|
7
7
|
#
|
8
8
|
# The following messages are sent by FXDockHandler to its target:
|
9
9
|
#
|
10
|
-
# +SEL_KEYPRESS+::
|
11
|
-
# +SEL_KEYRELEASE+::
|
10
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
11
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
12
12
|
#
|
13
13
|
class FXDockHandler < FXFrame
|
14
14
|
# Status line help text [String]
|
data/rdoc-sources/FXDockSite.rb
CHANGED
@@ -23,8 +23,8 @@ module Fox
|
|
23
23
|
#
|
24
24
|
# === Dock Site Options
|
25
25
|
#
|
26
|
-
# +DOCKSITE_WRAP+::
|
27
|
-
# +DOCKSITE_NO_WRAP+::
|
26
|
+
# +DOCKSITE_WRAP+:: Dockbars are wrapped to another galley when not enough space on current galley
|
27
|
+
# +DOCKSITE_NO_WRAP+:: Never wrap dockbars to another galley even if not enough space
|
28
28
|
#
|
29
29
|
class FXDockSite < FXPacker
|
30
30
|
#
|
@@ -42,9 +42,9 @@ module Fox
|
|
42
42
|
#
|
43
43
|
# ==== Parameters:
|
44
44
|
#
|
45
|
-
# +bar+::
|
46
|
-
# +barx+::
|
47
|
-
# +bary+
|
45
|
+
# +bar+:: a reference to the dockbar that's being dragged {FXDockBar}
|
46
|
+
# +barx+:: current x-coordinate of the dockbar [Integer]
|
47
|
+
# +bary+ current y-coordinate of the dockbar [Integer]
|
48
48
|
#
|
49
49
|
def moveToolBar(bar, barx, bary); end
|
50
50
|
|
@@ -56,8 +56,8 @@ module Fox
|
|
56
56
|
#
|
57
57
|
# ==== Parameters:
|
58
58
|
#
|
59
|
-
# +bar+::
|
60
|
-
# +before+::
|
59
|
+
# +bar+:: a reference to the newly docked dockbar {FXDockBar}
|
60
|
+
# +before+:: a reference to the window that the dockbar was added before {FXWindow}
|
61
61
|
#
|
62
62
|
def dockToolBar(bar, before); end
|
63
63
|
|
@@ -69,9 +69,9 @@ module Fox
|
|
69
69
|
#
|
70
70
|
# ==== Parameters:
|
71
71
|
#
|
72
|
-
# +bar+::
|
73
|
-
# +barx+::
|
74
|
-
# +bary+::
|
72
|
+
# +bar+:: a reference to the newly docked dockbar {FXDockBar}{FXDockBar}
|
73
|
+
# +barx+:: x-coordinate of the docking position [Integer]
|
74
|
+
# +bary+:: y-coordinate of the docking position [Integer]
|
75
75
|
#
|
76
76
|
def dockToolBar(bar, barx, bary); end
|
77
77
|
|
@@ -83,7 +83,7 @@ module Fox
|
|
83
83
|
#
|
84
84
|
# ==== Parameters:
|
85
85
|
#
|
86
|
-
# +bar+::
|
86
|
+
# +bar+:: a reference to the removed dockbar {FXDockBar}
|
87
87
|
#
|
88
88
|
def undockToolBar(bar); end
|
89
89
|
|