Top | ![]() |
![]() |
![]() |
![]() |
gchar *
xfce_gdk_display_get_fullname (GdkDisplay *display
);
Determines the full qualified name of display
. The full name includes
both the hostname of the Xserver node and the display number
of the Xserver.
Since 4.2
GdkScreen * xfce_gdk_display_locate_monitor_with_pointer (GdkDisplay *display
,gint *monitor_return
);
Locates the monitor and the screen which contains the pointer. If
it is not possible to determine the current pointer position, NULL
is returned.
Since 4.2
gchar *
xfce_gdk_screen_get_fullname (GdkScreen *screen
);
Like xfce_gdk_display_get_fullname()
, but also includes the screen
number.
Since 4.2
gboolean xfce_gdk_spawn_on_screen (GdkScreen *screen
,const gchar *working_directory
,gchar **argv
,gchar **envp
,GSpawnFlags flags
,GSpawnChildSetupFunc child_setup
,gpointer user_data
,gint *child_pid
,GError **error
);
Like g_spawn_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.
screen |
||
working_directory |
child's current working directory, or |
|
argv |
child's argument vector |
|
envp |
child's environment, or |
|
flags |
flags from GSpawnFlags |
|
child_setup |
function to run in the child just before |
|
user_data |
user data for |
|
child_pid |
return location for child process ID, or |
|
error |
return location for error |
Since 4.2
gboolean xfce_gdk_spawn_on_screen_with_pipes (GdkScreen *screen
,const gchar *working_directory
,gchar **argv
,gchar **envp
,GSpawnFlags flags
,GSpawnChildSetupFunc child_setup
,gpointer user_data
,gint *child_pid
,gint *standard_input
,gint *standard_output
,gint *standard_error
,GError **error
);
Like g_spawn_async_with_pipes()
, 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.
screen |
||
working_directory |
child's current working directory, or |
|
argv |
child's argument vector |
|
envp |
child's environment, or |
|
flags |
flags from GSpawnFlags |
|
child_setup |
function to run in the child just before |
|
user_data |
user data for |
|
child_pid |
return location for child process ID, or |
|
standard_input |
return location for file descriptor to write to
child's stdin, or |
|
standard_output |
return location for file descriptor to read child's
stdout, or |
|
standard_error |
return location for file descriptor to read child's
stderr, or |
|
error |
return location for error |
Since 4.2
gboolean xfce_gdk_spawn_command_line_on_screen (GdkScreen *screen
,const gchar *command_line
,GError **error
);
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.
Since 4.2