Class Fox::FXToolBar
In: rdoc-sources/FXToolBar.rb
Parent: FXDockBar

A tool bar widget can be docked in a dock site; it automatically adjusts its orientation based on the orientation of the dock site, and adjusts the layout options accordingly. See FXDockBar widget for more information on the docking behavior.

Methods

new   new  

Attributes

dockingSide  [RW]  Docking side, one of LAYOUT_SIDE_LEFT, LAYOUT_SIDE_RIGHT, LAYOUT_SIDE_TOP or LAYOUT_SIDE_BOTTOM [Integer]

Public Class methods

Return an initialized, floatable FXToolBar instance. Normally, the tool bar is docked under window p. When floated, the tool bar can be docked under window q, which is typically an FXToolBarShell window.

Parameters:

p:the "dry dock" window for this tool bar [FXComposite]
q:the "wet dock" window for this tool bar [FXComposite]
opts:tool bar options [Integer]
x:initial x-position [Integer]
y:initial y-position [Integer]
width:initial width [Integer]
height:initial height [Integer]
padLeft:internal padding on the left side, in pixels [Integer]
padRight:internal padding on the right side, in pixels [Integer]
padTop:internal padding on the top side, in pixels [Integer]
padBottom:internal padding on the bottom side, in pixels [Integer]
hSpacing:horizontal spacing between widgets, in pixels [Integer]
vSpacing:vertical spacing between widgets, in pixels [Integer]

Return an initialized, stationary FXToolBar instance. The tool bar can not be undocked.

Parameters:

p:the parent window for this tool bar [FXComposite]
opts:tool bar options [Integer]
x:initial x-position [Integer]
y:initial y-position [Integer]
width:initial width [Integer]
height:initial height [Integer]
padLeft:internal padding on the left side, in pixels [Integer]
padRight:internal padding on the right side, in pixels [Integer]
padTop:internal padding on the top side, in pixels [Integer]
padBottom:internal padding on the bottom side, in pixels [Integer]
hSpacing:horizontal spacing between widgets, in pixels [Integer]
vSpacing:vertical spacing between widgets, in pixels [Integer]

[Validate]