Method: Fox::FXComboBox#initialize
- Defined in:
- rdoc-sources/FXComboBox.rb
#initialize(p, cols, target = nil, selector = 0, opts = COMBOBOX_NORMAL, x = 0, y = 0, width = 0, height = 0, padLeft = DEFAULT_PAD, padRight = DEFAULT_PAD, padTop = DEFAULT_PAD, padBottom = DEFAULT_PAD) ⇒ FXComboBox
Return an initialized FXComboBox instance, with room to display cols columns of text.
Parameters:
p-
the parent widget for this combo-box Fox::FXComposite
cols-
number of columns [Integer]
target-
message target Fox::FXObject
selector-
message identifier [Integer]
opts-
the options [Integer]
x-
initial x-position [Integer]
y-
initial y-position [Integer]
width-
initial width [Integer]
height-
initial height [Integer]
padLeft-
left-side padding, in pixels [Integer]
padRight-
right-side padding, in pixels [Integer]
padTop-
top-side padding, in pixels [Integer]
padBottom-
bottom-side padding, in pixels [Integer]
106 107 |
# File 'rdoc-sources/FXComboBox.rb', line 106 def initialize(p, cols, target=nil, selector=0, opts=COMBOBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theComboBox end |