Sha256: ecbcdc0eca1fb626dd53f7499e97dcf197a34a81f432e7e7ca198836187fe68c

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

class Shoes
  module Swt
    class CheckButton < SwtButton
      def initialize(dsl, app, type)
        super(dsl, app, type)
      end

      def checked?
        @real.get_selection
      end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre8 lib/shoes/swt/check_button.rb
shoes-swt-4.0.0.pre7 lib/shoes/swt/check_button.rb