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
@@ -17,9 +17,9 @@ module Fox
|
|
17
17
|
#
|
18
18
|
# ==== Parameters:
|
19
19
|
#
|
20
|
-
# +owner+::
|
21
|
-
# +nvis+::
|
22
|
-
# +opts+::
|
20
|
+
# +owner+:: owner window for this menu pane {FXWindow}
|
21
|
+
# +nvis+:: maximum number of visible items [Integer]
|
22
|
+
# +opts+:: options [Integer]
|
23
23
|
#
|
24
24
|
def initialize(owner, nvis, opts=0) # :yields: theScrollPane
|
25
25
|
end
|
@@ -19,12 +19,12 @@ module Fox
|
|
19
19
|
#
|
20
20
|
# ==== Parameters:
|
21
21
|
#
|
22
|
-
# +p+::
|
23
|
-
# +opts+::
|
24
|
-
# +x+::
|
25
|
-
# +y+::
|
26
|
-
# +width+::
|
27
|
-
# +height+::
|
22
|
+
# +p+:: the parent window for this scroll window {FXComposite}
|
23
|
+
# +opts+:: the options [Integer]
|
24
|
+
# +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
|
25
|
+
# +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
|
26
|
+
# +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
|
27
|
+
# +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
|
28
28
|
#
|
29
29
|
def initialize(p, opts=0, x=0, y=0, width=0, height=0) # :yields: theScrollWindow
|
30
30
|
end
|
@@ -8,14 +8,14 @@ module Fox
|
|
8
8
|
#
|
9
9
|
# ==== Parameters:
|
10
10
|
#
|
11
|
-
# +owner+::
|
12
|
-
# +caption+::
|
13
|
-
# +ic+::
|
14
|
-
# +opts+::
|
15
|
-
# +x+::
|
16
|
-
# +y+::
|
17
|
-
# +width+::
|
18
|
-
# +height+::
|
11
|
+
# +owner+:: the owner window for this dialog box {FXWindow}
|
12
|
+
# +caption+:: the caption (title) string for this dialog box [String]
|
13
|
+
# +ic+:: the icon {FXIcon}
|
14
|
+
# +opts+:: the options [Integer]
|
15
|
+
# +x+:: initial x-position [Integer]
|
16
|
+
# +y+:: initial y-position [Integer]
|
17
|
+
# +width+:: initial width [Integer]
|
18
|
+
# +height+:: initial height [Integer]
|
19
19
|
#
|
20
20
|
def initialize(owner, caption, ic=nil, opts=0, x=0, y=0, width=0, height=0) # :yields: theSearchDialog
|
21
21
|
end
|
data/rdoc-sources/FXSeparator.rb
CHANGED
@@ -8,10 +8,10 @@ module Fox
|
|
8
8
|
#
|
9
9
|
# === Separator options
|
10
10
|
#
|
11
|
-
# +SEPARATOR_NONE+::
|
12
|
-
# +SEPARATOR_GROOVE+::
|
13
|
-
# +SEPARATOR_RIDGE+::
|
14
|
-
# +SEPARATOR_LINE+::
|
11
|
+
# +SEPARATOR_NONE+:: Nothing visible
|
12
|
+
# +SEPARATOR_GROOVE+:: Etched-in looking groove
|
13
|
+
# +SEPARATOR_RIDGE+:: Embossed looking ridge
|
14
|
+
# +SEPARATOR_LINE+:: Simple line
|
15
15
|
#
|
16
16
|
class FXSeparator < FXFrame
|
17
17
|
|
@@ -32,16 +32,16 @@ module Fox
|
|
32
32
|
#
|
33
33
|
# ==== Parameters:
|
34
34
|
#
|
35
|
-
# +p+::
|
36
|
-
# +opts+::
|
37
|
-
# +x+::
|
38
|
-
# +y+::
|
39
|
-
# +width+::
|
40
|
-
# +height+::
|
41
|
-
# +padLeft+::
|
42
|
-
# +padRight+::
|
43
|
-
# +padTop+::
|
44
|
-
# +padBottom+::
|
35
|
+
# +p+:: the parent widget for this separator {FXComposite}
|
36
|
+
# +opts+:: the options [Integer]
|
37
|
+
# +x+:: initial x-position [Integer]
|
38
|
+
# +y+:: initial y-position [Integer]
|
39
|
+
# +width+:: initial width [Integer]
|
40
|
+
# +height+:: initial height [Integer]
|
41
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
42
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
43
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
44
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
45
45
|
#
|
46
46
|
def initialize(p, opts=SEPARATOR_GROOVE|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=1, padRight=1, padTop=0, padBottom=0) # :yields: theHorizontalSeparator
|
47
47
|
end
|
@@ -56,16 +56,16 @@ module Fox
|
|
56
56
|
#
|
57
57
|
# ==== Parameters:
|
58
58
|
#
|
59
|
-
# +p+::
|
60
|
-
# +opts+::
|
61
|
-
# +x+::
|
62
|
-
# +y+::
|
63
|
-
# +width+::
|
64
|
-
# +height+::
|
65
|
-
# +padLeft+::
|
66
|
-
# +padRight+::
|
67
|
-
# +padTop+::
|
68
|
-
# +padBottom+::
|
59
|
+
# +p+:: the parent widget for this separator {FXComposite}
|
60
|
+
# +opts+:: the options [Integer]
|
61
|
+
# +x+:: initial x-position [Integer]
|
62
|
+
# +y+:: initial y-position [Integer]
|
63
|
+
# +width+:: initial width [Integer]
|
64
|
+
# +height+:: initial height [Integer]
|
65
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
66
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
67
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
68
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
69
69
|
#
|
70
70
|
def initialize(p, opts=SEPARATOR_GROOVE|LAYOUT_FILL_Y, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=1, padBottom=1) # :yields: theVerticalSeparator
|
71
71
|
end
|
data/rdoc-sources/FXSettings.rb
CHANGED
@@ -30,7 +30,7 @@ module Fox
|
|
30
30
|
#
|
31
31
|
# ==== Parameters:
|
32
32
|
#
|
33
|
-
# +pos+::
|
33
|
+
# +pos+:: the section number of interest [Integer]
|
34
34
|
#
|
35
35
|
def data(pos) ; end
|
36
36
|
|
@@ -41,7 +41,7 @@ module Fox
|
|
41
41
|
#
|
42
42
|
# ==== Parameters:
|
43
43
|
#
|
44
|
-
# +section+::
|
44
|
+
# +section+:: the section name of interest [String]
|
45
45
|
#
|
46
46
|
def find(section) ; end
|
47
47
|
|
@@ -57,9 +57,9 @@ module Fox
|
|
57
57
|
#
|
58
58
|
# ==== Parameters:
|
59
59
|
#
|
60
|
-
# +section+::
|
61
|
-
# +key+::
|
62
|
-
# +default+::
|
60
|
+
# +section+:: the section name [String]
|
61
|
+
# +key+:: the key for the setting of interest [String]
|
62
|
+
# +default+:: the default value to return if _key_ is not found [String]
|
63
63
|
#
|
64
64
|
def readStringEntry(section, key, default="") ; end
|
65
65
|
|
@@ -69,9 +69,9 @@ module Fox
|
|
69
69
|
#
|
70
70
|
# ==== Parameters:
|
71
71
|
#
|
72
|
-
# +section+::
|
73
|
-
# +key+::
|
74
|
-
# +default+::
|
72
|
+
# +section+:: the section name [String]
|
73
|
+
# +key+:: the key for the setting of interest [String]
|
74
|
+
# +default+:: the default value to return if _key_ is not found [Integer]
|
75
75
|
#
|
76
76
|
def readIntEntry(section, key, default=0) ; end
|
77
77
|
|
@@ -81,9 +81,9 @@ module Fox
|
|
81
81
|
#
|
82
82
|
# ==== Parameters:
|
83
83
|
#
|
84
|
-
# +section+::
|
85
|
-
# +key+::
|
86
|
-
# +default+::
|
84
|
+
# +section+:: the section name [String]
|
85
|
+
# +key+:: the key for the setting of interest [String]
|
86
|
+
# +default+:: the default value to return if _key_ is not found [Integer]
|
87
87
|
#
|
88
88
|
def readUnsignedEntry(section, key, default=0) ; end
|
89
89
|
|
@@ -93,9 +93,9 @@ module Fox
|
|
93
93
|
#
|
94
94
|
# ==== Parameters:
|
95
95
|
#
|
96
|
-
# +section+::
|
97
|
-
# +key+::
|
98
|
-
# +default+::
|
96
|
+
# +section+:: the section name [String]
|
97
|
+
# +key+:: the key for the setting of interest [String]
|
98
|
+
# +default+:: the default value to return if _key_ is not found [Float]
|
99
99
|
#
|
100
100
|
def readRealEntry(section, key, default=0.0) ; end
|
101
101
|
|
@@ -105,9 +105,9 @@ module Fox
|
|
105
105
|
#
|
106
106
|
# ==== Parameters:
|
107
107
|
#
|
108
|
-
# +section+::
|
109
|
-
# +key+::
|
110
|
-
# +default+::
|
108
|
+
# +section+:: the section name [String]
|
109
|
+
# +key+:: the key for the setting of interest [String]
|
110
|
+
# +default+:: the default value to return if _key_ is not found {FXColor}
|
111
111
|
#
|
112
112
|
def readColorEntry(section, key, default=0) ; end
|
113
113
|
|
@@ -117,9 +117,9 @@ module Fox
|
|
117
117
|
#
|
118
118
|
# ==== Parameters:
|
119
119
|
#
|
120
|
-
# +section+::
|
121
|
-
# +key+::
|
122
|
-
# +default+::
|
120
|
+
# +section+:: the section name [String]
|
121
|
+
# +key+:: the key for the setting of interest [String]
|
122
|
+
# +default+:: the default value to return if _key_ is not found [true or false]
|
123
123
|
#
|
124
124
|
def readBoolEntry(section, key, default=false) ; end
|
125
125
|
|
@@ -129,9 +129,9 @@ module Fox
|
|
129
129
|
#
|
130
130
|
# ==== Parameters:
|
131
131
|
#
|
132
|
-
# +section+::
|
133
|
-
# +key+::
|
134
|
-
# +value+::
|
132
|
+
# +section+:: the section name [String]
|
133
|
+
# +key+:: the key for this setting [String]
|
134
|
+
# +value+:: the value for this setting [String]
|
135
135
|
#
|
136
136
|
def writeStringEntry(section, key, value) ; end
|
137
137
|
|
@@ -141,9 +141,9 @@ module Fox
|
|
141
141
|
#
|
142
142
|
# ==== Parameters:
|
143
143
|
#
|
144
|
-
# +section+::
|
145
|
-
# +key+::
|
146
|
-
# +value+::
|
144
|
+
# +section+:: the section name [String]
|
145
|
+
# +key+:: the key for this setting [String]
|
146
|
+
# +value+:: the value for this setting [Integer]
|
147
147
|
#
|
148
148
|
def writeIntEntry(section, key, value) ; end
|
149
149
|
|
@@ -153,9 +153,9 @@ module Fox
|
|
153
153
|
#
|
154
154
|
# ==== Parameters:
|
155
155
|
#
|
156
|
-
# +section+::
|
157
|
-
# +key+::
|
158
|
-
# +value+::
|
156
|
+
# +section+:: the section name [String]
|
157
|
+
# +key+:: the key for this setting [String]
|
158
|
+
# +value+:: the value for this setting [Integer]
|
159
159
|
#
|
160
160
|
def writeUnsignedEntry(section, key, value) ; end
|
161
161
|
|
@@ -165,9 +165,9 @@ module Fox
|
|
165
165
|
#
|
166
166
|
# ==== Parameters:
|
167
167
|
#
|
168
|
-
# +section+::
|
169
|
-
# +key+::
|
170
|
-
# +value+::
|
168
|
+
# +section+:: the section name [String]
|
169
|
+
# +key+:: the key for this setting [String]
|
170
|
+
# +value+:: the value for this setting [Float]
|
171
171
|
#
|
172
172
|
def writeRealEntry(section, key, value) ; end
|
173
173
|
|
@@ -177,9 +177,9 @@ module Fox
|
|
177
177
|
#
|
178
178
|
# ==== Parameters:
|
179
179
|
#
|
180
|
-
# +section+::
|
181
|
-
# +key+::
|
182
|
-
# +value+::
|
180
|
+
# +section+:: the section name [String]
|
181
|
+
# +key+:: the key for this setting [String]
|
182
|
+
# +value+:: the value for this setting {FXColor}
|
183
183
|
#
|
184
184
|
def writeColorEntry(section, key, value) ; end
|
185
185
|
|
@@ -189,9 +189,9 @@ module Fox
|
|
189
189
|
#
|
190
190
|
# ==== Parameters:
|
191
191
|
#
|
192
|
-
# +section+::
|
193
|
-
# +key+::
|
194
|
-
# +value+::
|
192
|
+
# +section+:: the section name [String]
|
193
|
+
# +key+:: the key for this setting [String]
|
194
|
+
# +value+:: the value for this setting [true or false]
|
195
195
|
#
|
196
196
|
def writeBoolEntry(section, key, value) ; end
|
197
197
|
|
@@ -201,8 +201,8 @@ module Fox
|
|
201
201
|
#
|
202
202
|
# ==== Parameters:
|
203
203
|
#
|
204
|
-
# +section+::
|
205
|
-
# +key+::
|
204
|
+
# +section+:: the section containing the key to be deleted [String]
|
205
|
+
# +key+:: the key to be deleted [String]
|
206
206
|
#
|
207
207
|
def deleteEntry(section, key) ; end
|
208
208
|
|
@@ -211,8 +211,8 @@ module Fox
|
|
211
211
|
#
|
212
212
|
# ==== Parameters:
|
213
213
|
#
|
214
|
-
# +section+::
|
215
|
-
# +key+::
|
214
|
+
# +section+:: the section containing the key of interest [String]
|
215
|
+
# +key+:: the key of interest [String]
|
216
216
|
#
|
217
217
|
def existingEntry?(section, key) ; end
|
218
218
|
|
@@ -222,7 +222,7 @@ module Fox
|
|
222
222
|
#
|
223
223
|
# ==== Parameters:
|
224
224
|
#
|
225
|
-
# +section+::
|
225
|
+
# +section+:: the name of the section to be deleted [String]
|
226
226
|
#
|
227
227
|
def deleteSection(section) ; end
|
228
228
|
|
@@ -231,7 +231,7 @@ module Fox
|
|
231
231
|
#
|
232
232
|
# ==== Parameters:
|
233
233
|
#
|
234
|
-
# +section+::
|
234
|
+
# +section+:: the name of the section of interest [String]
|
235
235
|
#
|
236
236
|
def existingSection?(section) ; end
|
237
237
|
|
data/rdoc-sources/FXShutter.rb
CHANGED
@@ -7,15 +7,15 @@ module Fox
|
|
7
7
|
#
|
8
8
|
# === Message identifiers
|
9
9
|
#
|
10
|
-
# +ID_SHUTTERITEM_BUTTON+::
|
10
|
+
# +ID_SHUTTERITEM_BUTTON+:: x
|
11
11
|
#
|
12
12
|
class FXShutterItem < FXVerticalFrame
|
13
13
|
#
|
14
|
-
# The button for this shutter item
|
14
|
+
# The button for this shutter item {FXButton}
|
15
15
|
#
|
16
16
|
attr_reader :button
|
17
17
|
|
18
|
-
# The contents for this shutter item
|
18
|
+
# The contents for this shutter item {FXVerticalFrame}
|
19
19
|
attr_reader :content
|
20
20
|
|
21
21
|
# Status line help text for this shutter item [String]
|
@@ -29,20 +29,20 @@ module Fox
|
|
29
29
|
#
|
30
30
|
# ==== Parameters:
|
31
31
|
#
|
32
|
-
# +p+::
|
33
|
-
# +text+::
|
34
|
-
# +icon+::
|
35
|
-
# +opts+::
|
36
|
-
# +x+::
|
37
|
-
# +y+::
|
38
|
-
# +width+::
|
39
|
-
# +height+::
|
40
|
-
# +padLeft+::
|
41
|
-
# +padRight+::
|
42
|
-
# +padTop+::
|
43
|
-
# +padBottom+::
|
44
|
-
# +hSpacing+::
|
45
|
-
# +vSpacing+::
|
32
|
+
# +p+:: the parent shutter for this shutter item {FXShutter}
|
33
|
+
# +text+:: the text, if any [String]
|
34
|
+
# +icon+:: the icon, if any {FXIcon}
|
35
|
+
# +opts+:: options [Integer]
|
36
|
+
# +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
|
37
|
+
# +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
|
38
|
+
# +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
|
39
|
+
# +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
|
40
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
41
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
42
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
43
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
44
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
45
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
46
46
|
#
|
47
47
|
def initialize(p, text="", icon=nil, opts=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: theShutterItem
|
48
48
|
end
|
@@ -63,10 +63,10 @@ module Fox
|
|
63
63
|
#
|
64
64
|
# === Message identifiers
|
65
65
|
#
|
66
|
-
# +ID_SHUTTER_TIMEOUT+::
|
67
|
-
# +ID_OPEN_SHUTTERITEM+::
|
68
|
-
# +ID_OPEN_FIRST+::
|
69
|
-
# +ID_OPEN_LAST+::
|
66
|
+
# +ID_SHUTTER_TIMEOUT+:: x
|
67
|
+
# +ID_OPEN_SHUTTERITEM+:: x
|
68
|
+
# +ID_OPEN_FIRST+:: x
|
69
|
+
# +ID_OPEN_LAST+:: x
|
70
70
|
#
|
71
71
|
class FXShutter < FXVerticalFrame
|
72
72
|
|
@@ -80,20 +80,20 @@ module Fox
|
|
80
80
|
#
|
81
81
|
# ==== Parameters:
|
82
82
|
#
|
83
|
-
# +p+::
|
84
|
-
# +target+::
|
85
|
-
# +selector+::
|
86
|
-
# +opts+::
|
87
|
-
# +x+::
|
88
|
-
# +y+::
|
89
|
-
# +width+::
|
90
|
-
# +height+::
|
91
|
-
# +padLeft+::
|
92
|
-
# +padRight+::
|
93
|
-
# +padTop+::
|
94
|
-
# +padBottom+::
|
95
|
-
# +hSpacing+::
|
96
|
-
# +vSpacing+::
|
83
|
+
# +p+:: the parent window for this shutter {FXComposite}
|
84
|
+
# +target+:: the message target, if any, for this shutter {FXObject}
|
85
|
+
# +selector+:: the message identifier for this shutter [Integer]
|
86
|
+
# +opts+:: shutter options [Integer]
|
87
|
+
# +x+:: initial x-position [Integer]
|
88
|
+
# +y+:: initial y-position [Integer]
|
89
|
+
# +width+:: initial width [Integer]
|
90
|
+
# +height+:: initial height [Integer]
|
91
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
92
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
93
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
94
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
95
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
96
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
97
97
|
#
|
98
98
|
def initialize(p, target=nil, selector=0, opts=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: theShutter
|
99
99
|
end
|
data/rdoc-sources/FXSize.rb
CHANGED
@@ -34,7 +34,7 @@ module Fox
|
|
34
34
|
#
|
35
35
|
# ==== Parameters:
|
36
36
|
#
|
37
|
-
# +margin+::
|
37
|
+
# +margin+:: number of units to grow on each side [Integer]
|
38
38
|
#
|
39
39
|
def grow!(margin); end
|
40
40
|
|
@@ -43,8 +43,8 @@ module Fox
|
|
43
43
|
#
|
44
44
|
# ==== Parameters:
|
45
45
|
#
|
46
|
-
# +hormargin+::
|
47
|
-
# +vermargin+::
|
46
|
+
# +hormargin+:: number of units to grow on the left and right sides [Integer]
|
47
|
+
# +vermargin+:: number of units to grow on the top and bottom sides [Integer]
|
48
48
|
#
|
49
49
|
def grow!(hormargin, vermargin); end
|
50
50
|
|
@@ -53,10 +53,10 @@ module Fox
|
|
53
53
|
#
|
54
54
|
# ==== Parameters:
|
55
55
|
#
|
56
|
-
# +leftmargin+::
|
57
|
-
# +rightmargin+::
|
58
|
-
# +topmargin+::
|
59
|
-
# +bottommargin+::
|
56
|
+
# +leftmargin+:: number of units to grow on the left side [Integer]
|
57
|
+
# +rightmargin+:: number of units to grow on the right side [Integer]
|
58
|
+
# +topmargin+:: number of units to grow on the top side [Integer]
|
59
|
+
# +bottommargin+:: number of units to grow on the bottom side [Integer]
|
60
60
|
#
|
61
61
|
def grow!(leftmargin, rightmargin, topmargin, bottommargin); end
|
62
62
|
|
@@ -65,7 +65,7 @@ module Fox
|
|
65
65
|
#
|
66
66
|
# ==== Parameters:
|
67
67
|
#
|
68
|
-
# +margin+::
|
68
|
+
# +margin+:: number of units to shrink on each side [Integer]
|
69
69
|
#
|
70
70
|
def shrink!(margin); end
|
71
71
|
|
@@ -74,8 +74,8 @@ module Fox
|
|
74
74
|
#
|
75
75
|
# ==== Parameters:
|
76
76
|
#
|
77
|
-
# +hormargin+::
|
78
|
-
# +vermargin+::
|
77
|
+
# +hormargin+:: number of units to shrink on the left and right sides [Integer]
|
78
|
+
# +vermargin+:: number of units to shrink on the top and bottom sides [Integer]
|
79
79
|
#
|
80
80
|
def shrink!(hormargin, vermargin); end
|
81
81
|
|
@@ -84,10 +84,10 @@ module Fox
|
|
84
84
|
#
|
85
85
|
# ==== Parameters:
|
86
86
|
#
|
87
|
-
# +leftmargin+::
|
88
|
-
# +rightmargin+::
|
89
|
-
# +topmargin+::
|
90
|
-
# +bottommargin+::
|
87
|
+
# +leftmargin+:: number of units to shrink on the left side [Integer]
|
88
|
+
# +rightmargin+:: number of units to shrink on the right side [Integer]
|
89
|
+
# +topmargin+:: number of units to shrink on the top side [Integer]
|
90
|
+
# +bottommargin+:: number of units to shrink on the bottom side [Integer]
|
91
91
|
#
|
92
92
|
def shrink!(leftmargin, rightmargin, topmargin, bottommargin); end
|
93
93
|
end
|