Class | Fox::FXRulerView |
In: |
rdoc-sources/FXRulerView.rb
|
Parent: | FXScrollArea |
The Ruler View provides viewing of a document with rulers. It is intended to be subclassed in order to draw actual contents and provide editing behavior for the document. The ruler view itself simply manages the geometry of the document being edited, and coordinates the movement of the ruler displays as the document is being scrolled.
arrowPosX | [RW] | X arrow position, relative to document position [Integer] |
arrowPosY | [RW] | Y arrow position in document, relative to document position [Integer] |
documentColor | [RW] | Current document color [FXColor] |
documentHeight | [RW] | Document height [Integer] |
documentWidth | [RW] | Document width [Integer] |
documentX | [R] | Get document position X [Integer] |
documentY | [R] | Get document position Y [Integer] |
hAlignment | [RW] | Horizontal alignment; the default is RULER_ALIGN_NORMAL [Integer] |
hEdgeSpacing | [RW] | Horizontal edge spacing around document [Integer] |
hMajorTicks | [RW] | Horizontal major ticks [Integer] |
hMarginLower | [RW] | Horizontal lower margin [Integer] |
hMarginUpper | [RW] | Horizontal upper margin [Integer] |
hMediumTicks | [RW] | Horizontal medium ticks [Integer] |
hNumberTicks | [RW] | Horizontal document number placement [Integer] |
hPixelsPerTick | [RW] | Horizontal pixels per tick spacing [Float] |
hRulerFont | [RW] | Horizontal ruler font [FXFont] |
hRulerStyle | [RW] | Horizontal ruler style[Integer] |
hTinyTicks | [RW] | Horizontal tiny ticks [Integer] |
helpText | [RW] | Status line help text [String] |
horizontalRuler | [R] | Return a reference to the horizontal ruler [FXRuler] |
tipText | [RW] | Tool tip message [String] |
vAlignment | [RW] | Vertical alignment; the default is RULER_ALIGN_NORMAL [Integer] |
vEdgeSpacing | [RW] | Vertical edge spacing around document [Integer] |
vMajorTicks | [RW] | Vertical major ticks [Integer] |
vMarginLower | [RW] | Vertical lower margin [Integer] |
vMarginUpper | [RW] | Vertical upper margin [Integer] |
vMediumTicks | [RW] | Vertical medium ticks [Integer] |
vNumberTicks | [RW] | Vertical document number placement [Integer] |
vPixelsPerTick | [RW] | Vertical pixels per tick spacing [Float] |
vRulerFont | [RW] | Vertical ruler font [FXFont] |
vRulerStyle | [RW] | Vertical ruler style [Integer] |
vTinyTicks | [RW] | Vertical tiny ticks [Integer] |
verticalRuler | [R] | Return a reference to the vertical ruler [FXRuler] |
Return an initialized FXRulerView instance.
Set document width (in pixels). If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the document size is changed.
Set horizontal alignment; the default is RULER_ALIGN_NORMAL. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the alignment is changed.
Set horizontal edge spacing around document (in pixels). If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the edge spacing is changed.
Set number of horizontal major ticks. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the number of ticks is changed.
Set horizontal lower margin (in pixels). If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the margin is changed.
Set horizontal upper margin (in pixels). If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the margin is changed.
Set number of horizontal medium ticks. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the number of ticks is changed.
Set number of horizontal "number" ticks. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the number of ticks is changed.
Set horizontal pixels per tick spacing If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the spacing is changed.
Set horizontal ruler font. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the font is changed.
Set number of horizontal tiny ticks. If notify is true, a SEL_CHANGED message is sent to the horizontal ruler‘s target after the number of ticks is changed.
Set vertical alignment; the default is RULER_ALIGN_NORMAL. If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the alignment is changed.
Set vertical edge spacing around document (in pixels). If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the edge spacing is changed.
Set number of vertical major ticks. If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the number of ticks is changed.
Set vertical lower margin (in pixels). If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the margin is changed.
Set vertical upper margin (in pixels). If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the margin is changed.
Set number of vertical medium ticks. If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the number of ticks is changed.
Set number of vertical "number" ticks. If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the number of ticks is changed.
Set vertical pixels per tick spacing If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the spacing is changed.
Set vertical ruler font. If notify is true, a SEL_CHANGED message is sent to the vertical ruler‘s target after the font is changed.