class Fzeet::Edit
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/Edit.rb, line 107 def initialize(parent, id, opts = {}, &block) super('Edit', parent, id, opts) style << :border; reframe @parent.on(:command, @id, &block) if block end
Public Instance Methods
on(notification, &block)
click to toggle source
# File lib/fzeet/windows/user/Control/Edit.rb, line 115 def on(notification, &block) @parent.on(:command, @id, Fzeet.constant(notification, *self.class::Prefix[:notification]), &block) self end