Class Fox::FXScrollPane
In: rdoc-sources/FXScrollPane.rb
Parent: FXMenuPane

A Scroll Pane is a menu pane which provides scrolling of menu entries. It is useful when menus are populated programmatically and it is not known in advance how many entries will be added.

Methods

new  

Attributes

numVisible  [RW]  Number of visible items [Integer]
topItem  [RW]  Index of top-most menu item [Integer]

Public Class methods

Return an initialized FXScrollPane instance.

Parameters:

owner:owner window for this menu pane [FXWindow]
nvis:maximum number of visible items [Integer]
opts:options [Integer]

[Validate]