Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Available ¶
func Available() bool
Available reports whether virtual desktop switching is supported. Always returns false on non-Windows platforms.
func Current ¶
Current returns the current virtual desktop number (1-indexed). Not supported on non-Windows platforms.
func IsProtocolRegistered ¶
func IsProtocolRegistered() bool
IsProtocolRegistered checks whether the notify:// protocol handler is registered. Always returns false on non-Windows platforms.
func RegisterProtocol ¶
RegisterProtocol registers the notify:// URI protocol handler. Not supported on non-Windows platforms.
func SwitchTo ¶
SwitchTo switches to the given virtual desktop (1-indexed). Not supported on non-Windows platforms.
func UnregisterProtocol ¶
func UnregisterProtocol() error
UnregisterProtocol removes the notify:// URI protocol handler. Not supported on non-Windows platforms.
Types ¶
This section is empty.