- Add instructions on how to setup macos_window_utils for macOS Monterey and earlier versions.
- Add support for a blocking toolbar, that is, a special kind of toolbar that blocks double clicks from the user and allows for UI elements to be placed inside a blocked area (thanks to @cbenhagen and @Andre-lbc).
- Add the following window methods:
preventWindowClosure
allowWindowClosure
isWindowClosureAllowed
closeWindow
performClose
- Add methods to retrieve or manipulate the window’s size and position.
- Add
overrideStandardWindowButtonPosition
andgetStandardWindowButtonPosition
toWindowManipulator
to allow getting and setting the position of standard window buttons.
- Fix typo in README.
- Add
isMainWindow
getter to WindowManipulator.
- Fix multiple
FlutterViewController
s being created, which prevented the apps from exiting properly on Flutter 3.10.
- Make macos_window_utils work without modifications to
MainFlutterWindow.swift
.
- Hotfix: Fix accidental breaking change in directory structure in 1.1.0.
- Add an abstract
NSWindowDelegate
that can be used to listen to events provided by NSWindowDelegate such as window resizing, moving, exposing, and minimizing. The following methods are currently supported:- Managing Sheets
windowWillBeginSheet
windowDidEndSheet
- Sizing Windows
windowWillResize
windowDidResize
windowWillStartLiveResize
windowDidEndLiveResize
- Minimizing Windows
windowWillMiniaturize
windowDidMiniaturize
windowDidDeminiaturize
- Zooming Window
windowWillUseStandardFrame
windowShouldZoom
- Managing Full-Screen Presentation
windowWillEnterFullScreen
windowDidEnterFullScreen
windowWillExitFullScreen
windowDidExitFullScreen
- Moving Windows
windowWillMove
windowDidMove
windowDidChangeScreen
windowDidChangeScreenProfile
windowDidChangeBackingProperties
- Closing Windows
windowShouldClose
windowWillClose
- Managing Key Status
windowDidBecomeKey
windowDidResignKey
- Managing Main Status
windowDidBecomeMain
windowDidResignMain
- Exposing Windows
windowDidExpose
- Managing Occlusion State
windowDidChangeOcclusionState
- Managing Presentation in Version Browsers
windowWillEnterVersionBrowser
windowDidEnterVersionBrowser
windowWillExitVersionBrowser
windowDidExitVersionBrowser
- Managing Sheets
- Add an
NSAppPresentationOptions
class that allows the window's fullscreen presentation options to be modified.
- Fix incompatibility with Flutter 3.7.0.
- Add
setLevel
method. - Add the following
order*
methods:orderOut
orderBack
orderFront
orderFrontRegardless
- Add methods to modify the window's
styleMask
property. - Improve documentation.
- Improve “Getting started” section in the project's readme.
- Improve documentation formatting.
- Initial version.