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/lib/fox16/timeout.rb
CHANGED
data/lib/fox16/version.rb
CHANGED
data/rdoc-sources/FX4Splitter.rb
CHANGED
@@ -89,10 +89,10 @@ module Fox
|
|
89
89
|
# +opts+:: the options [Integer]
|
90
90
|
# +x+:: initial x-position [Integer]
|
91
91
|
# +y+:: initial y-position [Integer]
|
92
|
-
# +
|
93
|
-
# +
|
92
|
+
# +width+:: initial width [Integer]
|
93
|
+
# +height+:: initial height [Integer]
|
94
94
|
#
|
95
|
-
def initialize(p, opts=FOURSPLITTER_NORMAL, x=0, y=0,
|
95
|
+
def initialize(p, opts=FOURSPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
|
96
96
|
end
|
97
97
|
|
98
98
|
#
|
@@ -102,15 +102,15 @@ module Fox
|
|
102
102
|
# ==== Parameters:
|
103
103
|
#
|
104
104
|
# +p+:: the parent widget for this splitter [FXComposite]
|
105
|
-
# +
|
106
|
-
# +
|
105
|
+
# +target+:: message target [FXObject]
|
106
|
+
# +selector+:: message identifier [Integer]
|
107
107
|
# +opts+:: the options [Integer]
|
108
108
|
# +x+:: initial x-position [Integer]
|
109
109
|
# +y+:: initial y-position [Integer]
|
110
|
-
# +
|
111
|
-
# +
|
110
|
+
# +width+:: initial width [Integer]
|
111
|
+
# +height+:: initial height [Integer]
|
112
112
|
#
|
113
|
-
def initialize(p, tgt, sel, opts=FOURSPLITTER_NORMAL, x=0, y=0,
|
113
|
+
def initialize(p, tgt, sel, opts=FOURSPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
|
114
114
|
end
|
115
115
|
|
116
116
|
#
|
data/rdoc-sources/FX7Segment.rb
CHANGED
@@ -35,7 +35,7 @@ module Fox
|
|
35
35
|
attr_accessor :tipText
|
36
36
|
|
37
37
|
# Create a seven segment display
|
38
|
-
def initialize(p, text, opts=SEVENSEGMENT_NORMAL, x=0, y=0,
|
38
|
+
def initialize(p, text, opts=SEVENSEGMENT_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: the7Segment
|
39
39
|
end
|
40
40
|
|
41
41
|
#
|
@@ -23,11 +23,11 @@ module Fox
|
|
23
23
|
# ==== Parameters:
|
24
24
|
#
|
25
25
|
# +hotKey+:: the hotkey associated with this accelerator [Integer]
|
26
|
-
# +
|
26
|
+
# +target+:: message target [FXObject]
|
27
27
|
# +seldn+:: selector for the +SEL_KEYPRESS+ event [Integer]
|
28
28
|
# +selup+:: selector for the +SEL_KEYRELEASE+ event [Integer]
|
29
29
|
#
|
30
|
-
def addAccel(hotKey,
|
30
|
+
def addAccel(hotKey, target=nil, seldn=0, selup=0) ; end
|
31
31
|
|
32
32
|
#
|
33
33
|
# Remove an accelerator from the table.
|
data/rdoc-sources/FXBMPIcon.rb
CHANGED
@@ -27,10 +27,10 @@ module Fox
|
|
27
27
|
# +pix+:: a memory buffer formatted in BMP file format [String]
|
28
28
|
# +clr+:: transparency color [FXColor]
|
29
29
|
# +opts+:: options [Integer]
|
30
|
-
# +
|
31
|
-
# +
|
30
|
+
# +width+:: width [Integer]
|
31
|
+
# +height+:: height [Integer]
|
32
32
|
#
|
33
|
-
def initialize(a, pix=nil, clr=FXRGB(192,192,192), opts=0,
|
33
|
+
def initialize(a, pix=nil, clr=FXRGB(192,192,192), opts=0, width=1, height=1) # :yields: theBMPIcon
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
data/rdoc-sources/FXBMPImage.rb
CHANGED
@@ -21,10 +21,10 @@ module Fox
|
|
21
21
|
# +a+:: an application instance [FXApp]
|
22
22
|
# +pix+:: a memory buffer formatted in BMP 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: theBMPImage
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
@@ -25,7 +25,7 @@ module Fox
|
|
25
25
|
#
|
26
26
|
# Return an initialized FXBitmapFrame instance.
|
27
27
|
#
|
28
|
-
def initialize(p, bmp, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0,
|
28
|
+
def initialize(p, bmp, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theBitmapFrame
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -37,7 +37,7 @@ module Fox
|
|
37
37
|
#
|
38
38
|
# Return an initialized FXBitmapView instance.
|
39
39
|
#
|
40
|
-
def initialize(p, bmp=nil,
|
40
|
+
def initialize(p, bmp=nil, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theBitmapView
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
data/rdoc-sources/FXChoiceBox.rb
CHANGED
@@ -21,10 +21,10 @@ module Fox
|
|
21
21
|
# +opts+:: Dialog box options [Integer]
|
22
22
|
# +x+:: x-coordinate
|
23
23
|
# +y+:: y-coordinate
|
24
|
-
# +
|
25
|
-
# +
|
24
|
+
# +width+:: width
|
25
|
+
# +height+:: height
|
26
26
|
#
|
27
|
-
def initialize(owner, caption, text, icon, choices, opts=0, x=0, y=0,
|
27
|
+
def initialize(owner, caption, text, icon, choices, opts=0, x=0, y=0, width=0, height=0) # :yields: theChoiceBox
|
28
28
|
end
|
29
29
|
|
30
30
|
#
|
data/rdoc-sources/FXColorList.rb
CHANGED
@@ -16,7 +16,7 @@ module Fox
|
|
16
16
|
#
|
17
17
|
# Return an initially empty list of colors.
|
18
18
|
#
|
19
|
-
def initialize(p,
|
19
|
+
def initialize(p, target=nil, selector=0, opts=LIST_BROWSESELECT, x=0, y=0, width=0, height=0) # :yields: theColorList
|
20
20
|
end
|
21
21
|
|
22
22
|
#
|
data/rdoc-sources/FXColorRing.rb
CHANGED
@@ -39,7 +39,7 @@ module Fox
|
|
39
39
|
#
|
40
40
|
# Return an initialized FXColorRing instance.
|
41
41
|
#
|
42
|
-
def initialize(p,
|
42
|
+
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: theColorRing
|
43
43
|
end
|
44
44
|
|
45
45
|
# Set the hue, saturation and value (all floating point values)
|
@@ -36,19 +36,19 @@ module Fox
|
|
36
36
|
# ==== Parameters:
|
37
37
|
#
|
38
38
|
# +p+:: Parent widget [FXComposite]
|
39
|
-
# +
|
40
|
-
# +
|
39
|
+
# +target+:: Message target object [FXObject]
|
40
|
+
# +selector+:: Message identifier [Integer]
|
41
41
|
# +opts+:: Options [Integer]
|
42
42
|
# +x+::
|
43
43
|
# +y+::
|
44
|
-
# +
|
45
|
-
# +
|
46
|
-
# +
|
47
|
-
# +
|
48
|
-
# +
|
49
|
-
# +
|
44
|
+
# +width+::
|
45
|
+
# +height+::
|
46
|
+
# +padLeft+::
|
47
|
+
# +padRight+::
|
48
|
+
# +padTop+::
|
49
|
+
# +padBottom+::
|
50
50
|
#
|
51
|
-
def initialize(p,
|
51
|
+
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: theColorWheel
|
52
52
|
end
|
53
53
|
|
54
54
|
# Set hue, saturation and value all in one shot.
|
data/rdoc-sources/FXComboBox.rb
CHANGED
@@ -91,19 +91,19 @@ module Fox
|
|
91
91
|
#
|
92
92
|
# +p+:: the parent widget for this combo-box [FXComposite]
|
93
93
|
# +cols+:: number of columns [Integer]
|
94
|
-
# +
|
95
|
-
# +
|
94
|
+
# +target+:: message target [FXObject]
|
95
|
+
# +selector+:: message identifier [Integer]
|
96
96
|
# +opts+:: the options [Integer]
|
97
97
|
# +x+:: initial x-position [Integer]
|
98
98
|
# +y+:: initial y-position [Integer]
|
99
|
-
# +
|
100
|
-
# +
|
101
|
-
# +
|
102
|
-
# +
|
103
|
-
# +
|
104
|
-
# +
|
99
|
+
# +width+:: initial width [Integer]
|
100
|
+
# +height+:: initial height [Integer]
|
101
|
+
# +padLeft+:: left-side padding, in pixels [Integer]
|
102
|
+
# +padRight+:: right-side padding, in pixels [Integer]
|
103
|
+
# +padTop+:: top-side padding, in pixels [Integer]
|
104
|
+
# +padBottom+:: bottom-side padding, in pixels [Integer]
|
105
105
|
#
|
106
|
-
def initialize(p, cols,
|
106
|
+
def initialize(p, cols, target=nil, selector=0, opts=COMBOBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theComboBox
|
107
107
|
end
|
108
108
|
|
109
109
|
# Return +true+ if combobox is editable
|
data/rdoc-sources/FXDC.rb
CHANGED
@@ -305,8 +305,8 @@ module Fox
|
|
305
305
|
#
|
306
306
|
# +x+:: x-coordinate of upper-left corner of the rectangle [Integer]
|
307
307
|
# +y+:: y-coordinate of upper-left corner of the rectangle [Integer]
|
308
|
-
# +
|
309
|
-
# +
|
308
|
+
# +width+:: width of the rectangle, in pixels [Integer]
|
309
|
+
# +height+:: height of the rectangle, in pixels [Integer]
|
310
310
|
#
|
311
311
|
# See also #drawRectangles, #fillRectangle and #fillRectangles.
|
312
312
|
#
|
@@ -380,8 +380,8 @@ module Fox
|
|
380
380
|
#
|
381
381
|
# +x+:: x-coordinate of the upper left corner of the rectangle [Integer]
|
382
382
|
# +y+:: y-coordinate of the upper left corner of the rectangle [Integer]
|
383
|
-
# +
|
384
|
-
# +
|
383
|
+
# +width+:: width of the rectangle, in pixels [Integer]
|
384
|
+
# +height+:: height of the rectangle, in pixels [Integer]
|
385
385
|
#
|
386
386
|
# See also #drawRectangle, #drawRectangles and #fillRectangles.
|
387
387
|
#
|
@@ -506,8 +506,8 @@ module Fox
|
|
506
506
|
#
|
507
507
|
# +x+:: x-coordinate of the upper left corner [Integer]
|
508
508
|
# +y+:: y-coordinate of the upper left corner [Integer]
|
509
|
-
# +
|
510
|
-
# +
|
509
|
+
# +width+:: width of the box, in pixels [Integer]
|
510
|
+
# +height+:: height of the box, in pixels [Integer]
|
511
511
|
# +b+:: border width, in pixels [Integer]
|
512
512
|
#
|
513
513
|
def drawHashBox(x, y, w, h, b=1) ; end
|
@@ -519,8 +519,8 @@ module Fox
|
|
519
519
|
#
|
520
520
|
# +x+:: x-coordinate of the upper left corner [Integer]
|
521
521
|
# +y+:: y-coordinate of the upper left corner [Integer]
|
522
|
-
# +
|
523
|
-
# +
|
522
|
+
# +width+:: width of the rectangle, in pixels [Integer]
|
523
|
+
# +height+:: height of the rectangle, in pixels [Integer]
|
524
524
|
#
|
525
525
|
def drawFocusRectangle(x, y, w, h) ; end
|
526
526
|
|
@@ -661,8 +661,8 @@ module Fox
|
|
661
661
|
#
|
662
662
|
# +x+:: x-coordinate of the upper left corner of the clip rectangle [Integer]
|
663
663
|
# +y+:: y-coordinate of the upper left corner of the clip rectangle [Integer]
|
664
|
-
# +
|
665
|
-
# +
|
664
|
+
# +width+:: width of the clip rectangle, in pixels [Integer]
|
665
|
+
# +height+:: height of the clip rectangle, in pixels [Integer]
|
666
666
|
#
|
667
667
|
# See also #setClipMask.
|
668
668
|
#
|
@@ -59,7 +59,7 @@ module Fox
|
|
59
59
|
# are specified, the data target will forward the +SEL_COMMAND+ or +SEL_COMMAND+
|
60
60
|
# to this other target.
|
61
61
|
#
|
62
|
-
def initialize(value=nil,
|
62
|
+
def initialize(value=nil, target=nil, selector=0) # :yields: theDataTarget
|
63
63
|
end
|
64
64
|
end
|
65
65
|
end
|
data/rdoc-sources/FXDial.rb
CHANGED
@@ -75,19 +75,19 @@ module Fox
|
|
75
75
|
# ==== Parameters:
|
76
76
|
#
|
77
77
|
# +p+:: parent widget for this dial [FXComposite]
|
78
|
-
# +
|
79
|
-
# +
|
78
|
+
# +target+:: message target object for this dial [FXObject]
|
79
|
+
# +selector+:: message identifier [Integer]
|
80
80
|
# +opts+::
|
81
81
|
# +x+::
|
82
82
|
# +y+::
|
83
|
-
# +
|
84
|
-
# +
|
85
|
-
# +
|
86
|
-
# +
|
87
|
-
# +
|
88
|
-
# +
|
83
|
+
# +width+::
|
84
|
+
# +height+::
|
85
|
+
# +padLeft+::
|
86
|
+
# +padRight+::
|
87
|
+
# +padTop+::
|
88
|
+
# +padBottom+::
|
89
89
|
#
|
90
|
-
def initialize(p,
|
90
|
+
def initialize(p, target=nil, selector=0, opts=DIAL_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDial
|
91
91
|
end
|
92
92
|
|
93
93
|
#
|
data/rdoc-sources/FXDialogBox.rb
CHANGED
@@ -20,7 +20,7 @@ module Fox
|
|
20
20
|
# If the _owner_ is an FXWindow instance, the dialog will always float over that window.
|
21
21
|
# If the _owner_ is an FXApp instance, it will be a free-floating dialog.
|
22
22
|
#
|
23
|
-
def initialize(owner, title, opts=DECOR_TITLE|DECOR_BORDER, x=0, y=0,
|
23
|
+
def initialize(owner, title, opts=DECOR_TITLE|DECOR_BORDER, x=0, y=0, width=0, height=0, padLeft=10, padRight=10, padTop=10, padBottom=10, hSpacing=4, vSpacing=4) # :yields: theDialogBox
|
24
24
|
end
|
25
25
|
|
26
26
|
#
|
data/rdoc-sources/FXDirBox.rb
CHANGED
@@ -28,7 +28,7 @@ module Fox
|
|
28
28
|
attr_accessor :associations
|
29
29
|
|
30
30
|
# Return an initialized FXDirBox instance.
|
31
|
-
def initialize(p,
|
31
|
+
def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDirBox
|
32
32
|
end
|
33
33
|
|
34
34
|
#
|
data/rdoc-sources/FXDirDialog.rb
CHANGED
@@ -14,7 +14,7 @@ module Fox
|
|
14
14
|
attr_accessor :dirBoxStyle
|
15
15
|
|
16
16
|
# Returns an initialized FXDirDialog instance.
|
17
|
-
def initialize(owner, name, opts=0, x=0, y=0,
|
17
|
+
def initialize(owner, name, opts=0, x=0, y=0, width=500, height=300) # :yields: theDirDialog
|
18
18
|
end
|
19
19
|
|
20
20
|
# Return +true+ if showing files as well as directories
|
data/rdoc-sources/FXDirList.rb
CHANGED
@@ -90,7 +90,7 @@ module Fox
|
|
90
90
|
attr_accessor :associations
|
91
91
|
|
92
92
|
# Returns an initialized FXDirList instance
|
93
|
-
def initialize(p,
|
93
|
+
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theDirList
|
94
94
|
end
|
95
95
|
|
96
96
|
#
|
@@ -39,7 +39,7 @@ module Fox
|
|
39
39
|
attr_accessor :dirBoxStyle
|
40
40
|
|
41
41
|
# Return an initialized FXDirSelector instance
|
42
|
-
def initialize(p,
|
42
|
+
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theDirSelector
|
43
43
|
end
|
44
44
|
|
45
45
|
# Return +true+ if showing files as well as directories
|
data/rdoc-sources/FXDockBar.rb
CHANGED
@@ -46,16 +46,16 @@ module Fox
|
|
46
46
|
# +opts+:: dock bar options [Integer]
|
47
47
|
# +x+:: initial x-position [Integer]
|
48
48
|
# +y+:: initial y-position [Integer]
|
49
|
-
# +
|
50
|
-
# +
|
51
|
-
# +
|
52
|
-
# +
|
53
|
-
# +
|
54
|
-
# +
|
55
|
-
# +
|
56
|
-
# +
|
57
|
-
#
|
58
|
-
def initialize(p, q, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0,
|
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
|
+
#
|
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
|
60
60
|
|
61
61
|
#
|
@@ -68,16 +68,16 @@ module Fox
|
|
68
68
|
# +opts+:: dock bar options [Integer]
|
69
69
|
# +x+:: initial x-position [Integer]
|
70
70
|
# +y+:: initial y-position [Integer]
|
71
|
-
# +
|
72
|
-
# +
|
73
|
-
# +
|
74
|
-
# +
|
75
|
-
# +
|
76
|
-
# +
|
77
|
-
# +
|
78
|
-
# +
|
79
|
-
#
|
80
|
-
def initialize(p, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0,
|
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
|
+
#
|
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
|
82
82
|
|
83
83
|
# Return +true+ if docked
|
data/rdoc-sources/FXDockSite.rb
CHANGED
@@ -32,7 +32,7 @@ module Fox
|
|
32
32
|
# causes the toolbar dock to be oriented horizontally. Passing +LAYOUT_SIDE_LEFT+ or
|
33
33
|
# +LAYOUT_SIDE_RIGHT+ causes it to be oriented vertically.
|
34
34
|
#
|
35
|
-
def initialize(p, opts=0, x=0, y=0,
|
35
|
+
def initialize(p, opts=0, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0, hSpacing=0, vSpacing=0) # :yields: theDockSite
|
36
36
|
end
|
37
37
|
|
38
38
|
#
|
data/rdoc-sources/FXDockTitle.rb
CHANGED
@@ -20,7 +20,7 @@ module Fox
|
|
20
20
|
#
|
21
21
|
# Construct dock bar title widget
|
22
22
|
#
|
23
|
-
def initialize(p, text,
|
23
|
+
def initialize(p, text, target=nil, selector=0, opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|