Skip to content

Events mac

macOS Events#

Application Events#
events.Mac.ApplicationDidBecomeActive
Triggered when the application becomes active
events.Mac.ApplicationDidChangeBackingProperties
Triggered when the application changes backing properties
events.Mac.ApplicationDidChangeEffectiveAppearance
Triggered when the application changes effective appearance
events.Mac.ApplicationDidChangeIcon
Triggered when the application changes icon
events.Mac.ApplicationDidChangeOcclusionState
Triggered when the application changes occlusion state
events.Mac.ApplicationDidChangeScreenParameters
Triggered when the application changes screen parameters
events.Mac.ApplicationDidChangeStatusBarFrame
Triggered when the application changes status bar frame
events.Mac.ApplicationDidChangeStatusBarOrientation
Triggered when the application changes status bar orientation
events.Mac.ApplicationDidFinishLaunching
Triggered when the application finishes launching
events.Mac.ApplicationDidResignActiveNotification
Triggered when the application is no longer active
events.Mac.ApplicationDidHide
Triggered when the application is hidden
events.Mac.ApplicationDidUpdate
Triggered when the application updates
events.Mac.ApplicationWillBecomeActive
Triggered when the application is about to become active
events.Mac.ApplicationWillFinishLaunching
Triggered when the application is about to finish launching
events.Mac.ApplicationWillHide
Triggered when the application is about to hide
events.Mac.ApplicationWillResignActive
Triggered when the application is about to lose focus
events.Mac.ApplicationWillTerminate
Triggered when the application is about to terminate
events.Mac.ApplicationWillUnhide
Triggered when the application is about to unhide
events.Mac.ApplicationWillUpdate
Triggered when the application is about to update
events.Mac.ApplicationDidChangeTheme
Triggered when the application changes theme
events.Mac.MenuWillOpen
Triggered when the menu is about to open
events.Mac.MenuDidOpen
Triggered when the menu opens
events.Mac.MenuDidClose
Triggered when the menu closes
events.Mac.MenuWillSendAction
Triggered when the menu is about to send an action
events.Mac.MenuDidSendAction
Triggered when the menu sends an action
events.Mac.MenuWillHighlightItem
Triggered when the menu is about to highlight an item
events.Mac.MenuDidHighlightItem
Triggered when the menu highlights an item
events.Mac.MenuWillDisplayItem
Triggered when the menu is about to display an item
events.Mac.MenuDidDisplayItem
Triggered when the menu displays an item
events.Mac.MenuWillAddItem
Triggered when the menu is about to add an item
events.Mac.MenuDidAddItem
Triggered when the menu adds an item
events.Mac.MenuWillRemoveItem
Triggered when the menu is about to remove an item
events.Mac.MenuDidRemoveItem
Triggered when the menu removes an item
events.Mac.MenuWillBeginTracking
Triggered when the menu is about to begin tracking
events.Mac.MenuDidBeginTracking
Triggered when the menu begins tracking
events.Mac.MenuWillEndTracking
Triggered when the menu is about to end tracking
events.Mac.MenuDidEndTracking
Triggered when the menu ends tracking
events.Mac.MenuWillUpdate
Triggered when the menu is about to update
events.Mac.MenuDidUpdate
Triggered when the menu updates
events.Mac.MenuWillPopUp
Triggered when the menu is about to pop up
events.Mac.MenuDidPopUp
Triggered when the menu pops up
events.Mac.MenuWillSendActionToItem
Triggered when the menu is about to send an action to an item
events.Mac.MenuDidSendActionToItem
Triggered when the menu sends an action to an item
Window Events#
events.Mac.WindowDidBecomeKey
Triggered when the window becomes key
events.Mac.WindowDidBecomeMain
Triggered when the window becomes main
events.Mac.WindowDidBeginSheet
Triggered when the window begins a sheet
events.Mac.WindowDidChangeAlpha
Triggered when the window alpha changes
events.Mac.WindowDidChangeBackingLocation
Triggered when the window backing location changes
events.Mac.WindowDidChangeBackingProperties
Triggered when the window backing properties change
events.Mac.WindowDidChangeCollectionBehavior
Triggered when the window collection behavior changes
events.Mac.WindowDidChangeEffectiveAppearance
Triggered when the window effective appearance changes
events.Mac.WindowDidChangeOcclusionState
Triggered when the window occlusion state changes
events.Mac.WindowDidChangeOrderingMode
Triggered when the window ordering mode changes
events.Mac.WindowDidChangeScreen
Triggered when the window screen changes
events.Mac.WindowDidChangeScreenParameters
Triggered when the window screen parameters change
events.Mac.WindowDidChangeScreenProfile
Triggered when the window screen profile changes
events.Mac.WindowDidChangeScreenSpace
Triggered when the window screen space changes
events.Mac.WindowDidChangeScreenSpaceProperties
Triggered when the window screen space properties change
events.Mac.WindowDidChangeSharingType
Triggered when the window sharing type changes
events.Mac.WindowDidChangeSpace
Triggered when the window space changes
events.Mac.WindowDidChangeSpaceOrderingMode
Triggered when the window space ordering mode changes
events.Mac.WindowDidChangeTitle
Triggered when the window title changes
events.Mac.WindowDidChangeToolbar
Triggered when the window toolbar changes
events.Mac.WindowDidChangeVisibility
Triggered when the window visibility changes
events.Mac.WindowDidDeminiaturize
Triggered when the window is deminiaturized
events.Mac.WindowDidEndSheet
Triggered when the window ends a sheet
events.Mac.WindowDidEnterFullScreen
Triggered when the window enters fullscreen
events.Mac.WindowDidEnterVersionBrowser
Triggered when the window enters version browser
events.Mac.WindowDidExitFullScreen
Triggered when the window exits fullscreen
events.Mac.WindowDidExitVersionBrowser
Triggered when the window exits version browser
events.Mac.WindowDidExpose
Triggered when the window is exposed
events.Mac.WindowDidFocus
Triggered when the window is focused
events.Mac.WindowDidMiniaturize
Triggered when the window is miniaturized
events.Mac.WindowDidMove
Triggered when the window is moved
events.Mac.WindowDidOrderOffScreen
Triggered when the window is ordered off-screen
events.Mac.WindowDidOrderOnScreen
Triggered when the window is ordered on screen
events.Mac.WindowDidResignKey
Triggered when the window resigns key
events.Mac.WindowDidResignMain
Triggered when the window resigns main
events.Mac.WindowDidResize
Triggered when the window is resized
events.Mac.WindowDidUpdate
Triggered when the window updates
events.Mac.WindowDidUpdateAlpha
Triggered when the window alpha updates
events.Mac.WindowDidUpdateCollectionBehavior
Triggered when the window collection behavior updates
events.Mac.WindowDidUpdateCollectionProperties
Triggered when the window collection properties update
events.Mac.WindowDidUpdateShadow
Triggered when the window shadow updates
events.Mac.WindowDidUpdateTitle
Triggered when the window title updates
events.Mac.WindowDidUpdateToolbar
Triggered when the window toolbar updates
events.Mac.WindowDidUpdateVisibility
Triggered when the window visibility updates
events.Mac.WindowShouldClose
Triggered when the window should close
events.Mac.WindowWillBecomeKey
Triggered when the window will become key
events.Mac.WindowWillBecomeMain
Triggered when the window will become main
events.Mac.WindowWillBeginSheet
Triggered when the window will begin a sheet
events.Mac.WindowWillChangeOrderingMode
Triggered when the window will change ordering mode
events.Mac.WindowWillClose
Triggered when the window will close
events.Mac.WindowWillDeminiaturize
Triggered when the window will deminiaturize
events.Mac.WindowWillEnterFullScreen
Triggered when the window will enter fullscreen
events.Mac.WindowWillEnterVersionBrowser
Triggered when the window will enter version browser
events.Mac.WindowWillExitFullScreen
Triggered when the window will exit fullscreen
events.Mac.WindowWillExitVersionBrowser
Triggered when the window will exit version browser
events.Mac.WindowWillFocus
Triggered when the window will focus
events.Mac.WindowWillMiniaturize
Triggered when the window will miniaturize
events.Mac.WindowWillMove
Triggered when the window will move
events.Mac.WindowWillOrderOffScreen
Triggered when the window will order off-screen
events.Mac.WindowWillOrderOnScreen
Triggered when the window will order on screen`
events.Mac.WindowWillResignMain
Triggered when the window will resign main
events.Mac.WindowWillResize
Triggered when the window will resize
events.Mac.WindowWillUnfocus
Triggered when the window will unfocus`
events.Mac.WindowWillUpdate
Triggered when the window will update
events.Mac.WindowWillUpdateAlpha
Triggered when the window will update alpha
events.Mac.WindowWillUpdateCollectionBehavior
Triggered when the window will update collection behavior
events.Mac.WindowWillUpdateCollectionProperties
Triggered when the window will update collection properties
events.Mac.WindowWillUpdateShadow
Triggered when the window will update shadow
events.Mac.WindowWillUpdateTitle
Triggered when the window will update title
events.Mac.WindowWillUpdateToolbar
Triggered when the window will update toolbar
events.Mac.WindowWillUpdateVisibility
Triggered when the window will update visibility
events.Mac.WindowWillUseStandardFrame
Triggered when the window will use standard frame
events.Mac.WebviewDidStartProvisionalNavigation
Triggered when the webview starts a provisional navigation
events.Mac.WebviewDidReceiveServerRedirectForProvisionalNavigation
Triggered when the webview receives a server redirect for a provisional navigation
events.Mac.WebviewDidFinishNavigation
Triggered when the webview finishes navigation
events.Mac.WebviewDidCommitNavigation
Triggered when the webview commits navigation
events.Mac.WindowFileDraggingEntered
Triggered when files are dragged into the window`
events.Mac.WindowFileDraggingPerformed
Triggered when files are dragged in the window
events.Mac.WindowFileDraggingExited
Triggered when files are dragged out of the window