Method: Fox::FXScrollBar#initialize
- Defined in:
- rdoc-sources/FXScrollBar.rb
#initialize(p, target = nil, selector = 0, opts = SCROLLBAR_VERTICAL, x = 0, y = 0, width = 0, height = 0) ⇒ FXScrollBar
Return an initialized FXScrollBar instance.
Parameters:
p-
the parent widget for this scroll bar Fox::FXComposite
target-
the initial message target (if any) for this scroll bar Fox::FXObject
selector-
the message identifier for this scroll bar [Integer]
opts-
the options [Integer]
x-
initial x-position, when the
LAYOUT_FIX_Xlayout hint is in effect [Integer] y-
initial y-position, when the
LAYOUT_FIX_Ylayout hint is in effect [Integer] width-
initial width, when the
LAYOUT_FIX_WIDTHlayout hint is in effect [Integer] height-
initial height, when the
LAYOUT_FIX_HEIGHTlayout hint is in effect [Integer]
91 92 |
# File 'rdoc-sources/FXScrollBar.rb', line 91 def initialize(p, target=nil, selector=0, opts=SCROLLBAR_VERTICAL, x=0, y=0, width=0, height=0) # :yields: theScrollBar end |