Sha256: 981ee928f58d46a42e596bcb041dcb5a99855fd2d2d79a83af02aeab58a04c56

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true
class Shoes
  module Swt
    module Common
      module Clickable
        attr_accessor :click_listener

        def click(block)
          app.click_listener.add_click_listener(dsl, block)
        end

        def release(block)
          app.click_listener.add_release_listener(dsl, block)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre12 lib/shoes/swt/common/clickable.rb
shoes-swt-4.0.0.pre11 lib/shoes/swt/common/clickable.rb
shoes-swt-4.0.0.pre10 lib/shoes/swt/common/clickable.rb
shoes-swt-4.0.0.pre9 lib/shoes/swt/common/clickable.rb