Class: TkArcadiaText
- Inherits:
-
TkText
- Object
- TkText
- TkArcadiaText
- Defined in:
- lib/a-tkcommons.rb
Instance Method Summary collapse
-
#initialize(parent = nil, keys = {}) ⇒ TkArcadiaText
constructor
A new instance of TkArcadiaText.
Constructor Details
#initialize(parent = nil, keys = {}) ⇒ TkArcadiaText
Returns a new instance of TkArcadiaText.
2766 2767 2768 2769 2770 2771 2772 2773 |
# File 'lib/a-tkcommons.rb', line 2766 def initialize(parent=nil, keys={}) super(parent, keys) # self.bind_append("<Copy>"){Arcadia.process_event(CopyTextEvent.new(self));break} # self.bind_append("<Cut>"){Arcadia.process_event(CutTextEvent.new(self));break} # self.bind_append("<Paste>"){Arcadia.process_event(PasteTextEvent.new(self));break} # self.bind_append("<Undo>"){Arcadia.process_event(UndoTextEvent.new(self));break} # self.bind_append("<Redo>"){Arcadia.process_event(RedoTextEvent.new(self));break} end |