Function
MateDesktopgdk_spawn_command_line_on_screen
since: 1.7.1
Declaration [src]
gboolean
mate_gdk_spawn_command_line_on_screen (
GdkScreen* screen,
const gchar* command,
GError** error
)
Description [src]
This is a replacement for gdk_spawn_command_line_on_screen, deprecated in GDK 2.24 and removed in GDK 3.0.
gdk_spawn_command_line_on_screen is like g_spawn_command_line_async(),
except the child process is spawned in such an environment that on
calling gdk_display_open() it would be returned a GdkDisplay with
screen as the default screen.
This is useful for applications which wish to launch an application on a specific screen.
Available since: 1.7.1
Parameters
screen-
Type:
GdkScreenA GdkScreen.
The data is owned by the caller of the function. command-
Type:
const gchar*A command line.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the function if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.