Creates a new SM client instance, allowing the application fine-grained control over the initial properties set.
Note that this function does not actually connect to the session manager, so other actions can be taken (such as setting custom properties or connecting signals) before calling connect.
If you have already created an SessionClient instance using any of the "new" functions, this will return a new reference to the same instance, ignoring any arguments passed.
It is recommended to use new_with_argv, or, if you are using Gtk or Glib's command-line option parser, get_option_group and @new instead.
| restart_style |
An XfceSessionClientRestartStyle |
| priority |
A restart priority |
| resumed_client_id |
The client id used in the previous session |
| current_directory |
The application's working directory |
| restart_command |
A command that can resume the application's saved state |
| desktop_file |
The application's .desktop file |
|
A new SessionClient instance, or the singleton with its reference count incremented. |