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
data/rdoc-sources/FXSwitcher.rb
CHANGED
@@ -24,22 +24,22 @@ module Fox
|
|
24
24
|
#
|
25
25
|
# === Switcher options
|
26
26
|
#
|
27
|
-
# +SWITCHER_HCOLLAPSE+::
|
28
|
-
# +SWITCHER_VCOLLAPSE+::
|
27
|
+
# +SWITCHER_HCOLLAPSE+:: Collapse horizontally to width of current child
|
28
|
+
# +SWITCHER_VCOLLAPSE+:: Collapse vertically to height of current child
|
29
29
|
#
|
30
30
|
# === Message identifiers
|
31
31
|
#
|
32
|
-
# +ID_OPEN_FIRST+::
|
33
|
-
# +ID_OPEN_SECOND+::
|
34
|
-
# +ID_OPEN_THIRD+::
|
35
|
-
# +ID_OPEN_FOURTH+::
|
36
|
-
# +ID_OPEN_FIFTH+::
|
37
|
-
# +ID_OPEN_SIXTH+::
|
38
|
-
# +ID_OPEN_SEVENTH+::
|
39
|
-
# +ID_OPEN_EIGHTH+::
|
40
|
-
# +ID_OPEN_NINETH+::
|
41
|
-
# +ID_OPEN_TENTH+::
|
42
|
-
# +ID_OPEN_LAST+::
|
32
|
+
# +ID_OPEN_FIRST+:: x
|
33
|
+
# +ID_OPEN_SECOND+:: x
|
34
|
+
# +ID_OPEN_THIRD+:: x
|
35
|
+
# +ID_OPEN_FOURTH+:: x
|
36
|
+
# +ID_OPEN_FIFTH+:: x
|
37
|
+
# +ID_OPEN_SIXTH+:: x
|
38
|
+
# +ID_OPEN_SEVENTH+:: x
|
39
|
+
# +ID_OPEN_EIGHTH+:: x
|
40
|
+
# +ID_OPEN_NINETH+:: x
|
41
|
+
# +ID_OPEN_TENTH+:: x
|
42
|
+
# +ID_OPEN_LAST+:: x
|
43
43
|
#
|
44
44
|
class FXSwitcher < FXPacker
|
45
45
|
# Current child window's index [Integer]
|
@@ -53,16 +53,16 @@ module Fox
|
|
53
53
|
#
|
54
54
|
# ==== Parameters:
|
55
55
|
#
|
56
|
-
# +p+::
|
57
|
-
# +opts+::
|
58
|
-
# +x+::
|
59
|
-
# +y+::
|
60
|
-
# +width+::
|
61
|
-
# +height+::
|
62
|
-
# +padLeft+::
|
63
|
-
# +padRight+::
|
64
|
-
# +padTop+::
|
65
|
-
# +padBottom+::
|
56
|
+
# +p+:: the parent window for this switcher {FXComposite}
|
57
|
+
# +opts+:: switcher options [Integer]
|
58
|
+
# +x+:: initial x-position [Integer]
|
59
|
+
# +y+:: initial y-position [Integer]
|
60
|
+
# +width+:: initial width [Integer]
|
61
|
+
# +height+:: initial height [Integer]
|
62
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
63
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
64
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
65
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
66
66
|
#
|
67
67
|
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) # :yields: theSwitcher
|
68
68
|
end
|
data/rdoc-sources/FXTGAIcon.rb
CHANGED
@@ -18,12 +18,12 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +clr+::
|
24
|
-
# +opts+::
|
25
|
-
# +width+::
|
26
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in Targa file format [String]
|
23
|
+
# +clr+:: transparency color {FXColor}
|
24
|
+
# +opts+:: options [Integer]
|
25
|
+
# +width+:: width [Integer]
|
26
|
+
# +height+:: height [Integer]
|
27
27
|
#
|
28
28
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theTGAIcon
|
29
29
|
end
|
@@ -37,7 +37,7 @@ module Fox
|
|
37
37
|
#
|
38
38
|
# ==== Parameters:
|
39
39
|
#
|
40
|
-
# +store+::
|
40
|
+
# +store+:: stream from which to read the file data {FXStream}
|
41
41
|
#
|
42
42
|
def Fox.fxloadTGA(store); end
|
43
43
|
|
@@ -47,11 +47,11 @@ module Fox
|
|
47
47
|
#
|
48
48
|
# ==== Parameters:
|
49
49
|
#
|
50
|
-
# +store+::
|
51
|
-
# +data+::
|
52
|
-
# +channels+::
|
53
|
-
# +width+::
|
54
|
-
# +height+::
|
50
|
+
# +store+:: stream to which to write the image data {FXStream}
|
51
|
+
# +data+:: the image pixel data [String]
|
52
|
+
# +channels+:: number of channels in the image pixel data: 3 for RGB data, or 4 for RGBA data [Integer]
|
53
|
+
# +width+:: width [Integer]
|
54
|
+
# +height+:: height [Integer]
|
55
55
|
#
|
56
56
|
def Fox.fxsaveTGA(store, data, channels, width, height); end
|
57
57
|
|
data/rdoc-sources/FXTGAImage.rb
CHANGED
@@ -18,11 +18,11 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +opts+::
|
24
|
-
# +width+::
|
25
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in Targa file format [String]
|
23
|
+
# +opts+:: options [Integer]
|
24
|
+
# +width+:: width [Integer]
|
25
|
+
# +height+:: height [Integer]
|
26
26
|
#
|
27
27
|
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theTGAImage
|
28
28
|
end
|
data/rdoc-sources/FXTIFIcon.rb
CHANGED
@@ -24,12 +24,12 @@ module Fox
|
|
24
24
|
#
|
25
25
|
# ==== Parameters:
|
26
26
|
#
|
27
|
-
# +a+::
|
28
|
-
# +pix+::
|
29
|
-
# +clr+::
|
30
|
-
# +opts+::
|
31
|
-
# +width+::
|
32
|
-
# +height+::
|
27
|
+
# +a+:: an application instance {FXApp}
|
28
|
+
# +pix+:: a memory buffer formatted in TIFF file format [String]
|
29
|
+
# +clr+:: transparency color {FXColor}
|
30
|
+
# +opts+:: options [Integer]
|
31
|
+
# +width+:: width [Integer]
|
32
|
+
# +height+:: height [Integer]
|
33
33
|
#
|
34
34
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theTIFIcon
|
35
35
|
end
|
@@ -43,7 +43,7 @@ module Fox
|
|
43
43
|
#
|
44
44
|
# ==== Parameters:
|
45
45
|
#
|
46
|
-
# +store+::
|
46
|
+
# +store+:: stream from which to read the file data {FXStream}
|
47
47
|
#
|
48
48
|
def Fox.fxloadTIF(store); end
|
49
49
|
|
@@ -53,12 +53,12 @@ module Fox
|
|
53
53
|
#
|
54
54
|
# ==== Parameters:
|
55
55
|
#
|
56
|
-
# +store+::
|
57
|
-
# +data+::
|
58
|
-
# +transp+::
|
59
|
-
# +width+::
|
60
|
-
# +height+::
|
61
|
-
# +codec+::
|
56
|
+
# +store+:: stream to which to write the image data {FXStream}
|
57
|
+
# +data+:: the image pixel data [String]
|
58
|
+
# +transp+:: transparency color {FXColor}
|
59
|
+
# +width+:: width [Integer]
|
60
|
+
# +height+:: height [Integer]
|
61
|
+
# +codec+:: codec setting [Integer]
|
62
62
|
#
|
63
63
|
def Fox.fxsaveTIF(store, data, transp, width, height, codec); end
|
64
64
|
|
data/rdoc-sources/FXTIFImage.rb
CHANGED
@@ -24,11 +24,11 @@ module Fox
|
|
24
24
|
#
|
25
25
|
# ==== Parameters:
|
26
26
|
#
|
27
|
-
# +a+::
|
28
|
-
# +pix+::
|
29
|
-
# +opts+::
|
30
|
-
# +width+::
|
31
|
-
# +height+::
|
27
|
+
# +a+:: an application instance {FXApp}
|
28
|
+
# +pix+:: a memory buffer formatted in TIF file format [String]
|
29
|
+
# +opts+:: options [Integer]
|
30
|
+
# +width+:: width [Integer]
|
31
|
+
# +height+:: height [Integer]
|
32
32
|
#
|
33
33
|
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theTIFImage
|
34
34
|
end
|
data/rdoc-sources/FXTabBar.rb
CHANGED
@@ -5,7 +5,7 @@ module Fox
|
|
5
5
|
# In a the horizontal arrangement, the tab bar can have the tab
|
6
6
|
# items on the top or on the bottom. In the vertical arrangement,
|
7
7
|
# the tabs can be on the left or on the right.
|
8
|
-
# When one of the tab items is pressed, the tab bar's #setCurrent()
|
8
|
+
# When one of the tab items is pressed, the tab bar's {#setCurrent}()
|
9
9
|
# method is called with _notify_ of +true+. This in turn causes the tab bar
|
10
10
|
# to send a +SEL_COMMAND+ message to its target.
|
11
11
|
#
|
@@ -19,27 +19,27 @@ module Fox
|
|
19
19
|
#
|
20
20
|
# === Tab book options
|
21
21
|
#
|
22
|
-
# +TABBOOK_TOPTABS+::
|
23
|
-
# +TABBOOK_BOTTOMTABS+::
|
24
|
-
# +TABBOOK_SIDEWAYS+::
|
25
|
-
# +TABBOOK_LEFTTABS+::
|
26
|
-
# +TABBOOK_RIGHTTABS+::
|
27
|
-
# +TABBOOK_NORMAL+::
|
22
|
+
# +TABBOOK_TOPTABS+:: Tabs on top (default)
|
23
|
+
# +TABBOOK_BOTTOMTABS+:: Tabs on bottom
|
24
|
+
# +TABBOOK_SIDEWAYS+:: Tabs on left
|
25
|
+
# +TABBOOK_LEFTTABS+:: Tabs on left
|
26
|
+
# +TABBOOK_RIGHTTABS+:: Tabs on right
|
27
|
+
# +TABBOOK_NORMAL+:: same as <tt>TABBOOK_TOPTABS</tt>
|
28
28
|
#
|
29
29
|
# === Message identifiers
|
30
30
|
#
|
31
|
-
# +ID_OPEN_ITEM+::
|
32
|
-
# +ID_OPEN_FIRST+::
|
33
|
-
# +ID_OPEN_SECOND+::
|
34
|
-
# +ID_OPEN_THIRD+::
|
35
|
-
# +ID_OPEN_FOURTH+::
|
36
|
-
# +ID_OPEN_FIFTH+::
|
37
|
-
# +ID_OPEN_SIXTH+::
|
38
|
-
# +ID_OPEN_SEVENTH+::
|
39
|
-
# +ID_OPEN_EIGHTH+::
|
40
|
-
# +ID_OPEN_NINETH+::
|
41
|
-
# +ID_OPEN_TENTH+::
|
42
|
-
# +ID_OPEN_LAST+::
|
31
|
+
# +ID_OPEN_ITEM+:: Sent from one of the FXTabItems
|
32
|
+
# +ID_OPEN_FIRST+:: Switch to the first panel
|
33
|
+
# +ID_OPEN_SECOND+:: x
|
34
|
+
# +ID_OPEN_THIRD+:: x
|
35
|
+
# +ID_OPEN_FOURTH+:: x
|
36
|
+
# +ID_OPEN_FIFTH+:: x
|
37
|
+
# +ID_OPEN_SIXTH+:: x
|
38
|
+
# +ID_OPEN_SEVENTH+:: x
|
39
|
+
# +ID_OPEN_EIGHTH+:: x
|
40
|
+
# +ID_OPEN_NINETH+:: x
|
41
|
+
# +ID_OPEN_TENTH+:: x
|
42
|
+
# +ID_OPEN_LAST+:: x
|
43
43
|
#
|
44
44
|
class FXTabBar < FXPacker
|
45
45
|
# Currently active tab item's index [Integer]
|
@@ -53,18 +53,18 @@ module Fox
|
|
53
53
|
#
|
54
54
|
# ==== Parameters:
|
55
55
|
#
|
56
|
-
# +p+::
|
57
|
-
# +target+::
|
58
|
-
# +selector+::
|
59
|
-
# +opts+::
|
60
|
-
# +x+::
|
61
|
-
# +y+::
|
62
|
-
# +width+::
|
63
|
-
# +height+::
|
64
|
-
# +padLeft+::
|
65
|
-
# +padRight+::
|
66
|
-
# +padTop+::
|
67
|
-
# +padBottom+::
|
56
|
+
# +p+:: the parent window for this tar bar {FXComposite}
|
57
|
+
# +target+:: the message target, if any, for this tar bar {FXObject}
|
58
|
+
# +selector+:: the message identifier for this tab bar [Integer]
|
59
|
+
# +opts+:: tar bar options [Integer]
|
60
|
+
# +x+:: initial x-position [Integer]
|
61
|
+
# +y+:: initial y-position [Integer]
|
62
|
+
# +width+:: initial width [Integer]
|
63
|
+
# +height+:: initial height [Integer]
|
64
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
65
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
66
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
67
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
68
68
|
#
|
69
69
|
def initialize(p, target=nil, selector=0, opts=TABBOOK_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING) # :yields: theTabBar
|
70
70
|
end
|
data/rdoc-sources/FXTabBook.rb
CHANGED
@@ -11,7 +11,7 @@ module Fox
|
|
11
11
|
# Thus, a tab book can be used to present many GUI controls
|
12
12
|
# in a small space by placing several panels on top of each
|
13
13
|
# other and using tab items to select the desired panel.
|
14
|
-
# When one of the tab items is pressed, the tab book's #setCurrent method
|
14
|
+
# When one of the tab items is pressed, the tab book's {#setCurrent} method
|
15
15
|
# is called with _notify+=true. This causes the tab book to send a
|
16
16
|
# +SEL_COMMAND+ message to its target.
|
17
17
|
#
|
@@ -21,18 +21,18 @@ module Fox
|
|
21
21
|
#
|
22
22
|
# ==== Parameters:
|
23
23
|
#
|
24
|
-
# +p+::
|
25
|
-
# +target+::
|
26
|
-
# +selector+::
|
27
|
-
# +opts+::
|
28
|
-
# +x+::
|
29
|
-
# +y+::
|
30
|
-
# +width+::
|
31
|
-
# +height+::
|
32
|
-
# +padLeft+::
|
33
|
-
# +padRight+::
|
34
|
-
# +padTop+::
|
35
|
-
# +padBottom+::
|
24
|
+
# +p+:: the parent window for this tar book {FXComposite}
|
25
|
+
# +target+:: the message target, if any, for this tar book {FXObject}
|
26
|
+
# +selector+:: the message identifier for this tab book [Integer]
|
27
|
+
# +opts+:: tar book options [Integer]
|
28
|
+
# +x+:: initial x-position [Integer]
|
29
|
+
# +y+:: initial y-position [Integer]
|
30
|
+
# +width+:: initial width [Integer]
|
31
|
+
# +height+:: initial height [Integer]
|
32
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
33
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
34
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
35
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
36
36
|
#
|
37
37
|
def initialize(p, target=nil, selector=0, opts=TABBOOK_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING) # :yields: theTabBook
|
38
38
|
end
|
data/rdoc-sources/FXTabItem.rb
CHANGED
@@ -11,19 +11,19 @@ module Fox
|
|
11
11
|
#
|
12
12
|
# The following messages are sent by FXTabItem to its target:
|
13
13
|
#
|
14
|
-
# +SEL_KEYPRESS+::
|
15
|
-
# +SEL_KEYRELEASE+::
|
14
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
15
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
16
16
|
#
|
17
17
|
# === Tab item orientations (which affect border)
|
18
18
|
#
|
19
|
-
# +TAB_TOP+::
|
20
|
-
# +TAB_LEFT+::
|
21
|
-
# +TAB_RIGHT+::
|
22
|
-
# +TAB_BOTTOM+::
|
23
|
-
# +TAB_TOP_NORMAL+::
|
24
|
-
# +TAB_BOTTOM_NORMAL+::
|
25
|
-
# +TAB_LEFT_NORMAL+::
|
26
|
-
# +TAB_RIGHT_NORMAL+::
|
19
|
+
# +TAB_TOP+:: Top side tabs
|
20
|
+
# +TAB_LEFT+:: Left side tabs
|
21
|
+
# +TAB_RIGHT+:: Right side tabs
|
22
|
+
# +TAB_BOTTOM+:: Bottom side tabs
|
23
|
+
# +TAB_TOP_NORMAL+:: same as <tt>JUSTIFY_NORMAL|ICON_BEFORE_TEXT|TAB_TOP|FRAME_RAISED|FRAME_THICK</tt>
|
24
|
+
# +TAB_BOTTOM_NORMAL+:: same as <tt>JUSTIFY_NORMAL|ICON_BEFORE_TEXT|TAB_BOTTOM|FRAME_RAISED|FRAME_THICK</tt>
|
25
|
+
# +TAB_LEFT_NORMAL+:: same as <tt>JUSTIFY_LEFT|JUSTIFY_CENTER_Y|ICON_BEFORE_TEXT|TAB_LEFT|FRAME_RAISED|FRAME_THICK</tt>
|
26
|
+
# +TAB_RIGHT_NORMAL+:: same as <tt>JUSTIFY_LEFT|JUSTIFY_CENTER_Y|ICON_BEFORE_TEXT|TAB_RIGHT|FRAME_RAISED|FRAME_THICK</tt>
|
27
27
|
#
|
28
28
|
class FXTabItem < FXLabel
|
29
29
|
|
@@ -38,18 +38,18 @@ module Fox
|
|
38
38
|
#
|
39
39
|
# ==== Parameters:
|
40
40
|
#
|
41
|
-
# +p+::
|
42
|
-
# +text+::
|
43
|
-
# +ic+::
|
44
|
-
# +opts+::
|
45
|
-
# +x+::
|
46
|
-
# +y+::
|
47
|
-
# +width+::
|
48
|
-
# +height+::
|
49
|
-
# +padLeft+::
|
50
|
-
# +padRight+::
|
51
|
-
# +padTop+::
|
52
|
-
# +padBottom+::
|
41
|
+
# +p+:: the parent tab book (or tab bar) for this tab item {FXTabBar}
|
42
|
+
# +text+:: the text for this tab item [String]
|
43
|
+
# +ic+:: the icon for this tab item, if any {FXIcon}
|
44
|
+
# +opts+:: tab item options [Integer]
|
45
|
+
# +x+:: initial x-position [Integer]
|
46
|
+
# +y+:: initial y-position [Integer]
|
47
|
+
# +width+:: initial width [Integer]
|
48
|
+
# +height+:: initial height [Integer]
|
49
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
50
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
51
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
52
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
53
53
|
#
|
54
54
|
def initialize(p, text, ic=nil, opts=TAB_TOP_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theTabItem
|
55
55
|
end
|
data/rdoc-sources/FXTable.rb
CHANGED
@@ -19,10 +19,10 @@ module Fox
|
|
19
19
|
# Represents a range of cells in an FXTable.
|
20
20
|
#
|
21
21
|
class FXTableRange
|
22
|
-
# Starting position for this range of cells
|
22
|
+
# Starting position for this range of cells {FXTablePos}
|
23
23
|
attr_accessor :fm
|
24
24
|
|
25
|
-
# Ending position for this range of cells
|
25
|
+
# Ending position for this range of cells {FXTablePos}
|
26
26
|
attr_accessor :to
|
27
27
|
|
28
28
|
#
|
@@ -39,7 +39,7 @@ module Fox
|
|
39
39
|
# Text associated with this cell [String]
|
40
40
|
attr_accessor :text
|
41
41
|
|
42
|
-
# Icon associated with this cell
|
42
|
+
# Icon associated with this cell {FXIcon}
|
43
43
|
attr_accessor :icon
|
44
44
|
|
45
45
|
# User data associated with this cell [Object]
|
@@ -81,9 +81,9 @@ module Fox
|
|
81
81
|
#
|
82
82
|
# ==== Parameters:
|
83
83
|
#
|
84
|
-
# +text+::
|
85
|
-
# +icon+::
|
86
|
-
# +data+::
|
84
|
+
# +text+:: the text for this table item [String]
|
85
|
+
# +icon+:: the icon, if any, for this table item {FXIcon}
|
86
|
+
# +data+:: the user data for this table item [Object]
|
87
87
|
#
|
88
88
|
def initialize(text, icon=nil, data=nil); end
|
89
89
|
|
@@ -196,199 +196,199 @@ module Fox
|
|
196
196
|
#
|
197
197
|
# The following messages are sent by FXTable to its target:
|
198
198
|
#
|
199
|
-
# +SEL_COMMAND+::
|
200
|
-
# +SEL_KEYPRESS+::
|
201
|
-
# +SEL_KEYRELEASE+::
|
202
|
-
# +SEL_LEFTBUTTONPRESS+::
|
203
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
204
|
-
# +SEL_RIGHTBUTTONPRESS+::
|
205
|
-
# +SEL_RIGHTBUTTONRELEASE+::
|
206
|
-
# +SEL_SELECTED+::
|
207
|
-
# +SEL_DESELECTED+::
|
208
|
-
# +SEL_CHANGED+::
|
209
|
-
# +SEL_CLICKED+::
|
210
|
-
# +SEL_DOUBLECLICKED+::
|
211
|
-
# +SEL_TRIPLECLICKED+::
|
212
|
-
# +SEL_DELETED+::
|
213
|
-
# +SEL_INSERTED+::
|
214
|
-
# +SEL_REPLACED+::
|
199
|
+
# +SEL_COMMAND+:: sent when a new item is clicked; the message data is an FXTablePos instance indicating the current cell.
|
200
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
201
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
202
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
203
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
204
|
+
# +SEL_RIGHTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
205
|
+
# +SEL_RIGHTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
206
|
+
# +SEL_SELECTED+:: sent when a cell is selected; the message data is an FXTablePos instance indicating the position of the selected cell.
|
207
|
+
# +SEL_DESELECTED+:: sent when a cell is deselected; the message data is an FXTablePos instance indicating the position of the deselected cell.
|
208
|
+
# +SEL_CHANGED+:: sent when the current cell changes; the message data is an FXTablePos instance indicating the current cell.
|
209
|
+
# +SEL_CLICKED+:: sent when a cell is single-clicked; the message data is an FXTablePos instance indicating the current cell.
|
210
|
+
# +SEL_DOUBLECLICKED+:: sent when a cell is double-clicked; the message data is an FXTablePos instance indicating the current cell.
|
211
|
+
# +SEL_TRIPLECLICKED+:: sent when a cell is triple-clicked; the message data is an FXTablePos instance indicating the current cell.
|
212
|
+
# +SEL_DELETED+:: sent when a range of cells is about to be removed; the message data is an FXTableRange instance indicating the cells to be removed.
|
213
|
+
# +SEL_INSERTED+:: sent when a range of cells has been inserted; the message data is an FXTableRange instance indicating the cells inserted.
|
214
|
+
# +SEL_REPLACED+:: sent when a range of cells has been replaced; the message data is an FXTableRange instance indicating the cells replaced.
|
215
215
|
#
|
216
216
|
# === Table options
|
217
217
|
#
|
218
|
-
# +TABLE_COL_SIZABLE+::
|
219
|
-
# +TABLE_ROW_SIZABLE+::
|
220
|
-
# +TABLE_NO_COLSELECT+::
|
221
|
-
# +TABLE_NO_ROWSELECT+::
|
222
|
-
# +TABLE_READONLY+::
|
223
|
-
# +TABLE_COL_RENUMBER+::
|
224
|
-
# +TABLE_ROW_RENUMBER+::
|
218
|
+
# +TABLE_COL_SIZABLE+:: Columns are resizable
|
219
|
+
# +TABLE_ROW_SIZABLE+:: Rows are resizable
|
220
|
+
# +TABLE_NO_COLSELECT+:: Disallow column selections
|
221
|
+
# +TABLE_NO_ROWSELECT+:: Disallow row selections
|
222
|
+
# +TABLE_READONLY+:: Table is not editable
|
223
|
+
# +TABLE_COL_RENUMBER+:: Renumber columns
|
224
|
+
# +TABLE_ROW_RENUMBER+:: Renumber rows
|
225
225
|
#
|
226
226
|
# === Message identifiers
|
227
227
|
#
|
228
|
-
# +ID_HORZ_GRID+::
|
229
|
-
# +ID_VERT_GRID+::
|
230
|
-
# +ID_TOGGLE_EDITABLE+::
|
231
|
-
# +ID_DELETE_COLUMN+::
|
232
|
-
# +ID_DELETE_ROW+::
|
233
|
-
# +ID_INSERT_COLUMN+::
|
234
|
-
# +ID_INSERT_ROW+::
|
235
|
-
# +ID_SELECT_COLUMN_INDEX+::
|
236
|
-
# +ID_SELECT_ROW_INDEX+::
|
237
|
-
# +ID_SELECT_COLUMN+::
|
238
|
-
# +ID_SELECT_ROW+::
|
239
|
-
# +ID_SELECT_CELL+::
|
240
|
-
# +ID_SELECT_ALL+::
|
241
|
-
# +ID_DESELECT_ALL+::
|
242
|
-
# +ID_MOVE_LEFT+::
|
243
|
-
# +ID_MOVE_RIGHT+::
|
244
|
-
# +ID_MOVE_UP+::
|
245
|
-
# +ID_MOVE_DOWN+::
|
246
|
-
# +ID_MOVE_HOME+::
|
247
|
-
# +ID_MOVE_END+::
|
248
|
-
# +ID_MOVE_TOP+::
|
249
|
-
# +ID_MOVE_BOTTOM+::
|
250
|
-
# +ID_MOVE_PAGEDOWN+::
|
251
|
-
# +ID_MOVE_PAGEUP+::
|
252
|
-
# +ID_START_INPUT+::
|
253
|
-
# +ID_CANCEL_INPUT+::
|
254
|
-
# +ID_ACCEPT_INPUT+::
|
255
|
-
# +ID_MARK+::
|
256
|
-
# +ID_EXTEND+::
|
257
|
-
# +ID_CUT_SEL+::
|
258
|
-
# +ID_COPY_SEL+::
|
259
|
-
# +ID_PASTE_SEL+::
|
260
|
-
# +ID_DELETE_SEL+::
|
228
|
+
# +ID_HORZ_GRID+:: x
|
229
|
+
# +ID_VERT_GRID+:: x
|
230
|
+
# +ID_TOGGLE_EDITABLE+:: x
|
231
|
+
# +ID_DELETE_COLUMN+:: x
|
232
|
+
# +ID_DELETE_ROW+:: x
|
233
|
+
# +ID_INSERT_COLUMN+:: x
|
234
|
+
# +ID_INSERT_ROW+:: x
|
235
|
+
# +ID_SELECT_COLUMN_INDEX+:: x
|
236
|
+
# +ID_SELECT_ROW_INDEX+:: x
|
237
|
+
# +ID_SELECT_COLUMN+:: x
|
238
|
+
# +ID_SELECT_ROW+:: x
|
239
|
+
# +ID_SELECT_CELL+:: x
|
240
|
+
# +ID_SELECT_ALL+:: x
|
241
|
+
# +ID_DESELECT_ALL+:: x
|
242
|
+
# +ID_MOVE_LEFT+:: x
|
243
|
+
# +ID_MOVE_RIGHT+:: x
|
244
|
+
# +ID_MOVE_UP+:: x
|
245
|
+
# +ID_MOVE_DOWN+:: x
|
246
|
+
# +ID_MOVE_HOME+:: x
|
247
|
+
# +ID_MOVE_END+:: x
|
248
|
+
# +ID_MOVE_TOP+:: x
|
249
|
+
# +ID_MOVE_BOTTOM+:: x
|
250
|
+
# +ID_MOVE_PAGEDOWN+:: x
|
251
|
+
# +ID_MOVE_PAGEUP+:: x
|
252
|
+
# +ID_START_INPUT+:: x
|
253
|
+
# +ID_CANCEL_INPUT+:: x
|
254
|
+
# +ID_ACCEPT_INPUT+:: x
|
255
|
+
# +ID_MARK+:: x
|
256
|
+
# +ID_EXTEND+:: x
|
257
|
+
# +ID_CUT_SEL+:: x
|
258
|
+
# +ID_COPY_SEL+:: x
|
259
|
+
# +ID_PASTE_SEL+:: x
|
260
|
+
# +ID_DELETE_SEL+:: x
|
261
261
|
|
262
262
|
class FXTable < FXScrollArea
|
263
263
|
|
264
|
-
# Button in the upper left corner
|
264
|
+
# Button in the upper left corner {FXButton}
|
265
265
|
attr_reader :cornerButton
|
266
266
|
|
267
|
-
# Column header control
|
267
|
+
# Column header control {FXHeader}
|
268
268
|
attr_reader :columnHeader
|
269
269
|
|
270
|
-
# Row header control
|
270
|
+
# Row header control {FXHeader}
|
271
271
|
attr_reader :rowHeader
|
272
272
|
|
273
273
|
# Number of visible rows [Integer]
|
274
|
-
attr_accessor
|
274
|
+
attr_accessor :visibleRows
|
275
275
|
|
276
276
|
# Number of visible columns [Integer]
|
277
|
-
attr_accessor
|
277
|
+
attr_accessor :visibleColumns
|
278
278
|
|
279
279
|
# Number of rows [Integer]
|
280
|
-
attr_reader
|
280
|
+
attr_reader :numRows
|
281
281
|
|
282
282
|
# Number of columns [Integer]
|
283
|
-
attr_reader
|
283
|
+
attr_reader :numColumns
|
284
284
|
|
285
285
|
# Top cell margin, in pixels [Integer]
|
286
|
-
attr_accessor
|
286
|
+
attr_accessor :marginTop
|
287
287
|
|
288
288
|
# Bottom cell margin, in pixels [Integer]
|
289
|
-
attr_accessor
|
289
|
+
attr_accessor :marginBottom
|
290
290
|
|
291
291
|
# Left cell margin, in pixels [Integer]
|
292
|
-
attr_accessor
|
292
|
+
attr_accessor :marginLeft
|
293
293
|
|
294
294
|
# Right cell margin, in pixels [Integer]
|
295
|
-
attr_accessor
|
295
|
+
attr_accessor :marginRight
|
296
296
|
|
297
297
|
# Table style [Integer]
|
298
|
-
attr_accessor
|
298
|
+
attr_accessor :tableStyle
|
299
299
|
|
300
300
|
# The column header height mode is either fixed (LAYOUT_FIX_HEIGHT) or variable.
|
301
301
|
# In variable height mode, the column header will size to fit the contents in it.
|
302
302
|
# In fixed height mode, the size is explicitly set via the _columnHeaderHeight_
|
303
303
|
# attribute.
|
304
|
-
attr_accessor
|
304
|
+
attr_accessor :columnHeaderMode
|
305
305
|
|
306
306
|
# The row header width mode is either fixed (LAYOUT_FIX_WIDTH) or variable.
|
307
307
|
# In variable width mode, the row header will size to fit the contents in it.
|
308
308
|
# In fixed width mode, the size is explicitly set via the _rowHeaderWidth_
|
309
309
|
# attribute.
|
310
|
-
attr_accessor
|
310
|
+
attr_accessor :rowHeaderMode
|
311
311
|
|
312
|
-
# Row header font
|
313
|
-
attr_accessor
|
312
|
+
# Row header font {FXFont}
|
313
|
+
attr_accessor :rowHeaderFont
|
314
314
|
|
315
|
-
# Column header font
|
316
|
-
attr_accessor
|
315
|
+
# Column header font {FXFont}
|
316
|
+
attr_accessor :columnHeaderFont
|
317
317
|
|
318
318
|
# The fixed column header height, if _columnHeaderMode_ is +LAYOUT_FIX_HEIGHT+.
|
319
|
-
attr_accessor
|
319
|
+
attr_accessor :columnHeaderHeight
|
320
320
|
|
321
321
|
# The fixed row header width, if _rowHeaderMode_ is +LAYOUT_FIX_WIDTH+.
|
322
|
-
attr_accessor
|
322
|
+
attr_accessor :rowHeaderWidth
|
323
323
|
|
324
324
|
# Default column width, in pixels [Integer]
|
325
|
-
attr_accessor
|
325
|
+
attr_accessor :defColumnWidth
|
326
326
|
|
327
327
|
# Default row height, in pixels [Integer]
|
328
|
-
attr_accessor
|
328
|
+
attr_accessor :defRowHeight
|
329
329
|
|
330
330
|
# Row number for current cell [Integer]
|
331
|
-
attr_reader
|
331
|
+
attr_reader :currentRow
|
332
332
|
|
333
333
|
# Column number for current cell [Integer]
|
334
|
-
attr_reader
|
334
|
+
attr_reader :currentColumn
|
335
335
|
|
336
336
|
# Row number for anchor cell [Integer]
|
337
|
-
attr_reader
|
337
|
+
attr_reader :anchorRow
|
338
338
|
|
339
339
|
# Column number for anchor cell [Integer]
|
340
|
-
attr_reader
|
340
|
+
attr_reader :anchorColumn
|
341
341
|
|
342
342
|
# Starting row number for selection, or -1 if there is no selection [Integer]
|
343
|
-
attr_reader
|
343
|
+
attr_reader :selStartRow
|
344
344
|
|
345
345
|
# Starting column number for selection, or -1 if there is no selection [Integer]
|
346
|
-
attr_reader
|
346
|
+
attr_reader :selStartColumn
|
347
347
|
|
348
348
|
# Ending row number for selection, or -1 if there is no selection [Integer]
|
349
|
-
attr_reader
|
349
|
+
attr_reader :selEndRow
|
350
350
|
|
351
351
|
# Ending column number for selection, or -1 if there is no selection [Integer]
|
352
|
-
attr_reader
|
352
|
+
attr_reader :selEndColumn
|
353
353
|
|
354
|
-
# Text font
|
355
|
-
attr_accessor
|
354
|
+
# Text font {FXFont}
|
355
|
+
attr_accessor :font
|
356
356
|
|
357
|
-
# Text color
|
358
|
-
attr_accessor
|
357
|
+
# Text color {FXColor}
|
358
|
+
attr_accessor :textColor
|
359
359
|
|
360
|
-
# Base GUI color
|
361
|
-
attr_accessor
|
360
|
+
# Base GUI color {FXColor}
|
361
|
+
attr_accessor :baseColor
|
362
362
|
|
363
|
-
# Highlight color
|
364
|
-
attr_accessor
|
363
|
+
# Highlight color {FXColor}
|
364
|
+
attr_accessor :hiliteColor
|
365
365
|
|
366
|
-
# Shadow color
|
367
|
-
attr_accessor
|
366
|
+
# Shadow color {FXColor}
|
367
|
+
attr_accessor :shadowColor
|
368
368
|
|
369
|
-
# Border color
|
370
|
-
attr_accessor
|
369
|
+
# Border color {FXColor}
|
370
|
+
attr_accessor :borderColor
|
371
371
|
|
372
|
-
# Background color for selected cell(s)
|
373
|
-
attr_accessor
|
372
|
+
# Background color for selected cell(s) {FXColor}
|
373
|
+
attr_accessor :selBackColor
|
374
374
|
|
375
|
-
# Text color for selected cell(s)
|
376
|
-
attr_accessor
|
375
|
+
# Text color for selected cell(s) {FXColor}
|
376
|
+
attr_accessor :selTextColor
|
377
377
|
|
378
|
-
# Grid color
|
379
|
-
attr_accessor
|
378
|
+
# Grid color {FXColor}
|
379
|
+
attr_accessor :gridColor
|
380
380
|
|
381
|
-
# Stipple color
|
382
|
-
attr_accessor
|
381
|
+
# Stipple color {FXColor}
|
382
|
+
attr_accessor :stippleColor
|
383
383
|
|
384
|
-
# Cell border color
|
385
|
-
attr_accessor
|
384
|
+
# Cell border color {FXColor}
|
385
|
+
attr_accessor :cellBorderColor
|
386
386
|
|
387
387
|
# Cell border width, in pixels [Integer]
|
388
|
-
attr_accessor
|
388
|
+
attr_accessor :cellBorderWidth
|
389
389
|
|
390
390
|
# Status line help text [String]
|
391
|
-
attr_accessor
|
391
|
+
attr_accessor :helpText
|
392
392
|
|
393
393
|
# Returns the drag type for CSV data
|
394
394
|
def FXTable.csvType; end
|
@@ -403,18 +403,18 @@ module Fox
|
|
403
403
|
#
|
404
404
|
# ==== Parameters:
|
405
405
|
#
|
406
|
-
# +p+::
|
407
|
-
# +target+::
|
408
|
-
# +selector+::
|
409
|
-
# +opts+::
|
410
|
-
# +x+::
|
411
|
-
# +y+::
|
412
|
-
# +width+::
|
413
|
-
# +height+::
|
414
|
-
# +padLeft+::
|
415
|
-
# +padRight+::
|
416
|
-
# +padTop+::
|
417
|
-
# +padBottom+::
|
406
|
+
# +p+:: the parent window for this table {FXComposite}
|
407
|
+
# +target+:: the message target (if any) for this table {FXObject}
|
408
|
+
# +selector+:: the message identifier for this table [Integer]
|
409
|
+
# +opts+:: table options [Integer]
|
410
|
+
# +x+:: initial x-position [Integer]
|
411
|
+
# +y+:: initial y-position [Integer]
|
412
|
+
# +width+:: initial width [Integer]
|
413
|
+
# +height+:: initial height [Integer]
|
414
|
+
# +padLeft+:: internal padding on the left side, in pixels [Integer]
|
415
|
+
# +padRight+:: internal padding on the right side, in pixels [Integer]
|
416
|
+
# +padTop+:: internal padding on the top side, in pixels [Integer]
|
417
|
+
# +padBottom+:: internal padding on the bottom side, in pixels [Integer]
|
418
418
|
#
|
419
419
|
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_MARGIN, padRight=DEFAULT_MARGIN, padTop=DEFAULT_MARGIN, padBottom=DEFAULT_MARGIN) # :yields: theTable
|
420
420
|
end
|
@@ -433,13 +433,13 @@ module Fox
|
|
433
433
|
|
434
434
|
#
|
435
435
|
# Show or hide horizontal grid.
|
436
|
-
# Note that this is equivalent to the #horizontalGridShown=
|
436
|
+
# Note that this is equivalent to the {#horizontalGridShown=} method.
|
437
437
|
#
|
438
438
|
def showHorzGrid(on=true) ; end
|
439
439
|
|
440
440
|
#
|
441
441
|
# Show or hide vertical grid.
|
442
|
-
# Note that this is equivalent to the #verticalGridShown=
|
442
|
+
# Note that this is equivalent to the {#verticalGridShown=} method.
|
443
443
|
#
|
444
444
|
def showVertGrid(on=true) ; end
|
445
445
|
|
@@ -654,7 +654,7 @@ module Fox
|
|
654
654
|
|
655
655
|
# Change column header icon.
|
656
656
|
# Raises IndexError if _index_ is out of bounds.
|
657
|
-
def setColumnIcon(
|
657
|
+
def setColumnIcon(index, icon); end
|
658
658
|
|
659
659
|
# Return icon of column header at _index_.
|
660
660
|
# Raises IndexError if _index_ is out of bounds.
|
@@ -739,18 +739,18 @@ module Fox
|
|
739
739
|
# the string specified by _cs_, and each row is delimited by
|
740
740
|
# the string specified by _rs_.
|
741
741
|
# To reverse this operation (i.e. set the table cells' text
|
742
|
-
# from a string), see #overlayText.
|
742
|
+
# from a string), see {#overlayText}.
|
743
743
|
# Raises IndexError if any of _startrow_, _endrow_, _startcol_
|
744
744
|
# or _endcol_ is out of bounds.
|
745
745
|
#
|
746
746
|
# ==== Parameters:
|
747
747
|
#
|
748
|
-
# +startrow+::
|
749
|
-
# +endrow+::
|
750
|
-
# +startcol+::
|
751
|
-
# +endcol+::
|
752
|
-
# +cs+::
|
753
|
-
# +rs+::
|
748
|
+
# +startrow+:: the starting row for the range [Integer]
|
749
|
+
# +endrow+:: the ending row for the range [Integer]
|
750
|
+
# +startcol+:: the starting column for the range [Integer]
|
751
|
+
# +endcol+:: the ending column for the range [Integer]
|
752
|
+
# +cs+:: the string to insert at each column break [String]
|
753
|
+
# +rs+:: the string to insert at each row break [String]
|
754
754
|
#
|
755
755
|
def extractText(startrow, endrow, startcol, endcol, cs="\t", rs="\n"); end
|
756
756
|
|
@@ -761,19 +761,19 @@ module Fox
|
|
761
761
|
# the character specified by _cs_, and each row should be delimited by
|
762
762
|
# the character specified by _rs_.
|
763
763
|
# To reverse this operation (i.e. extract the table cells' text
|
764
|
-
# into a string), see #extractText.
|
764
|
+
# into a string), see {#extractText}.
|
765
765
|
# Raises IndexError if any of _startrow_, _endrow_, _startcol_
|
766
766
|
# or _endcol_ is out of bounds.
|
767
767
|
#
|
768
768
|
# ==== Parameters:
|
769
769
|
#
|
770
|
-
# +startrow+::
|
771
|
-
# +endrow+::
|
772
|
-
# +startcol+::
|
773
|
-
# +endcol+::
|
774
|
-
# +text+::
|
775
|
-
# +cs+::
|
776
|
-
# +rs+::
|
770
|
+
# +startrow+:: the starting row for the range [Integer]
|
771
|
+
# +endrow+:: the ending row for the range [Integer]
|
772
|
+
# +startcol+:: the starting column for the range [Integer]
|
773
|
+
# +endcol+:: the ending column for the range [Integer]
|
774
|
+
# +text+:: the text containing the new cell text [String]
|
775
|
+
# +cs+:: the character to insert at each column break [String]
|
776
|
+
# +rs+:: the character to insert at each row break [String]
|
777
777
|
#
|
778
778
|
def overlayText(startrow, endrow, startcol, endcol, text, cs="\t", rs="\n", notify=false); end
|
779
779
|
|
@@ -936,7 +936,7 @@ module Fox
|
|
936
936
|
# If the value is zero, this background color is used for even-numbered
|
937
937
|
# rows (columns). If the value is one, this background color is used
|
938
938
|
# for odd-numbered rows (columns).
|
939
|
-
# See also #getCellColor.
|
939
|
+
# See also {#getCellColor}.
|
940
940
|
#
|
941
941
|
def setCellColor(row, column, color) ; end
|
942
942
|
|
@@ -946,7 +946,7 @@ module Fox
|
|
946
946
|
# If the value is zero, returns the background color used for even-numbered
|
947
947
|
# rows (columns). If the value is one, returns the background color used
|
948
948
|
# for odd-numbered rows (columns).
|
949
|
-
# See also #setCellColor.
|
949
|
+
# See also {#setCellColor}.
|
950
950
|
#
|
951
951
|
def getCellColor(row, column) ; end
|
952
952
|
|