Sha256: 4070540364495f2844acbfbc09c04968ab47bdb1e935998647fbbeb7dc26eac7

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

# @requires MotionKit::NSWindowHelpers
module MotionKit
  class NSWindowHelpers

    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

1 entries across 1 versions & 1 rubygems

Version Path
motion-kit-0.12.0 lib/motion-kit-osx/layouts/nswindow_frame.rb