SMClient.get_full
Description:
[
CCode ( cname =
"xfce_sm_client_get_full" , has_construct_function =
false ) ]
public SMClient.get_full (
SMClientRestartStyle restart_style,
uint8 priority,
string resumed_client_id,
string current_directory,
string restart_command,
string desktop_file)
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.
It is recommended to use SMClient.get_with_argv, or, if
you are using Gtk or Glib's command-line option parser,
get_option_group and SMClient.get instead.
Parameters:
| restart_style |
An XfceSMClientRestartStyle
|
| 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
|
Returns: