Method: TkVirtualEvent#initialize
- Defined in:
- lib/tk/virtevent.rb
#initialize(*sequences) ⇒ TkVirtualEvent
Returns a new instance of TkVirtualEvent.
73 74 75 76 77 78 79 80 |
# File 'lib/tk/virtevent.rb', line 73 def initialize(*sequences) TkVirtualEventID.mutex.synchronize{ # @path = @id = '<' + TkVirtualEventID.join('') + '>' @path = @id = '<' + TkVirtualEventID.join(TkCore::INTERP._ip_id_) + '>' TkVirtualEventID[1].succ! } _add_sequences(sequences) end |