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.
Files changed (138) hide show
  1. data/doc/apes02.html +2 -2
  2. data/doc/apes03.html +2 -2
  3. data/doc/book.html +1 -1
  4. data/doc/changes.html +40 -20
  5. data/doc/differences.html +183 -4
  6. data/doc/implementation.html +1 -1
  7. data/doc/library.html +5 -5
  8. data/doc/opengl.html +5 -5
  9. data/doc/pt02.html +1 -1
  10. data/doc/scintilla.html +4 -4
  11. data/doc/subversion.html +21 -0
  12. data/examples/raabrowser.rb +1 -1
  13. data/ext/fox16/table_wrap.cpp +3 -10
  14. data/lib/fox16/iterators.rb +37 -0
  15. data/lib/fox16/kwargs.rb +1160 -960
  16. data/lib/fox16/timeout.rb +1 -1
  17. data/lib/fox16/version.rb +1 -1
  18. data/rdoc-sources/FX4Splitter.rb +8 -8
  19. data/rdoc-sources/FX7Segment.rb +1 -1
  20. data/rdoc-sources/FXAccelTable.rb +2 -2
  21. data/rdoc-sources/FXBMPIcon.rb +3 -3
  22. data/rdoc-sources/FXBMPImage.rb +3 -3
  23. data/rdoc-sources/FXBitmapFrame.rb +1 -1
  24. data/rdoc-sources/FXBitmapView.rb +1 -1
  25. data/rdoc-sources/FXChoiceBox.rb +3 -3
  26. data/rdoc-sources/FXColorList.rb +1 -1
  27. data/rdoc-sources/FXColorRing.rb +1 -1
  28. data/rdoc-sources/FXColorWheel.rb +9 -9
  29. data/rdoc-sources/FXComboBox.rb +9 -9
  30. data/rdoc-sources/FXDC.rb +10 -10
  31. data/rdoc-sources/FXDataTarget.rb +1 -1
  32. data/rdoc-sources/FXDial.rb +9 -9
  33. data/rdoc-sources/FXDialogBox.rb +1 -1
  34. data/rdoc-sources/FXDirBox.rb +1 -1
  35. data/rdoc-sources/FXDirDialog.rb +1 -1
  36. data/rdoc-sources/FXDirList.rb +1 -1
  37. data/rdoc-sources/FXDirSelector.rb +1 -1
  38. data/rdoc-sources/FXDockBar.rb +20 -20
  39. data/rdoc-sources/FXDockSite.rb +1 -1
  40. data/rdoc-sources/FXDockTitle.rb +1 -1
  41. data/rdoc-sources/FXDrawable.rb +2 -2
  42. data/rdoc-sources/FXDriveBox.rb +1 -1
  43. data/rdoc-sources/FXFileDialog.rb +1 -1
  44. data/rdoc-sources/FXFileList.rb +1 -1
  45. data/rdoc-sources/FXFileSelector.rb +1 -1
  46. data/rdoc-sources/FXFoldingList.rb +6 -6
  47. data/rdoc-sources/FXFontDialog.rb +1 -1
  48. data/rdoc-sources/FXFontSelector.rb +1 -1
  49. data/rdoc-sources/FXGIFIcon.rb +3 -3
  50. data/rdoc-sources/FXGIFImage.rb +3 -3
  51. data/rdoc-sources/FXGLCanvas.rb +2 -2
  52. data/rdoc-sources/FXGLViewer.rb +2 -2
  53. data/rdoc-sources/FXGradientBar.rb +1 -1
  54. data/rdoc-sources/FXHeader.rb +1 -1
  55. data/rdoc-sources/FXHorizontalFrame.rb +9 -9
  56. data/rdoc-sources/FXICOIcon.rb +3 -3
  57. data/rdoc-sources/FXICOImage.rb +3 -3
  58. data/rdoc-sources/FXIcon.rb +3 -3
  59. data/rdoc-sources/FXIconList.rb +1 -1
  60. data/rdoc-sources/FXImage.rb +7 -7
  61. data/rdoc-sources/FXImageFrame.rb +1 -1
  62. data/rdoc-sources/FXImageView.rb +1 -1
  63. data/rdoc-sources/FXInputDialog.rb +1 -1
  64. data/rdoc-sources/FXJPGIcon.rb +3 -3
  65. data/rdoc-sources/FXJPGImage.rb +3 -3
  66. data/rdoc-sources/FXKnob.rb +1 -1
  67. data/rdoc-sources/FXList.rb +1 -1
  68. data/rdoc-sources/FXListBox.rb +1 -1
  69. data/rdoc-sources/FXMDIButton.rb +6 -6
  70. data/rdoc-sources/FXMDIChild.rb +1 -1
  71. data/rdoc-sources/FXMDIClient.rb +2 -2
  72. data/rdoc-sources/FXMenuBar.rb +1 -1
  73. data/rdoc-sources/FXMenuCheck.rb +1 -1
  74. data/rdoc-sources/FXMenuCommand.rb +1 -1
  75. data/rdoc-sources/FXMenuRadio.rb +1 -1
  76. data/rdoc-sources/FXOptionMenu.rb +2 -2
  77. data/rdoc-sources/FXPCXIcon.rb +3 -3
  78. data/rdoc-sources/FXPCXImage.rb +3 -3
  79. data/rdoc-sources/FXPNGIcon.rb +3 -3
  80. data/rdoc-sources/FXPNGImage.rb +3 -3
  81. data/rdoc-sources/FXPPMIcon.rb +3 -3
  82. data/rdoc-sources/FXPPMImage.rb +3 -3
  83. data/rdoc-sources/FXPicker.rb +1 -1
  84. data/rdoc-sources/FXPopup.rb +2 -2
  85. data/rdoc-sources/FXPrintDialog.rb +1 -1
  86. data/rdoc-sources/FXProgressBar.rb +1 -1
  87. data/rdoc-sources/FXProgressDialog.rb +1 -1
  88. data/rdoc-sources/FXQuatd.rb +1 -1
  89. data/rdoc-sources/FXQuatf.rb +1 -1
  90. data/rdoc-sources/FXRGBIcon.rb +3 -3
  91. data/rdoc-sources/FXRGBImage.rb +3 -3
  92. data/rdoc-sources/FXRealSlider.rb +9 -9
  93. data/rdoc-sources/FXRealSpinner.rb +9 -9
  94. data/rdoc-sources/FXRecentFiles.rb +1 -1
  95. data/rdoc-sources/FXReplaceDialog.rb +3 -3
  96. data/rdoc-sources/FXRuler.rb +1 -1
  97. data/rdoc-sources/FXRulerView.rb +1 -1
  98. data/rdoc-sources/FXScintilla.rb +1 -1
  99. data/rdoc-sources/FXScrollBar.rb +5 -5
  100. data/rdoc-sources/FXScrollWindow.rb +3 -3
  101. data/rdoc-sources/FXSearchDialog.rb +3 -3
  102. data/rdoc-sources/FXSeparator.rb +15 -15
  103. data/rdoc-sources/FXShutter.rb +20 -20
  104. data/rdoc-sources/FXSlider.rb +9 -9
  105. data/rdoc-sources/FXSpinner.rb +9 -9
  106. data/rdoc-sources/FXSplitter.rb +8 -8
  107. data/rdoc-sources/FXSpring.rb +9 -9
  108. data/rdoc-sources/FXStatusBar.rb +9 -9
  109. data/rdoc-sources/FXStatusLine.rb +3 -3
  110. data/rdoc-sources/FXSwitcher.rb +7 -7
  111. data/rdoc-sources/FXTGAIcon.rb +3 -3
  112. data/rdoc-sources/FXTGAImage.rb +3 -3
  113. data/rdoc-sources/FXTIFIcon.rb +3 -3
  114. data/rdoc-sources/FXTIFImage.rb +3 -3
  115. data/rdoc-sources/FXTabBar.rb +9 -9
  116. data/rdoc-sources/FXTabBook.rb +9 -9
  117. data/rdoc-sources/FXTabItem.rb +7 -7
  118. data/rdoc-sources/FXTable.rb +10 -10
  119. data/rdoc-sources/FXText.rb +5 -5
  120. data/rdoc-sources/FXTextField.rb +9 -9
  121. data/rdoc-sources/FXToggleButton.rb +9 -9
  122. data/rdoc-sources/FXToolBar.rb +20 -20
  123. data/rdoc-sources/FXToolBarGrip.rb +5 -5
  124. data/rdoc-sources/FXToolBarShell.rb +5 -5
  125. data/rdoc-sources/FXToolBarTab.rb +5 -5
  126. data/rdoc-sources/FXToolTip.rb +1 -1
  127. data/rdoc-sources/FXTreeList.rb +5 -5
  128. data/rdoc-sources/FXTreeListBox.rb +10 -10
  129. data/rdoc-sources/FXTriStateButton.rb +9 -9
  130. data/rdoc-sources/FXVerticalFrame.rb +9 -9
  131. data/rdoc-sources/FXWindow.rb +5 -5
  132. data/rdoc-sources/FXWizard.rb +1 -1
  133. data/rdoc-sources/FXXBMIcon.rb +3 -3
  134. data/rdoc-sources/FXXBMImage.rb +3 -3
  135. data/rdoc-sources/FXXPMIcon.rb +3 -3
  136. data/rdoc-sources/FXXPMImage.rb +3 -3
  137. metadata +5 -4
  138. data/doc/cvs.html +0 -35
