Class Fox::FX7Segment
In: rdoc-sources/FX7Segment.rb
Parent: FXFrame

Seven-segment (eg LCD/watch style) widget, useful for making indicators and timers. Besides numbers, the seven-segment display widget can also display some letters and punctuations.

7 Segment styles

SEVENSEGMENT_NORMAL:Draw segments normally
SEVENSEGMENT_SHADOW:Draw shadow under the segments

Methods

Attributes

cellHeight  [RW]  Cell height, in pixels [Integer]
cellWidth  [RW]  Cell width, in pixels [Integer]
helpText  [RW]  Status line help text [String]
justify  [RW]  Current text-justification mode [Integer]
text  [RW]  The text for this label [String]
textColor  [RW]  The text color [FXColor]
thickness  [RW]  Segment thickness, in pixels [Integer]
tipText  [RW]  Tool tip message [String]

Public Class methods

Public Instance methods

Return the current 7 segment style, which is either SEVENSEGMENT_NORMAL or SEVENSEGMENT_SHADOW.

Change 7 segment style, where style is either SEVENSEGMENT_NORMAL or SEVENSEGMENT_SHADOW.

[Validate]