Sha256: 8b3d785d60f1d8e76900f22f9a14a236625d63e7f16a07082716d67857718304

Contents?: true

Size: 295 Bytes

Versions: 18

Compression:

Stored size: 295 Bytes

Contents

# @requires MotionKit::NSWindowLayout
module MotionKit
  class NSWindowLayout

    def frame(value, autosave_name=nil)
      retval = target.setFrame(value, display: true)
      if autosave_name
        target.setFrameAutosaveName(autosave_name)
      end
      return retval
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
motion-kit-0.11.2 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.11.1 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.11.0 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.11 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.10 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.9 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.8 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.7 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.6 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.5 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.4 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.10.3 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.6 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.4 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.3 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.2 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.1 lib/motion-kit-osx/layouts/nswindow_frame.rb
motion-kit-0.9.0 lib/motion-kit-osx/layouts/nswindow_frame.rb