data/lib/fox16/timeout.rb CHANGED
@@ -3,7 +3,7 @@ module Fox
3
3
 
4
4
  alias addTimeoutOrig addTimeout # :nodoc:
5
5
  alias removeTimeoutOrig removeTimeout # :nodoc:
6
- alias hasTimeoutOrig hasTimeout? # :nodoc:
6
+ alias hasTimeoutOrig? hasTimeout? # :nodoc:
7
7
  alias remainingTimeoutOrig remainingTimeout # :nodoc:
8
8
 
9
9
  #
data/lib/fox16/version.rb CHANGED
@@ -3,7 +3,7 @@ module Fox
3
3
  # Returns the FXRuby version number as a string, e.g. "1.0.19".
4
4
  #
5
5
  def Fox.fxrubyversion
6
- "1.6.4"
6
+ "1.6.5"
7
7
  end
8
8
  end
9
9
 
@@ -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
- # +w+:: initial width [Integer]
93
- # +h+:: initial height [Integer]
92
+ # +width+:: initial width [Integer]
93
+ # +height+:: initial height [Integer]
94
94
  #
95
- def initialize(p, opts=FOURSPLITTER_NORMAL, x=0, y=0, w=0, h=0) # :yields: theSplitter
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
- # +tgt+:: message target [FXObject]
106
- # +sel+:: message identifier [Integer]
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
- # +w+:: initial width [Integer]
111
- # +h+:: initial height [Integer]
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, w=0, h=0) # :yields: theSplitter
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
  #
