Class | Fox::FXShutter |
In: |
rdoc-sources/FXShutter.rb
|
Parent: | FXVerticalFrame |
The Shutter widget provides a set of foldable sub panels. Each subpanel consists of a Shutter Item which contains a button and some contents. A sub panel can be unfolded by pressing on that panel‘s button.
The following messages are sent by FXShutter to its target:
SEL_COMMAND: | sent whenever a new shutter item is opened; the message data is an integer indicating the new currently displayed shutter item. |
ID_SHUTTER_TIMEOUT: | x |
ID_OPEN_SHUTTERITEM: | x |
ID_OPEN_FIRST: | x |
ID_OPEN_LAST: | x |
current | [RW] | The currently displayed shutter item (a zero-based index) [Integer] |
Return an initialized FXShutter instance.
p: | the parent window for this shutter [FXComposite] |
target: | the message target, if any, for this shutter [FXObject] |
selector: | the message identifier for this shutter [Integer] |
opts: | shutter 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] |