Class: Fzeet::Tab
- Includes:
- TabMethods
- Defined in:
- lib/fzeet/windows/comctl/Tab.rb
Constant Summary collapse
- Prefix =
{ xstyle: [:tcs_ex_, :ws_ex_], style: [:tcs_, :ws_], message: [:tcm_, :ccm_, :wm_], notification: [:tcn_, :nm_] }
Constants included from WindowMethods
Instance Attribute Summary
Attributes inherited from Control
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parent, id, opts = {}, &block) ⇒ Tab
constructor
A new instance of Tab.
- #on(notification, &block) ⇒ Object
Methods included from TabMethods
#[], #count, #current, #insert
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) ⇒ Tab
Returns a new instance of Tab.
130 131 132 133 134 135 136 |
# File 'lib/fzeet/windows/comctl/Tab.rb', line 130 def initialize(parent, id, opts = {}, &block) super('SysTabControl32', parent, id, opts) style << :clipsiblings @parent.on(:notify, @id, &block) if block end |
Class Method Details
.crackNotification(args) ⇒ Object
128 |
# File 'lib/fzeet/windows/comctl/Tab.rb', line 128 def self.crackNotification(args) end |