MonobjcMonobjc Documented Class Library
NSWorkspaceScreensDidSleepNotification Field
NamespacesMonobjc.AppKitNSWorkspaceNSWorkspaceScreensDidSleepNotification

Posted when the machine’s screen goes to sleep.

The notification object is the shared NSWorkspace instance. The notification does not contain a userInfo dictionary.

Few applications are likely to be interested in this notification, but they may be useful for certain hardware-based drawing decisions, for example when using OpenGL.

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSWorkspaceScreensDidSleepNotification
Public Shared ReadOnly NSWorkspaceScreensDidSleepNotification As NSString
public:
static initonly NSString^ NSWorkspaceScreensDidSleepNotification
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)