|  |  |  | libxfcegui4 Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <libxfcegui4/libxfcegui4.h> gchar * xfce_gdk_display_get_fullname (GdkDisplay *display); GdkScreen * xfce_gdk_display_locate_monitor_with_pointer (GdkDisplay *display,gint *monitor_return); gchar * xfce_gdk_screen_get_fullname (GdkScreen *screen); 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); 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); gboolean xfce_gdk_spawn_command_line_on_screen (GdkScreen *screen,const gchar *command_line,GError **error);
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.
| 
 | A valid Gdk display. | 
| Returns : | The full qualified name of display. | 
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.
| 
 | A Gdk display or NULLto choose the default display. | 
| 
 | Address to store the monitor number to or NULL. | 
| Returns : | The screen that contains the pointer. | 
Since 4.2
gchar *             xfce_gdk_screen_get_fullname        (GdkScreen *screen);
Like xfce_gdk_display_get_fullname(), but also includes the screen
number.
| 
 | A Gdk screen. | 
| Returns : | The full qualified name of screen. | 
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.
| 
 | a GdkScreen | 
| 
 | child's current working directory, or NULLto
inherit parent's | 
| 
 | child's argument vector | 
| 
 | child's environment, or NULLto inherit parent's | 
| 
 | flags from GSpawnFlags | 
| 
 | function to run in the child just before exec() | 
| 
 | user data for child_setup | 
| 
 | return location for child process ID, or NULL | 
| 
 | return location for error | 
| Returns : | TRUEon success,FALSEif error is set | 
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.
| 
 | a GdkScreen | 
| 
 | child's current working directory, or NULLto
inherit parent's | 
| 
 | child's argument vector | 
| 
 | child's environment, or NULLto inherit parent's | 
| 
 | flags from GSpawnFlags | 
| 
 | function to run in the child just before exec() | 
| 
 | user data for child_setup | 
| 
 | return location for child process ID, or NULL | 
| 
 | return location for file descriptor to write to
child's stdin, or NULL | 
| 
 | return location for file descriptor to read child's
stdout, or NULL | 
| 
 | return location for file descriptor to read child's
stderr, or NULL | 
| 
 | return location for error | 
| Returns : | TRUEon success,FALSEif an error was set | 
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.
| 
 | a GdkScreen | 
| 
 | a command line | 
| 
 | return location for errors | 
| Returns : | TRUEon success,FALSEif error is set. | 
Since 4.2