fxruby 1.6.22-x86-mingw32 → 1.6.23-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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/FXSlider.rb
CHANGED
@@ -9,12 +9,12 @@ module Fox
|
|
9
9
|
#
|
10
10
|
# The following messages are sent by FXSlider to its target:
|
11
11
|
#
|
12
|
-
# +SEL_KEYPRESS+::
|
13
|
-
# +SEL_KEYRELEASE+::
|
14
|
-
# +SEL_LEFTBUTTONPRESS+::
|
15
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
16
|
-
# +SEL_MIDDLEBUTTONPRESS+::
|
17
|
-
# +SEL_MIDDLEBUTTONRELEASE+::
|
12
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
13
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
14
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
15
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
16
|
+
# +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
|
17
|
+
# +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
|
18
18
|
# +SEL_COMMAND+::
|
19
19
|
# sent at the end of a slider move; the message data is the new position of the slider (an Integer).
|
20
20
|
# +SEL_CHANGED+::
|
@@ -23,23 +23,23 @@ module Fox
|
|
23
23
|
#
|
24
24
|
# === Slider control styles
|
25
25
|
#
|
26
|
-
# +SLIDER_HORIZONTAL+::
|
27
|
-
# +SLIDER_VERTICAL+::
|
28
|
-
# +SLIDER_ARROW_UP+::
|
29
|
-
# +SLIDER_ARROW_DOWN+::
|
30
|
-
# +SLIDER_ARROW_LEFT+::
|
31
|
-
# +SLIDER_ARROW_RIGHT+::
|
32
|
-
# +SLIDER_INSIDE_BAR+::
|
33
|
-
# +SLIDER_TICKS_TOP+::
|
34
|
-
# +SLIDER_TICKS_BOTTOM+::
|
35
|
-
# +SLIDER_TICKS_LEFT+::
|
36
|
-
# +SLIDER_TICKS_RIGHT+::
|
37
|
-
# +SLIDER_NORMAL+::
|
26
|
+
# +SLIDER_HORIZONTAL+:: Slider shown horizontally
|
27
|
+
# +SLIDER_VERTICAL+:: Slider shown vertically
|
28
|
+
# +SLIDER_ARROW_UP+:: Slider has arrow head pointing up
|
29
|
+
# +SLIDER_ARROW_DOWN+:: Slider has arrow head pointing down
|
30
|
+
# +SLIDER_ARROW_LEFT+:: Slider has arrow head pointing left
|
31
|
+
# +SLIDER_ARROW_RIGHT+:: Slider has arrow head pointing right
|
32
|
+
# +SLIDER_INSIDE_BAR+:: Slider is inside the slot rather than overhanging
|
33
|
+
# +SLIDER_TICKS_TOP+:: Ticks on the top of horizontal slider
|
34
|
+
# +SLIDER_TICKS_BOTTOM+:: Ticks on the bottom of horizontal slider
|
35
|
+
# +SLIDER_TICKS_LEFT+:: Ticks on the left of vertical slider
|
36
|
+
# +SLIDER_TICKS_RIGHT+:: Ticks on the right of vertical slider
|
37
|
+
# +SLIDER_NORMAL+:: same as <tt>SLIDER_HORIZONTAL</tt>
|
38
38
|
#
|
39
39
|
# === Message identifiers
|
40
40
|
#
|
41
|
-
# +ID_AUTOINC+::
|
42
|
-
# +ID_AUTODEC+::
|
41
|
+
# +ID_AUTOINC+:: x
|
42
|
+
# +ID_AUTODEC+:: x
|
43
43
|
#
|
44
44
|
class FXSlider < FXFrame
|
45
45
|
|
@@ -64,7 +64,7 @@ module Fox
|
|
64
64
|
# Delta between ticks [Integer]
|
65
65
|
attr_accessor :tickDelta
|
66
66
|
|
67
|
-
# Color of the slot that the slider head moves in
|
67
|
+
# Color of the slot that the slider head moves in {FXColor}
|
68
68
|
attr_accessor :slotColor
|
69
69
|
|
70
70
|
# Status line help text for this slider [String]
|
@@ -78,18 +78,18 @@ module Fox
|
|
78
78
|
#
|
79
79
|
# ==== Parameters:
|
80
80
|
#
|
81
|
-
# +p+::
|
82
|
-
# +target+::
|
83
|
-
# +selector+::
|
84
|
-
# +opts+::
|
85
|
-
# +x+::
|
86
|
-
# +y+::
|
87
|
-
# +width+::
|
88
|
-
# +height+::
|
89
|
-
# +padLeft+::
|
90
|
-
# +padRight+::
|
91
|
-
# +padTop+::
|
92
|
-
# +padBottom+::
|
81
|
+
# +p+:: the parent window for this slider {FXComposite}
|
82
|
+
# +target+:: the message target, if any, for this slider {FXObject}
|
83
|
+
# +selector+:: the message identifier for this slider [Integer]
|
84
|
+
# +opts+:: slider options [Integer]
|
85
|
+
# +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
|
86
|
+
# +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
|
87
|
+
# +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
|
88
|
+
# +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
|
89
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
90
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
91
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
92
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
93
93
|
#
|
94
94
|
def initialize(p, target=nil, selector=0, opts=SLIDER_NORMAL, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theSlider
|
95
95
|
end
|
data/rdoc-sources/FXSphered.rb
CHANGED
@@ -3,7 +3,7 @@ module Fox
|
|
3
3
|
# Spherical bounds
|
4
4
|
#
|
5
5
|
class FXSphered
|
6
|
-
# Sphere center
|
6
|
+
# Sphere center {FXVec3d}
|
7
7
|
attr_accessor :center
|
8
8
|
|
9
9
|
# Sphere radius [Float]
|
@@ -55,7 +55,7 @@ module Fox
|
|
55
55
|
def include!(box); end
|
56
56
|
|
57
57
|
# Expand radius to include box (an FXRanged instance) and return a reference to self.
|
58
|
-
def includeInRadius!(box);
|
58
|
+
def includeInRadius!(box); end
|
59
59
|
|
60
60
|
# Include the sphere _sphere_ (an FXSphered instance) into this sphere and return self.
|
61
61
|
def include!(sphere); end
|
data/rdoc-sources/FXSpheref.rb
CHANGED
@@ -3,7 +3,7 @@ module Fox
|
|
3
3
|
# Spherical bounds
|
4
4
|
#
|
5
5
|
class FXSpheref
|
6
|
-
# Sphere center
|
6
|
+
# Sphere center {FXVec3f}
|
7
7
|
attr_accessor :center
|
8
8
|
|
9
9
|
# Sphere radius [Float]
|
@@ -55,7 +55,7 @@ module Fox
|
|
55
55
|
def include!(box); end
|
56
56
|
|
57
57
|
# Expand radius to include box (an FXRangef instance) and return a reference to self.
|
58
|
-
def includeInRadius!(box);
|
58
|
+
def includeInRadius!(box); end
|
59
59
|
|
60
60
|
# Include the sphere _sphere_ (an FXSpheref instance) into this sphere and return self.
|
61
61
|
def include!(sphere); end
|
data/rdoc-sources/FXSpinner.rb
CHANGED
@@ -6,8 +6,8 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# The following messages are sent by FXSpinner to its target:
|
8
8
|
#
|
9
|
-
# +SEL_KEYPRESS+::
|
10
|
-
# +SEL_KEYRELEASE+::
|
9
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
10
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
11
11
|
# +SEL_COMMAND+::
|
12
12
|
# sent whenever the spinner's value changes; the message data is an integer
|
13
13
|
# indicating the new spinner value.
|
@@ -17,17 +17,17 @@ module Fox
|
|
17
17
|
#
|
18
18
|
# === Spinner options
|
19
19
|
#
|
20
|
-
# +SPIN_NORMAL+::
|
21
|
-
# +SPIN_CYCLIC+::
|
22
|
-
# +SPIN_NOTEXT+::
|
23
|
-
# +SPIN_NOMAX+::
|
24
|
-
# +SPIN_NOMIN+::
|
20
|
+
# +SPIN_NORMAL+:: Normal, non-cyclic
|
21
|
+
# +SPIN_CYCLIC+:: Cyclic spinner
|
22
|
+
# +SPIN_NOTEXT+:: No text visible
|
23
|
+
# +SPIN_NOMAX+:: Spin all the way up to infinity
|
24
|
+
# +SPIN_NOMIN+:: Spin all the way down to -infinity
|
25
25
|
#
|
26
26
|
# === Message identifiers
|
27
27
|
#
|
28
|
-
# +ID_INCREMENT+::
|
29
|
-
# +ID_DECREMENT+::
|
30
|
-
# +ID_ENTRY+::
|
28
|
+
# +ID_INCREMENT+:: x
|
29
|
+
# +ID_DECREMENT+:: x
|
30
|
+
# +ID_ENTRY+:: x
|
31
31
|
#
|
32
32
|
class FXSpinner < FXPacker
|
33
33
|
# Current value [Integer]
|
@@ -36,7 +36,7 @@ module Fox
|
|
36
36
|
# Spinner range (low and high values) [Range]
|
37
37
|
attr_accessor :range
|
38
38
|
|
39
|
-
# Text font for this spinner
|
39
|
+
# Text font for this spinner {FXFont}
|
40
40
|
attr_accessor :font
|
41
41
|
|
42
42
|
# Status line help text for this spinner [String]
|
@@ -48,22 +48,22 @@ module Fox
|
|
48
48
|
# Spinner style [Integer]
|
49
49
|
attr_accessor :spinnerStyle
|
50
50
|
|
51
|
-
# Color of the "up" arrow
|
51
|
+
# Color of the "up" arrow {FXColor}
|
52
52
|
attr_accessor :upArrowColor
|
53
53
|
|
54
|
-
# Color of the "down" arrow
|
54
|
+
# Color of the "down" arrow {FXColor}
|
55
55
|
attr_accessor :downArrowColor
|
56
56
|
|
57
|
-
# Normal text color
|
57
|
+
# Normal text color {FXColor}
|
58
58
|
attr_accessor :textColor
|
59
59
|
|
60
|
-
# Background color for selected text
|
60
|
+
# Background color for selected text {FXColor}
|
61
61
|
attr_accessor :selBackColor
|
62
62
|
|
63
|
-
# Foreground color for selected text
|
63
|
+
# Foreground color for selected text {FXColor}
|
64
64
|
attr_accessor :selTextColor
|
65
65
|
|
66
|
-
# Cursor color
|
66
|
+
# Cursor color {FXColor}
|
67
67
|
attr_accessor :cursorColor
|
68
68
|
|
69
69
|
# Number of columns (i.e. width of spinner's text field, in terms of number of columns of 'm') [Integer]
|
@@ -74,19 +74,19 @@ module Fox
|
|
74
74
|
#
|
75
75
|
# ==== Parameters:
|
76
76
|
#
|
77
|
-
# +p+::
|
78
|
-
# +cols+::
|
79
|
-
# +target+::
|
80
|
-
# +selector+::
|
81
|
-
# +opts+::
|
82
|
-
# +x+::
|
83
|
-
# +y+::
|
84
|
-
# +width+::
|
85
|
-
# +height+::
|
86
|
-
# +padLeft+::
|
87
|
-
# +padRight+::
|
88
|
-
# +padTop+::
|
89
|
-
# +padBottom+::
|
77
|
+
# +p+:: the parent window for this spinner {FXComposite}
|
78
|
+
# +cols+:: number of columns to display in the text field [Integer]
|
79
|
+
# +target+:: the message target, if any, for this spinner {FXObject}
|
80
|
+
# +selector+:: the message identifier for this spinner [Integer]
|
81
|
+
# +opts+:: the options [Integer]
|
82
|
+
# +x+:: initial x-position [Integer]
|
83
|
+
# +y+:: initial y-position [Integer]
|
84
|
+
# +width+:: initial width [Integer]
|
85
|
+
# +height+:: initial height [Integer]
|
86
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
87
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
88
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
89
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
90
90
|
#
|
91
91
|
def initialize(p, cols, target=nil, selector=0, opts=SPIN_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theSpinner
|
92
92
|
end
|
@@ -7,13 +7,13 @@ module Fox
|
|
7
7
|
#
|
8
8
|
# === Splash window options
|
9
9
|
#
|
10
|
-
# +SPLASH_SIMPLE+::
|
11
|
-
# +SPLASH_SHAPED+::
|
12
|
-
# +SPLASH_OWNS_ICON+::
|
13
|
-
# +SPLASH_DESTROY+::
|
10
|
+
# +SPLASH_SIMPLE+:: Simple rectangular splash window
|
11
|
+
# +SPLASH_SHAPED+:: Shaped splash window
|
12
|
+
# +SPLASH_OWNS_ICON+:: Splash window will own the icon and destroy it
|
13
|
+
# +SPLASH_DESTROY+:: Splash window will destroy itself when timer expires
|
14
14
|
#
|
15
15
|
class FXSplashWindow < FXTopWindow
|
16
|
-
# The splash window's icon
|
16
|
+
# The splash window's icon {FXIcon}
|
17
17
|
attr_accessor :icon
|
18
18
|
|
19
19
|
# The delay before hiding the splash window, in milliseconds [Integer]
|
data/rdoc-sources/FXSplitter.rb
CHANGED
@@ -20,10 +20,10 @@ module Fox
|
|
20
20
|
#
|
21
21
|
# The following messages are sent by FXSplitter to its target:
|
22
22
|
#
|
23
|
-
# +SEL_LEFTBUTTONPRESS+::
|
24
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
25
|
-
# +SEL_COMMAND+::
|
26
|
-
# +SEL_CHANGED+::
|
23
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
24
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
25
|
+
# +SEL_COMMAND+:: sent at the end of a resize operation, to signal that the resize is complete
|
26
|
+
# +SEL_CHANGED+:: sent continuously while a resize operation is occurring
|
27
27
|
#
|
28
28
|
# === Splitter options
|
29
29
|
#
|
@@ -46,12 +46,12 @@ module Fox
|
|
46
46
|
#
|
47
47
|
# ==== Parameters:
|
48
48
|
#
|
49
|
-
# +p+::
|
50
|
-
# +opts+::
|
51
|
-
# +x+::
|
52
|
-
# +y+::
|
53
|
-
# +width+::
|
54
|
-
# +height+::
|
49
|
+
# +p+:: the parent widget for this splitter {FXComposite}
|
50
|
+
# +opts+:: the options [Integer]
|
51
|
+
# +x+:: initial x-position [Integer]
|
52
|
+
# +y+:: initial y-position [Integer]
|
53
|
+
# +width+:: initial width [Integer]
|
54
|
+
# +height+:: initial height [Integer]
|
55
55
|
#
|
56
56
|
def initialize(p, opts=SPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
|
57
57
|
end
|
@@ -61,14 +61,14 @@ module Fox
|
|
61
61
|
#
|
62
62
|
# ==== Parameters:
|
63
63
|
#
|
64
|
-
# +p+::
|
65
|
-
# +target+::
|
66
|
-
# +selector+::
|
67
|
-
# +opts+::
|
68
|
-
# +x+::
|
69
|
-
# +y+::
|
70
|
-
# +width+::
|
71
|
-
# +height+::
|
64
|
+
# +p+:: the parent widget for this splitter {FXComposite}
|
65
|
+
# +target+:: the message target for this splitter {FXObject}
|
66
|
+
# +selector+:: the message identifier for this splitter [Integer]
|
67
|
+
# +opts+:: the options [Integer]
|
68
|
+
# +x+:: initial x-position [Integer]
|
69
|
+
# +y+:: initial y-position [Integer]
|
70
|
+
# +width+:: initial width [Integer]
|
71
|
+
# +height+:: initial height [Integer]
|
72
72
|
#
|
73
73
|
def initialize(p, tgt, sel, opts=SPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
|
74
74
|
end
|
data/rdoc-sources/FXSpring.rb
CHANGED
@@ -6,7 +6,7 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# The third and fourth arguments to the FXSpring.new method (+relw+ and +relh+)
|
8
8
|
# determine the "length" of the spring. You can also change these settings after
|
9
|
-
# the widget is constructed using the FXSpring#relativeWidth and FXSpring#relativeHeight
|
9
|
+
# the widget is constructed using the {FXSpring#relativeWidth} and {FXSpring#relativeHeight}
|
10
10
|
# accessor methods.
|
11
11
|
# The actual length that you specify is not really
|
12
12
|
# important; the only thing that counts is the relative length of one
|
@@ -39,20 +39,20 @@ module Fox
|
|
39
39
|
#
|
40
40
|
# ==== Parameters:
|
41
41
|
#
|
42
|
-
# +p+::
|
43
|
-
# +relw+::
|
44
|
-
# +relh+::
|
45
|
-
# +opts+::
|
46
|
-
# +x+::
|
47
|
-
# +y+::
|
48
|
-
# +width+::
|
49
|
-
# +height+::
|
50
|
-
# +padLeft+::
|
51
|
-
# +padRight+::
|
52
|
-
# +padTop+::
|
53
|
-
# +padBottom+::
|
54
|
-
# +hSpacing+::
|
55
|
-
# +vSpacing+::
|
42
|
+
# +p+:: the parent widget for this spring {FXComposite}
|
43
|
+
# +relw+:: the relative width [Integer]
|
44
|
+
# +relh+:: the relative height [Integer]
|
45
|
+
# +opts+:: the options [Integer]
|
46
|
+
# +x+:: initial x-position [Integer]
|
47
|
+
# +y+:: initial y-position [Integer]
|
48
|
+
# +width+:: initial width [Integer]
|
49
|
+
# +height+:: initial height [Integer]
|
50
|
+
# +padLeft+:: left-side padding (in pixels) [Integer]
|
51
|
+
# +padRight+:: right-side padding (in pixels) [Integer]
|
52
|
+
# +padTop+:: top-side padding (in pixels) [Integer]
|
53
|
+
# +padBottom+:: bottom-side padding (in pixels) [Integer]
|
54
|
+
# +hSpacing+:: horizontal spacing (in pixels) [Integer]
|
55
|
+
# +vSpacing+:: vertical spacing (in pixels) [Integer]
|
56
56
|
#
|
57
57
|
def initialize(p, opts=0, relw=0, relh=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theSpring
|
58
58
|
end
|
data/rdoc-sources/FXStatusBar.rb
CHANGED
@@ -8,10 +8,10 @@ module Fox
|
|
8
8
|
#
|
9
9
|
class FXStatusBar < FXHorizontalFrame
|
10
10
|
|
11
|
-
# The status line widget
|
11
|
+
# The status line widget {FXStatusLine}
|
12
12
|
attr_reader :statusLine
|
13
13
|
|
14
|
-
# The drag corner widget
|
14
|
+
# The drag corner widget {FXDragCorner}
|
15
15
|
attr_reader :dragCorner
|
16
16
|
|
17
17
|
# If +true+, the drag corner is shown [Boolean]
|
@@ -22,18 +22,18 @@ module Fox
|
|
22
22
|
#
|
23
23
|
# ==== Parameters:
|
24
24
|
#
|
25
|
-
# +p+::
|
26
|
-
# +opts+::
|
27
|
-
# +x+::
|
28
|
-
# +y+::
|
29
|
-
# +width+::
|
30
|
-
# +height+::
|
31
|
-
# +padLeft+::
|
32
|
-
# +padRight+::
|
33
|
-
# +padTop+::
|
34
|
-
# +padBottom+::
|
35
|
-
# +hSpacing+::
|
36
|
-
# +vSpacing+::
|
25
|
+
# +p+:: the parent window for this status bar {FXComposite}
|
26
|
+
# +opts+:: status bar options [Integer]
|
27
|
+
# +x+:: initial x-position [Integer]
|
28
|
+
# +y+:: initial y-position [Integer]
|
29
|
+
# +width+:: initial width [Integer]
|
30
|
+
# +height+:: initial height [Integer]
|
31
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
32
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
33
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
34
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
35
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
36
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
37
37
|
#
|
38
38
|
def initialize(p, opts=0, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=4, vSpacing=0) # :yields: theStatusBar
|
39
39
|
end
|
@@ -8,7 +8,7 @@ module Fox
|
|
8
8
|
# If this query does not result in a new status string, the target of
|
9
9
|
# the status line is tried via an ordinary +SEL_UPDATE+ message.
|
10
10
|
# If _none_ of the above work, the status line will display the normal text
|
11
|
-
# (i.e. the string set via the #normalText= accessor method).
|
11
|
+
# (i.e. the string set via the {#normalText}= accessor method).
|
12
12
|
# If the message contains a newline character, then the part before the newline
|
13
13
|
# will be displayed in the highlight color, while the part after the newline
|
14
14
|
# will be shown using the normal text color.
|
@@ -30,13 +30,13 @@ module Fox
|
|
30
30
|
# Permanent status message [String]
|
31
31
|
attr_accessor :normalText
|
32
32
|
|
33
|
-
# Text font
|
33
|
+
# Text font {FXFont}
|
34
34
|
attr_accessor :font
|
35
35
|
|
36
|
-
# Text color
|
36
|
+
# Text color {FXColor}
|
37
37
|
attr_accessor :textColor
|
38
38
|
|
39
|
-
# Highlight text color
|
39
|
+
# Highlight text color {FXColor}
|
40
40
|
attr_accessor :textHighlightColor
|
41
41
|
|
42
42
|
#
|
@@ -44,9 +44,9 @@ module Fox
|
|
44
44
|
#
|
45
45
|
# ==== Parameters:
|
46
46
|
#
|
47
|
-
# +p+::
|
48
|
-
# +target+::
|
49
|
-
# +selector+::
|
47
|
+
# +p+:: the parent window for this shutter {FXComposite}
|
48
|
+
# +target+:: the message target, if any, for this shutter {FXObject}
|
49
|
+
# +selector+:: the message identifier for this shutter [Integer]
|
50
50
|
#
|
51
51
|
def initialize(p, target=nil, selector=0) # :yields: theStatusLine
|
52
52
|
end
|
data/rdoc-sources/FXStream.rb
CHANGED
@@ -22,27 +22,27 @@ module Fox
|
|
22
22
|
#
|
23
23
|
# === Stream status codes
|
24
24
|
#
|
25
|
-
# +FXStreamOK+::
|
26
|
-
# +FXStreamEnd+::
|
27
|
-
# +FXStreamFull+::
|
28
|
-
# +FXStreamNoWrite+::
|
29
|
-
# +FXStreamNoRead+::
|
30
|
-
# +FXStreamFormat+::
|
31
|
-
# +FXStreamUnknown+::
|
32
|
-
# +FXStreamAlloc+::
|
33
|
-
# +FXStreamFailure+::
|
25
|
+
# +FXStreamOK+:: OK
|
26
|
+
# +FXStreamEnd+:: Try read past end of stream
|
27
|
+
# +FXStreamFull+:: Filled up stream buffer or disk full
|
28
|
+
# +FXStreamNoWrite+:: Unable to open for write
|
29
|
+
# +FXStreamNoRead+:: Unable to open for read
|
30
|
+
# +FXStreamFormat+:: Stream format error
|
31
|
+
# +FXStreamUnknown+:: Trying to read unknown class
|
32
|
+
# +FXStreamAlloc+:: Alloc failed
|
33
|
+
# +FXStreamFailure+:: General failure
|
34
34
|
#
|
35
35
|
# === Stream data flow direction
|
36
36
|
#
|
37
|
-
# +FXStreamDead+::
|
38
|
-
# +FXStreamSave+::
|
39
|
-
# +FXStreamLoad+::
|
37
|
+
# +FXStreamDead+:: Unopened stream
|
38
|
+
# +FXStreamSave+:: Saving stuff to stream
|
39
|
+
# +FXStreamLoad+:: Loading stuff from stream
|
40
40
|
#
|
41
41
|
# === Stream seeking
|
42
42
|
#
|
43
|
-
# +FXFromStart+::
|
44
|
-
# +FXFromCurrent+::
|
45
|
-
# +FXFromEnd+::
|
43
|
+
# +FXFromStart+:: Seek from start position
|
44
|
+
# +FXFromCurrent+:: Seek from current position
|
45
|
+
# +FXFromEnd+:: Seek from end position
|
46
46
|
#
|
47
47
|
class FXStream
|
48
48
|
|
@@ -52,7 +52,7 @@ module Fox
|
|
52
52
|
# Stream direction, one of +FXStreamSave+, +FXStreamLoad+ or +FXStreamDead+.
|
53
53
|
attr_reader :direction
|
54
54
|
|
55
|
-
# Parent object
|
55
|
+
# Parent object {FXObject}
|
56
56
|
attr_reader :container
|
57
57
|
|
58
58
|
# Available buffer space
|
@@ -69,7 +69,7 @@ module Fox
|
|
69
69
|
#
|
70
70
|
# ==== Parameters:
|
71
71
|
#
|
72
|
-
# +cont+::
|
72
|
+
# +cont+:: the container object, or +nil+ if there is none {FXObject}.
|
73
73
|
#
|
74
74
|
def initialize(cont=nil) # :yields: theStream
|
75
75
|
end
|
@@ -83,9 +83,9 @@ module Fox
|
|
83
83
|
#
|
84
84
|
# ==== Parameters:
|
85
85
|
#
|
86
|
-
# +save_or_load+::
|
87
|
-
# +size+::
|
88
|
-
# +data+::
|
86
|
+
# +save_or_load+:: access mode, either +FXStreamSave+ or +FXStreamLoad+ [Integer]
|
87
|
+
# +size+:: initial buffer size [Integer]
|
88
|
+
# +data+:: external data buffer (if any) [String]
|
89
89
|
#
|
90
90
|
def open(save_or_load, size=8192, data=nil); end
|
91
91
|
|