Sha256: 873ac56758172dbfc4b2a0812afd5e81dccb4792b091979aaf7a4bfb9020289d

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

class Shoes
  class KeyEvent
    def initialize(app, &blk)
      @app = app
      @gui = Shoes.backend_for self, &blk
    end

    attr_reader :app

    def remove
      @gui.remove
    end
  end

  class Keypress < KeyEvent; end
  class Keyrelease < KeyEvent; end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shoes-core-4.0.0.pre8 lib/shoes/key_event.rb
shoes-core-4.0.0.pre7 lib/shoes/key_event.rb
shoes-core-4.0.0.pre6 lib/shoes/key_event.rb
shoes-core-4.0.0.pre5 lib/shoes/key_event.rb
shoes-core-4.0.0.pre4 lib/shoes/key_event.rb
shoes-core-4.0.0.pre3 lib/shoes/key_event.rb