[ CCode ( cprefix = "G_APPLICATION_" , type_id = "g_application_flags_get_type ()" ) ]
[ Flags ]
[ Version ( since = "2.28" ) ]
public enum ApplicationFlags
- ALLOW_REPLACEMENT -
Allow another instance to take over the bus name.
- CAN_OVERRIDE_APP_ID -
Allow users to override the application ID from the command line with `--gapplication-app-id`.
- FLAGS_NONE - Default
- HANDLES_COMMAND_LINE -
This application handles command line arguments (in the primary instance).
- HANDLES_OPEN - This
application handles opening files (in the primary instance).
- IS_LAUNCHER - Don't try to
become the primary instance.
- IS_SERVICE - Run as a service.
- NON_UNIQUE - Make no attempts
to do any of the typical single-instance application negotiation, even if the application ID is given.
- REPLACE - Take over from another
- SEND_ENVIRONMENT - Send
the environment of the launching process to the primary instance.