Sha256: f0df03cb495e740d98fe56ec148a2acdac3379e25102253a9f35f6025fc92201

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

class Shoes
  module Swt
    module Common
      module UpdatePosition
        # Updates the position of this object. This object does not have its
        # own painter, so we need to update the position manually.
        def update_position
          unless @real.disposed?
            @real.set_location dsl.element_left, dsl.element_top
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
shoes-swt-4.0.0.pre2 lib/shoes/swt/common/update_position.rb
shoes-4.0.0.pre1 lib/shoes/swt/common/update_position.rb