Class Fox::FXToolBarGrip
In: rdoc-sources/FXToolBarGrip.rb
Parent: FXWindow

A tool bar grip is used to move its parent (an FXToolBar). The grip draws either a single or double bar; it is customary to use the single bar grip for toolbar-rearrangements only, and use the double-bar when the toolbar needs to be floated or docked. The tool bar grip is automatically oriented properly by the the tool bar widget.

Toolbar Grip styles

TOOLBARGRIP_SINGLE:Single bar mode for movable tool bars
TOOLBARGRIP_DOUBLE:Double bar mode for dockable tool bars
TOOLBARGRIP_SEPARATOR:Separator mode

Methods

doubleBar?   new  

Attributes

activeColor  [RW]  Active color [FXColor]
doubleBar  [W]  Indicates whether the grip is displayed as a double-bar [Boolean]
hiliteColor  [RW]  Highlight color [FXColor]
shadowColor  [RW]  Shadow color [FXColor]

Public Class methods

Return an initialized FXToolBarGrip instance.

Parameters:

p:the parent window for this tool bar grip [FXComposite]
tgt:the message target, if any, for this tool bar grip [FXObject]
sel:the message identifier for this tool bar grip [Integer]
opts:tool bar grip options [Integer]
x:initial x-position [Integer]
y:initial y-position [Integer]
w:initial width [Integer]
h:initial height [Integer]

Public Instance methods

Return true if this tool bar grip is displayed as a double bar (i.e. as opposed to a single bar).

[Validate]