Class: Fzeet::ComboBox
- Includes:
- ComboBoxMethods
- Defined in:
- lib/fzeet/windows/user/Control/ComboBox.rb
Constant Summary collapse
- Prefix =
{ xstyle: [:ws_ex_], style: [:cbs_, :ws_], message: [:cb_, :wm_], notification: [:cbn_] }
Constants included from WindowMethods
Instance Attribute Summary
Attributes inherited from Control
Instance Method Summary collapse
-
#initialize(parent, id, opts = {}, &block) ⇒ ComboBox
constructor
A new instance of ComboBox.
- #on(notification, &block) ⇒ Object
Methods included from ComboBoxMethods
Methods included from ListBoxMethods
#[], #append, #clear, #each, #length, #selected=, #textlen
Methods inherited from Control
Methods included from WindowMethods
#[], #capture=, #capture?, #dialog=, #dialog?, #dlgmsg?, #drawMenuBar, #eachChild, #enabled=, #enabled?, #focus=, #focus?, #invalidate, #location, #location=, #long, #menu, #menu=, #message, #paint, #position, #position=, #postmsg, #question, #rect, #reframe, #sendmsg, #show, #size, #size=, #style, #style?, #text, #text=, #textlen, #topmost=, #topmost?, #update, #visible=, #visible?, #xstyle, #xstyle?
Methods included from Toggle
Constructor Details
#initialize(parent, id, opts = {}, &block) ⇒ ComboBox
Returns a new instance of ComboBox.
103 104 105 106 107 |
# File 'lib/fzeet/windows/user/Control/ComboBox.rb', line 103 def initialize(parent, id, opts = {}, &block) super('ComboBox', parent, id, opts) @parent.on(:command, @id, &block) if block end |