Class: Fzeet::ListBox
- Includes:
- ListBoxMethods
- Defined in:
- lib/fzeet/windows/user/Control/ListBox.rb
Constant Summary collapse
- Prefix =
{ xstyle: [:ws_ex_], style: [:lbs_, :ws_], message: [:lb_, :wm_], notification: [:lbn_] }
Constants included from WindowMethods
Instance Attribute Summary
Attributes inherited from Control
Instance Method Summary collapse
-
#initialize(parent, id, opts = {}, &block) ⇒ ListBox
constructor
A new instance of ListBox.
- #on(notification, &block) ⇒ Object
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) ⇒ ListBox
Returns a new instance of ListBox.
135 136 137 138 139 |
# File 'lib/fzeet/windows/user/Control/ListBox.rb', line 135 def initialize(parent, id, opts = {}, &block) super('ListBox', parent, id, opts) @parent.on(:command, @id, &block) if block end |