@@ -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, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: the7Segment
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
- # +tgt+:: message target [FXObject]
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, tgt=nil, seldn=0, selup=0) ; end
30
+ def addAccel(hotKey, target=nil, seldn=0, selup=0) ; end
31
31
 
32
32
  #
33
33
  # Remove an accelerator from the table.
@@ -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
- # +w+:: width [Integer]
31
- # +h+:: height [Integer]
30
+ # +width+:: width [Integer]
31
+ # +height+:: height [Integer]
32
32
  #
33
- def initialize(a, pix=nil, clr=FXRGB(192,192,192), opts=0, w=1, h=1) # :yields: theBMPIcon
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
 
@@ -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
- # +w+:: width [Integer]
25
- # +h+:: height [Integer]
24
+ # +width+:: width [Integer]
25
+ # +height+:: height [Integer]
26
26
  #
27
- def initialize(a, pix=nil, opts=0, w=1, h=1) # :yields: theBMPImage
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, w=0, h=0, pl=0, pr=0, pt=0, pb=0) # :yields: theBitmapFrame
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, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theBitmapView
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
@@ -21,10 +21,10 @@ module Fox
21
21
  # +opts+:: Dialog box options [Integer]
22
22
  # +x+:: x-coordinate
23
23
  # +y+:: y-coordinate
24
- # +w+:: width
25
- # +h+:: height
24
+ # +width+:: width
25
+ # +height+:: height
26
26
  #
27
- def initialize(owner, caption, text, icon, choices, opts=0, x=0, y=0, w=0, h=0) # :yields: theChoiceBox
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
  #
@@ -16,7 +16,7 @@ module Fox
16
16
  #
17
17
  # Return an initially empty list of colors.
18
18
  #
19
- def initialize(p, tgt=nil, sel=0, opts=LIST_BROWSESELECT, x=0, y=0, w=0, h=0) # :yields: theColorList
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
  #
@@ -39,7 +39,7 @@ module Fox
39
39
  #
40
40
  # Return an initialized FXColorRing instance.
41
41
  #
