class Fzeet::Static
Constants
- Prefix
Public Class Methods
new(parent, id, opts = {}, &block)
click to toggle source
Calls superclass method
Fzeet::Control::new
# File lib/fzeet/windows/user/Control/Static.rb, line 66 def initialize(parent, id, opts = {}, &block) super('Static', parent, id, opts) style >> :tabstop @parent.on(:command, @id, &block) if block end
Public Instance Methods
on(notification, &block)
click to toggle source
# File lib/fzeet/windows/user/Control/Static.rb, line 74 def on(notification, &block) @parent.on(:command, @id, Fzeet.constant(notification, *self.class::Prefix[:notification]), &block) self end