Class | Fox::FXHeaderItem |
In: |
rdoc-sources/FXHeader.rb
|
Parent: | FXObject |
Header item
RIGHT: | Align on right |
LEFT: | Align on left |
CENTER_X: | Align centered horizontally (default) |
TOP: | Align on top |
BOTTOM: | Align on bottom |
CENTER_Y: | Align centered vertically (default) |
BEFORE: | Icon before the text |
AFTER: | Icon after the text |
ABOVE: | Icon above the text |
BELOW: | Icon below the text |
ARROW_NONE: | No arrow |
ARROW_UP: | Arrow pointing up |
ARROW_DOWN: | Arrow pointing down |
PRESSED: | Pressed down |
arrowDir | [RW] | Sort direction (FALSE, TRUE or MAYBE) [Integer] |
data | [RW] | Item‘s user data [Object] |
icon | [RW] | Item‘s icon [FXIcon] |
iconPosition | [RW] | Icon position (one of BEFORE, AFTER, ABOVE or BELOW) [Integer] |
justification | [RW] | Content justification (one of LEFT, RIGHT, CENTER_X, TOP, BOTTOM or CENTER_Y) [Integer] |
pos | [RW] | Current position [Integer] |
size | [RW] | Size [Integer] |
text | [RW] | Item‘s text label [String] |
Construct new item with given text, icon, size, and user-data