42
- def initialize(p, tgt=nil, sel=0, opts=FRAME_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theColorRing
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
- # +tgt+:: Message target object [FXObject]
40
- # +sel+:: Message identifier [Integer]
39
+ # +target+:: Message target object [FXObject]
40
+ # +selector+:: Message identifier [Integer]
41
41
  # +opts+:: Options [Integer]
42
42
  # +x+::
43
43
  # +y+::
44
- # +w+::
45
- # +h+::
46
- # +pl+::
47
- # +pr+::
48
- # +pt+::
49
- # +pb+::
44
+ # +width+::
45
+ # +height+::
46
+ # +padLeft+::
47
+ # +padRight+::
48
+ # +padTop+::
49
+ # +padBottom+::
50
50
  #
51
- def initialize(p, tgt=nil, sel=0, opts=FRAME_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theColorWheel
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.
@@ -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
- # +tgt+:: message target [FXObject]
95
- # +sel+:: message identifier [Integer]
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
- # +w+:: initial width [Integer]
100
- # +h+:: initial height [Integer]
101
- # +pl+:: left-side padding, in pixels [Integer]
102
- # +pr+:: right-side padding, in pixels [Integer]
103
- # +pt+:: top-side padding, in pixels [Integer]
104
- # +pb+:: bottom-side padding, in pixels [Integer]
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, tgt=nil, sel=0, opts=COMBOBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theComboBox
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
- # +w+:: width of the rectangle, in pixels [Integer]
309
- # +h+:: height of the rectangle, in pixels [Integer]
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
- # +w+:: width of the rectangle, in pixels [Integer]
384
- # +h+:: height of the rectangle, in pixels [Integer]
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
- # +w+:: width of the box, in pixels [Integer]
510
- # +h+:: height of the box, in pixels [Integer]
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
- # +w+:: width of the rectangle, in pixels [Integer]
523
- # +h+:: height of the rectangle, in pixels [Integer]
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
- # +w+:: width of the clip rectangle, in pixels [Integer]
665
- # +h+:: height of the clip rectangle, in pixels [Integer]
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, tgt=nil, sel=0) # :yields: theDataTarget
62
+ def initialize(value=nil, target=nil, selector=0) # :yields: theDataTarget
63
63
  end
64
64
  end
65
65
  end
@@ -75,19 +75,19 @@ module Fox
75
75
  # ==== Parameters:
76
76
  #
77
77
  # +p+:: parent widget for this dial [FXComposite]
78
- # +tgt+:: message target object for this dial [FXObject]
79
- # +sel+:: message identifier [Integer]
78
+ # +target+:: message target object for this dial [FXObject]
79
+ # +selector+:: message identifier [Integer]
80
80
  # +opts+::
81
81
  # +x+::
82
82
  # +y+::
83
- # +w+::
84
- # +h+::
85
- # +pl+::
86
- # +pr+::
87
- # +pt+::
88
- # +pb+::
83
+ # +width+::
84
+ # +height+::
85
+ # +padLeft+::
86
+ # +padRight+::
87
+ # +padTop+::
88
+ # +padBottom+::
89
89
  #
90
- def initialize(p, tgt=nil, sel=0, opts=DIAL_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theDial
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
  #
@@ -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, w=0, h=0, padLeft=10, padRight=10, padTop=10, padBottom=10, hSpacing=4, vSpacing=4) # :yields: theDialogBox
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
  #
@@ -28,7 +28,7 @@ module Fox
28
28
  attr_accessor :associations
29
29
 
30
30
  # Return an initialized FXDirBox instance.
31
- def initialize(p, tgt=nil, sel=0, opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: theDirBox
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
  #
@@ -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, w=500, h=300) # :yields: theDirDialog
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
@@ -90,7 +90,7 @@ module Fox
90
90
  attr_accessor :associations
91
91
 
92
92
  # Returns an initialized FXDirList instance
93
- def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theDirList
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, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theDirSelector
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
@@ -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
- # +w+:: initial width [Integer]
50
- # +h+:: initial height [Integer]
51
- # +pl+:: internal padding on the left side, in pixels [Integer]
52
- # +pr+:: internal padding on the right side, in pixels [Integer]
53
- # +pt+:: internal padding on the top side, in pixels [Integer]
54
- # +pb+:: internal padding on the bottom side, in pixels [Integer]
55
- # +hs+:: horizontal spacing between widgets, in pixels [Integer]
56
- # +vs+:: 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, w=0, h=0, pl=3, pr=3, pt=2, pb=2, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING) # :yields: theDockBar
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
- # +w+:: initial width [Integer]
72
- # +h+:: initial height [Integer]
73
- # +pl+:: internal padding on the left side, in pixels [Integer]
74
- # +pr+:: internal padding on the right side, in pixels [Integer]
75
- # +pt+:: internal padding on the top side, in pixels [Integer]
76
- # +pb+:: internal padding on the bottom side, in pixels [Integer]
77
- # +hs+:: horizontal spacing between widgets, in pixels [Integer]
78
- # +vs+:: vertical spacing between widgets, in pixels [Integer]
79
- #
80
- def initialize(p, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, w=0, h=0, pl=3, pr=3, pt=2, pb=2, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING) # :yields: theDockBar
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
@@ -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, w=0, h=0, pl=0, pr=0, pt=0, pb=0, hs=0, vs=0) # :yields: theDockSite
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
  #
@@ -20,7 +20,7 @@ module Fox
20
20
  #
21
21
  # Construct dock bar title widget
22
22
  #
23
- def initialize(p, text, tgt=nil, sel=0, opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, x=0, y=0, w=0, h=0, pl=0, pr=0, pt=0, pb=0)
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