Sha256: f9f9e6cb2e5b94bc51781caf6506c0b63b5e11c38a4cb98dc6d9c45e8c9ca551

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

class Shoes
  module Swt
    class CheckButton < SwtButton
      include Common::Child

      def initialize(dsl, parent, type)
        super(dsl, parent, type)
      end

      def checked?
        @real.get_selection
      end

      def checked=(bool)
        @real.set_selection bool
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
shoes-swt-4.0.0.pre4 lib/shoes/swt/check_button.rb
shoes-swt-4.0.0.pre3 lib/shoes/swt/check_button.rb
shoes-swt-4.0.0.pre2 lib/shoes/swt/check_button.rb
shoes-4.0.0.pre1 lib/shoes/swt/check_button.rb