fxruby 1.6.4 → 1.6.5
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/doc/apes02.html +2 -2
- data/doc/apes03.html +2 -2
- data/doc/book.html +1 -1
- data/doc/changes.html +40 -20
- data/doc/differences.html +183 -4
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +4 -4
- data/doc/subversion.html +21 -0
- data/examples/raabrowser.rb +1 -1
- data/ext/fox16/table_wrap.cpp +3 -10
- data/lib/fox16/iterators.rb +37 -0
- data/lib/fox16/kwargs.rb +1160 -960
- data/lib/fox16/timeout.rb +1 -1
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +8 -8
- data/rdoc-sources/FX7Segment.rb +1 -1
- data/rdoc-sources/FXAccelTable.rb +2 -2
- data/rdoc-sources/FXBMPIcon.rb +3 -3
- data/rdoc-sources/FXBMPImage.rb +3 -3
- data/rdoc-sources/FXBitmapFrame.rb +1 -1
- data/rdoc-sources/FXBitmapView.rb +1 -1
- data/rdoc-sources/FXChoiceBox.rb +3 -3
- data/rdoc-sources/FXColorList.rb +1 -1
- data/rdoc-sources/FXColorRing.rb +1 -1
- data/rdoc-sources/FXColorWheel.rb +9 -9
- data/rdoc-sources/FXComboBox.rb +9 -9
- data/rdoc-sources/FXDC.rb +10 -10
- data/rdoc-sources/FXDataTarget.rb +1 -1
- data/rdoc-sources/FXDial.rb +9 -9
- data/rdoc-sources/FXDialogBox.rb +1 -1
- data/rdoc-sources/FXDirBox.rb +1 -1
- data/rdoc-sources/FXDirDialog.rb +1 -1
- data/rdoc-sources/FXDirList.rb +1 -1
- data/rdoc-sources/FXDirSelector.rb +1 -1
- data/rdoc-sources/FXDockBar.rb +20 -20
- data/rdoc-sources/FXDockSite.rb +1 -1
- data/rdoc-sources/FXDockTitle.rb +1 -1
- data/rdoc-sources/FXDrawable.rb +2 -2
- data/rdoc-sources/FXDriveBox.rb +1 -1
- data/rdoc-sources/FXFileDialog.rb +1 -1
- data/rdoc-sources/FXFileList.rb +1 -1
- data/rdoc-sources/FXFileSelector.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +6 -6
- data/rdoc-sources/FXFontDialog.rb +1 -1
- data/rdoc-sources/FXFontSelector.rb +1 -1
- data/rdoc-sources/FXGIFIcon.rb +3 -3
- data/rdoc-sources/FXGIFImage.rb +3 -3
- data/rdoc-sources/FXGLCanvas.rb +2 -2
- data/rdoc-sources/FXGLViewer.rb +2 -2
- data/rdoc-sources/FXGradientBar.rb +1 -1
- data/rdoc-sources/FXHeader.rb +1 -1
- data/rdoc-sources/FXHorizontalFrame.rb +9 -9
- data/rdoc-sources/FXICOIcon.rb +3 -3
- data/rdoc-sources/FXICOImage.rb +3 -3
- data/rdoc-sources/FXIcon.rb +3 -3
- data/rdoc-sources/FXIconList.rb +1 -1
- data/rdoc-sources/FXImage.rb +7 -7
- data/rdoc-sources/FXImageFrame.rb +1 -1
- data/rdoc-sources/FXImageView.rb +1 -1
- data/rdoc-sources/FXInputDialog.rb +1 -1
- data/rdoc-sources/FXJPGIcon.rb +3 -3
- data/rdoc-sources/FXJPGImage.rb +3 -3
- data/rdoc-sources/FXKnob.rb +1 -1
- data/rdoc-sources/FXList.rb +1 -1
- data/rdoc-sources/FXListBox.rb +1 -1
- data/rdoc-sources/FXMDIButton.rb +6 -6
- data/rdoc-sources/FXMDIChild.rb +1 -1
- data/rdoc-sources/FXMDIClient.rb +2 -2
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMenuCheck.rb +1 -1
- data/rdoc-sources/FXMenuCommand.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +1 -1
- data/rdoc-sources/FXOptionMenu.rb +2 -2
- data/rdoc-sources/FXPCXIcon.rb +3 -3
- data/rdoc-sources/FXPCXImage.rb +3 -3
- data/rdoc-sources/FXPNGIcon.rb +3 -3
- data/rdoc-sources/FXPNGImage.rb +3 -3
- data/rdoc-sources/FXPPMIcon.rb +3 -3
- data/rdoc-sources/FXPPMImage.rb +3 -3
- data/rdoc-sources/FXPicker.rb +1 -1
- data/rdoc-sources/FXPopup.rb +2 -2
- data/rdoc-sources/FXPrintDialog.rb +1 -1
- data/rdoc-sources/FXProgressBar.rb +1 -1
- data/rdoc-sources/FXProgressDialog.rb +1 -1
- data/rdoc-sources/FXQuatd.rb +1 -1
- data/rdoc-sources/FXQuatf.rb +1 -1
- data/rdoc-sources/FXRGBIcon.rb +3 -3
- data/rdoc-sources/FXRGBImage.rb +3 -3
- data/rdoc-sources/FXRealSlider.rb +9 -9
- data/rdoc-sources/FXRealSpinner.rb +9 -9
- data/rdoc-sources/FXRecentFiles.rb +1 -1
- data/rdoc-sources/FXReplaceDialog.rb +3 -3
- data/rdoc-sources/FXRuler.rb +1 -1
- data/rdoc-sources/FXRulerView.rb +1 -1
- data/rdoc-sources/FXScintilla.rb +1 -1
- data/rdoc-sources/FXScrollBar.rb +5 -5
- data/rdoc-sources/FXScrollWindow.rb +3 -3
- data/rdoc-sources/FXSearchDialog.rb +3 -3
- data/rdoc-sources/FXSeparator.rb +15 -15
- data/rdoc-sources/FXShutter.rb +20 -20
- data/rdoc-sources/FXSlider.rb +9 -9
- data/rdoc-sources/FXSpinner.rb +9 -9
- data/rdoc-sources/FXSplitter.rb +8 -8
- data/rdoc-sources/FXSpring.rb +9 -9
- data/rdoc-sources/FXStatusBar.rb +9 -9
- data/rdoc-sources/FXStatusLine.rb +3 -3
- data/rdoc-sources/FXSwitcher.rb +7 -7
- data/rdoc-sources/FXTGAIcon.rb +3 -3
- data/rdoc-sources/FXTGAImage.rb +3 -3
- data/rdoc-sources/FXTIFIcon.rb +3 -3
- data/rdoc-sources/FXTIFImage.rb +3 -3
- data/rdoc-sources/FXTabBar.rb +9 -9
- data/rdoc-sources/FXTabBook.rb +9 -9
- data/rdoc-sources/FXTabItem.rb +7 -7
- data/rdoc-sources/FXTable.rb +10 -10
- data/rdoc-sources/FXText.rb +5 -5
- data/rdoc-sources/FXTextField.rb +9 -9
- data/rdoc-sources/FXToggleButton.rb +9 -9
- data/rdoc-sources/FXToolBar.rb +20 -20
- data/rdoc-sources/FXToolBarGrip.rb +5 -5
- data/rdoc-sources/FXToolBarShell.rb +5 -5
- data/rdoc-sources/FXToolBarTab.rb +5 -5
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTreeList.rb +5 -5
- data/rdoc-sources/FXTreeListBox.rb +10 -10
- data/rdoc-sources/FXTriStateButton.rb +9 -9
- data/rdoc-sources/FXVerticalFrame.rb +9 -9
- data/rdoc-sources/FXWindow.rb +5 -5
- data/rdoc-sources/FXWizard.rb +1 -1
- data/rdoc-sources/FXXBMIcon.rb +3 -3
- data/rdoc-sources/FXXBMImage.rb +3 -3
- data/rdoc-sources/FXXPMIcon.rb +3 -3
- data/rdoc-sources/FXXPMImage.rb +3 -3
- metadata +5 -4
- data/doc/cvs.html +0 -35
data/rdoc-sources/FXDrawable.rb
CHANGED
@@ -19,8 +19,8 @@ module Fox
|
|
19
19
|
#
|
20
20
|
# ==== Parameters:
|
21
21
|
#
|
22
|
-
# +
|
23
|
-
# +
|
22
|
+
# +width+:: new drawable width, in pixels [Integer]
|
23
|
+
# +height+:: new drawable height, in pixels [Integer]
|
24
24
|
#
|
25
25
|
def resize(w, h); end
|
26
26
|
end
|
data/rdoc-sources/FXDriveBox.rb
CHANGED
@@ -18,7 +18,7 @@ module Fox
|
|
18
18
|
attr_accessor :associations
|
19
19
|
|
20
20
|
# Returns an initialized FXDriveBox instance
|
21
|
-
def initialize(p,
|
21
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDriveBox
|
22
22
|
end
|
23
23
|
|
24
24
|
#
|
@@ -63,7 +63,7 @@ module Fox
|
|
63
63
|
attr_accessor :imageSize
|
64
64
|
|
65
65
|
# Construct a file dialog box
|
66
|
-
def initialize(owner, name, opts=0, x=0, y=0,
|
66
|
+
def initialize(owner, name, opts=0, x=0, y=0, width=500, height=300) # :yields: theFileDialog
|
67
67
|
end
|
68
68
|
|
69
69
|
#
|
data/rdoc-sources/FXFileList.rb
CHANGED
@@ -105,7 +105,7 @@ module Fox
|
|
105
105
|
attr_accessor :imageSize
|
106
106
|
|
107
107
|
# Construct a file list
|
108
|
-
def initialize(p,
|
108
|
+
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFileList
|
109
109
|
end
|
110
110
|
|
111
111
|
#
|
@@ -79,7 +79,7 @@ module Fox
|
|
79
79
|
#
|
80
80
|
# Return an initialized FXFileSelector instance.
|
81
81
|
#
|
82
|
-
def initialize(p,
|
82
|
+
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFileSelector
|
83
83
|
end
|
84
84
|
|
85
85
|
#
|
@@ -184,7 +184,7 @@ module Fox
|
|
184
184
|
# +FOLDINGLIST_SHOWS_LINES+:: Lines shown
|
185
185
|
# +FOLDINGLIST_SHOWS_BOXES+:: Boxes to expand shown
|
186
186
|
# +FOLDINGLIST_ROOT_BOXES+:: Display root boxes also
|
187
|
-
# +FOLDINGLIST_NORMAL+:: same as +
|
187
|
+
# +FOLDINGLIST_NORMAL+:: same as +FOLDINGLIST_EXTENDEDSELECT+
|
188
188
|
|
189
189
|
class FXFoldingList < FXScrollArea
|
190
190
|
|
@@ -245,15 +245,15 @@ module Fox
|
|
245
245
|
# ==== Parameters:
|
246
246
|
#
|
247
247
|
# +p+:: the parent window for this folding list [FXComposite]
|
248
|
-
# +
|
249
|
-
# +
|
248
|
+
# +target+:: the message target, if any, for this folding list [FXObject]
|
249
|
+
# +selector+:: the message identifier for this folding list [Integer]
|
250
250
|
# +opts+:: folding list options [Integer]
|
251
251
|
# +x+:: initial x-position [Integer]
|
252
252
|
# +y+:: initial y-position [Integer]
|
253
|
-
# +
|
254
|
-
# +
|
253
|
+
# +width+:: initial width [Integer]
|
254
|
+
# +height+:: initial height [Integer]
|
255
255
|
#
|
256
|
-
def initialize(p,
|
256
|
+
def initialize(p, target=nil, selector=0, opts=TREELIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theFoldingList
|
257
257
|
end
|
258
258
|
|
259
259
|
# Set headers from an array of strings.
|
@@ -30,7 +30,7 @@ module Fox
|
|
30
30
|
#
|
31
31
|
# Return an initialized FXFontSelector instance.
|
32
32
|
#
|
33
|
-
def initialize(p,
|
33
|
+
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theFontSelector
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
data/rdoc-sources/FXGIFIcon.rb
CHANGED
@@ -22,10 +22,10 @@ module Fox
|
|
22
22
|
# +pix+:: a memory buffer formatted in GIF file format [String]
|
23
23
|
# +clr+:: transparency color [FXColor]
|
24
24
|
# +opts+:: options [Integer]
|
25
|
-
# +
|
26
|
-
# +
|
25
|
+
# +width+:: width [Integer]
|
26
|
+
# +height+:: height [Integer]
|
27
27
|
#
|
28
|
-
def initialize(a, pix=nil, clr=0, opts=0,
|
28
|
+
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theGIFIcon
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
data/rdoc-sources/FXGIFImage.rb
CHANGED
@@ -19,10 +19,10 @@ module Fox
|
|
19
19
|
# +a+:: an application instance [FXApp]
|
20
20
|
# +pix+:: a memory buffer formatted in GIF file format [String]
|
21
21
|
# +opts+:: options [Integer]
|
22
|
-
# +
|
23
|
-
# +
|
22
|
+
# +width+:: width [Integer]
|
23
|
+
# +height+:: height [Integer]
|
24
24
|
#
|
25
|
-
def initialize(a, pix=nil, opts=0,
|
25
|
+
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theGIFImage
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
data/rdoc-sources/FXGLCanvas.rb
CHANGED
@@ -6,7 +6,7 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# Construct an OpenGL-capable canvas, with its own private display list.
|
8
8
|
#
|
9
|
-
def initialize(parent, vis,
|
9
|
+
def initialize(parent, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
|
10
10
|
end
|
11
11
|
|
12
12
|
#
|
@@ -15,7 +15,7 @@ module Fox
|
|
15
15
|
# of a display list share group. All members of the display
|
16
16
|
# list share group have to have the same visual.
|
17
17
|
#
|
18
|
-
def initialize(parent, vis, sharegroup,
|
18
|
+
def initialize(parent, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
|
19
19
|
end
|
20
20
|
|
21
21
|
# Return +true+ if sharing display lists.
|
data/rdoc-sources/FXGLViewer.rb
CHANGED
@@ -252,13 +252,13 @@ module Fox
|
|
252
252
|
#
|
253
253
|
# Construct GL viewer widget
|
254
254
|
#
|
255
|
-
def initialize(p, vis,
|
255
|
+
def initialize(p, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
|
256
256
|
end
|
257
257
|
|
258
258
|
#
|
259
259
|
# Construct GL viewer widget sharing display list with another GL viewer
|
260
260
|
#
|
261
|
-
def initialize(p, vis, sharegroup,
|
261
|
+
def initialize(p, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLViewer
|
262
262
|
end
|
263
263
|
|
264
264
|
# Return an array of all objects in the given rectangle
|
@@ -94,7 +94,7 @@ module Fox
|
|
94
94
|
#
|
95
95
|
# Return an initialized FXGradientBar instance.
|
96
96
|
#
|
97
|
-
def initialize(p,
|
97
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theGradientBar
|
98
98
|
end
|
99
99
|
|
100
100
|
#
|
data/rdoc-sources/FXHeader.rb
CHANGED
@@ -158,7 +158,7 @@ module Fox
|
|
158
158
|
#
|
159
159
|
# Return an initialized FXHeader instance.
|
160
160
|
#
|
161
|
-
def initialize(p,
|
161
|
+
def initialize(p, target=nil, selector=0, opts=HEADER_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theHeader
|
162
162
|
end
|
163
163
|
|
164
164
|
#
|
@@ -14,16 +14,16 @@ module Fox
|
|
14
14
|
# +opts+:: frame options [Integer]
|
15
15
|
# +x+:: initial x-position [Integer]
|
16
16
|
# +y+:: initial y-position [Integer]
|
17
|
-
# +
|
18
|
-
# +
|
19
|
-
# +
|
20
|
-
# +
|
21
|
-
# +
|
22
|
-
# +
|
23
|
-
# +
|
24
|
-
# +
|
17
|
+
# +width+:: initial width [Integer]
|
18
|
+
# +height+:: initial height [Integer]
|
19
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
20
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
21
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
22
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
23
|
+
# +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
|
24
|
+
# +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
|
25
25
|
#
|
26
|
-
def initialize(p, opts=0, x=0, y=0,
|
26
|
+
def initialize(p, 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: theHorizontalFrame
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
data/rdoc-sources/FXICOIcon.rb
CHANGED
@@ -22,10 +22,10 @@ module Fox
|
|
22
22
|
# +pix+:: a memory buffer formatted in ICO file format [String]
|
23
23
|
# +clr+:: transparency color [FXColor]
|
24
24
|
# +opts+:: options [Integer]
|
25
|
-
# +
|
26
|
-
# +
|
25
|
+
# +width+:: width [Integer]
|
26
|
+
# +height+:: height [Integer]
|
27
27
|
#
|
28
|
-
def initialize(a, pix=nil, clr=0, opts=0,
|
28
|
+
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theICOIcon
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
data/rdoc-sources/FXICOImage.rb
CHANGED
@@ -21,10 +21,10 @@ module Fox
|
|
21
21
|
# +a+:: an application instance [FXApp]
|
22
22
|
# +pix+:: a memory buffer formatted in ICO file format [String]
|
23
23
|
# +opts+:: options [Integer]
|
24
|
-
# +
|
25
|
-
# +
|
24
|
+
# +width+:: width [Integer]
|
25
|
+
# +height+:: height [Integer]
|
26
26
|
#
|
27
|
-
def initialize(a, pix=nil, opts=0,
|
27
|
+
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theICOImage
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
data/rdoc-sources/FXIcon.rb
CHANGED
@@ -29,10 +29,10 @@ module Fox
|
|
29
29
|
# +pix+:: initial pixel buffer [String]
|
30
30
|
# +clr+:: transparency color [FXColor]
|
31
31
|
# +opts+:: options [Integer]
|
32
|
-
# +
|
33
|
-
# +
|
32
|
+
# +width+:: width [Integer]
|
33
|
+
# +height+:: height [Integer]
|
34
34
|
#
|
35
|
-
def initialize(app, pix=nil, clr=0, opts=0,
|
35
|
+
def initialize(app, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theIcon
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
data/rdoc-sources/FXIconList.rb
CHANGED
@@ -183,7 +183,7 @@ module Fox
|
|
183
183
|
attr_accessor :helpText
|
184
184
|
|
185
185
|
# Construct icon list with no items in it initially
|
186
|
-
def initialize(p,
|
186
|
+
def initialize(p, target=nil, selector=0, opts=ICONLIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theIconList
|
187
187
|
end
|
188
188
|
|
189
189
|
# Set headers from an array of strings.
|
data/rdoc-sources/FXImage.rb
CHANGED
@@ -59,10 +59,10 @@ module Fox
|
|
59
59
|
# +a+:: an application instance [FXApp]
|
60
60
|
# +pixels+:: pixels [Array of FXColor values]
|
61
61
|
# +opts+:: image options [Integer]
|
62
|
-
# +
|
63
|
-
# +
|
62
|
+
# +width+:: image width [Integer]
|
63
|
+
# +height+:: image height [Integer]
|
64
64
|
#
|
65
|
-
def initialize(a, pixels=nil, opts=0,
|
65
|
+
def initialize(a, pixels=nil, opts=0, width=1, height=1) # :yields: theImage
|
66
66
|
end
|
67
67
|
|
68
68
|
#
|
@@ -125,8 +125,8 @@ module Fox
|
|
125
125
|
#
|
126
126
|
# ==== Parameters:
|
127
127
|
#
|
128
|
-
# +
|
129
|
-
# +
|
128
|
+
# +width+:: new image width, in pixels [Integer]
|
129
|
+
# +height+:: new image height, in pixels [Integer]
|
130
130
|
# +quality+:: scaling algorithm quality, either 0 or 1 (see above) [Integer]
|
131
131
|
#
|
132
132
|
def scale(w, h, quality=0) ; end
|
@@ -160,8 +160,8 @@ module Fox
|
|
160
160
|
#
|
161
161
|
# +x+:: x-coordinate for top left corner of the clip rectangle [Integer]
|
162
162
|
# +y+:: y-coordinate for top left corner of the clip rectangle [Integer]
|
163
|
-
# +
|
164
|
-
# +
|
163
|
+
# +width+:: width of the clip rectangle [Integer]
|
164
|
+
# +height+:: height of the clip rectangle [Integer]
|
165
165
|
# +color+:: fill color for blank areas after crop [FXColor]
|
166
166
|
#
|
167
167
|
def crop(x, y, w, h, color=0) ; end
|
@@ -16,7 +16,7 @@ module Fox
|
|
16
16
|
#
|
17
17
|
# Return an initialized FXImageFrame instance.
|
18
18
|
#
|
19
|
-
def initialize(p, img, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0,
|
19
|
+
def initialize(p, img, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theImageFrame
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
data/rdoc-sources/FXImageView.rb
CHANGED
@@ -28,7 +28,7 @@ module Fox
|
|
28
28
|
#
|
29
29
|
# Return an initialized FXImageView instance.
|
30
30
|
#
|
31
|
-
def initialize(p, img=nil,
|
31
|
+
def initialize(p, img=nil, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theImageView
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -24,7 +24,7 @@ module Fox
|
|
24
24
|
# If _owner_ is a window, the dialog box will float over that window.
|
25
25
|
# If _owner_ is the application, the dialog box will be free-floating.
|
26
26
|
#
|
27
|
-
def initialize(owner, caption, label, icon=nil, opts=INPUTDIALOG_STRING, x=0, y=0,
|
27
|
+
def initialize(owner, caption, label, icon=nil, opts=INPUTDIALOG_STRING, x=0, y=0, width=0, height=0) # :yields: theInputDialog
|
28
28
|
end
|
29
29
|
|
30
30
|
#
|
data/rdoc-sources/FXJPGIcon.rb
CHANGED
@@ -29,10 +29,10 @@ module Fox
|
|
29
29
|
# +pix+:: a memory buffer formatted in JPEG file format [String]
|
30
30
|
# +clr+:: transparency color [FXColor]
|
31
31
|
# +opts+:: options [Integer]
|
32
|
-
# +
|
33
|
-
# +
|
32
|
+
# +width+:: width [Integer]
|
33
|
+
# +height+:: height [Integer]
|
34
34
|
#
|
35
|
-
def initialize(a, pix=nil, clr=0, opts=0,
|
35
|
+
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theJPGIcon
|
36
36
|
end
|
37
37
|
end
|
38
38
|
#
|
data/rdoc-sources/FXJPGImage.rb
CHANGED
@@ -28,10 +28,10 @@ module Fox
|
|
28
28
|
# +a+:: an application instance [FXApp]
|
29
29
|
# +pix+:: a memory buffer formatted in JPEG file format [String]
|
30
30
|
# +opts+:: options [Integer]
|
31
|
-
# +
|
32
|
-
# +
|
31
|
+
# +width+:: width [Integer]
|
32
|
+
# +height+:: height [Integer]
|
33
33
|
#
|
34
|
-
def initialize(a, pix=nil, opts=0,
|
34
|
+
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theJPGImage
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
data/rdoc-sources/FXKnob.rb
CHANGED
@@ -58,7 +58,7 @@ module Fox
|
|
58
58
|
#
|
59
59
|
# Return a new FXKnob instance.
|
60
60
|
#
|
61
|
-
def initialize(p,
|
61
|
+
def initialize(p, target=nil, selector=0, opts=KNOB_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theKnob
|
62
62
|
end
|
63
63
|
|
64
64
|
#
|
data/rdoc-sources/FXList.rb
CHANGED
@@ -141,7 +141,7 @@ module Fox
|
|
141
141
|
attr_accessor :helpText
|
142
142
|
|
143
143
|
# Construct a list with initially no items in it.
|
144
|
-
def initialize(p,
|
144
|
+
def initialize(p, target=nil, selector=0, opts=LIST_NORMAL, x=0, y=0, width=0, height=0) # :yields: theList
|
145
145
|
end
|
146
146
|
|
147
147
|
# Return the item at the given _index_; returns a reference to an FXListItem instance.
|
data/rdoc-sources/FXListBox.rb
CHANGED
@@ -61,7 +61,7 @@ module Fox
|
|
61
61
|
#
|
62
62
|
# Returns an initialized FXListBox instance.
|
63
63
|
#
|
64
|
-
def initialize(p,
|
64
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theListBox
|
65
65
|
end
|
66
66
|
|
67
67
|
#
|
data/rdoc-sources/FXMDIButton.rb
CHANGED
@@ -6,7 +6,7 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# Constructor
|
8
8
|
#
|
9
|
-
def initialize(p,
|
9
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIDeleteButton
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
@@ -17,7 +17,7 @@ module Fox
|
|
17
17
|
#
|
18
18
|
# Constructor
|
19
19
|
#
|
20
|
-
def initialize(p,
|
20
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIRestoreButton
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -28,7 +28,7 @@ module Fox
|
|
28
28
|
#
|
29
29
|
# Constructor
|
30
30
|
#
|
31
|
-
def initialize(p,
|
31
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIMaximizeButton
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -39,7 +39,7 @@ module Fox
|
|
39
39
|
#
|
40
40
|
# Constructor
|
41
41
|
#
|
42
|
-
def initialize(p,
|
42
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_RAISED, x=0, y=0, width=0, height=0) # :yields: theMDIMinimizeButton
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -50,7 +50,7 @@ module Fox
|
|
50
50
|
#
|
51
51
|
# Constructor
|
52
52
|
#
|
53
|
-
def initialize(p, pup,
|
53
|
+
def initialize(p, pup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theMDIWindowButton
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
@@ -61,7 +61,7 @@ module Fox
|
|
61
61
|
#
|
62
62
|
# Construct MDI menu
|
63
63
|
#
|
64
|
-
def initialize(owner,
|
64
|
+
def initialize(owner, target=nil); end
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|