Skip to content

AActivation#

Describes an attempt to launch (activate) an application.

Header:#include <AUI/Platform/ASingleInstance.h>
CMake:aui_link(my_target PUBLIC aui::core)

Detailed Description#

Delivered to the primary instance when another instance of the application is launched.

Public fields and Signals#


activationToken#

AString activationToken

Platform-specific token allowing the primary instance to steal focus.

On Linux, XDG_ACTIVATION_TOKEN (Wayland) or DESKTOP_STARTUP_ID (X11) of the launched instance. Empty on other platforms.


args#

AStringVector args

Command line arguments of the launched instance (including argv[0]).


workingDir#

APath workingDir

Working directory of the launched instance.