spawn_on_screen


Description:


[ Version ( deprecated = true , deprecated_since = "4.16" ) ]
public bool spawn_on_screen (Screen? screen, string? working_directory, string argv, string? envp, SpawnFlags flags, bool startup_notify, uint32 startup_timestamp, string? startup_icon_name) throws Error

Warning: spawn_on_screen is deprecated since 4.16.

Like gdk_spawn_on_screen (GDK 2), but also supports startup notification (if Libxfce4ui was built with startup notification support).

Note:

Use spawn instead.

Parameters:

screen

a Screen or null to use the active screen, see gdk_screen_get_active.

working_directory

child's current working directory or null to inherit parent's.

argv

child's argument vector.

envp

child's environment vector or null to inherit parent's.

flags

flags from SpawnFlags. DO_NOT_REAP_CHILD is not allowed, use spawn_on_screen_with_child_watch if you want a child watch.

startup_notify

whether to use startup notification.

startup_timestamp

the timestamp to pass to startup notification, use the event time here if possible to make focus stealing prevention work property. If you don't have direct access to the event time you could use get_current_event_time or if nothing is available 0 is valid too.

startup_icon_name

application icon or null.

Returns:

true on success, false if throws is set.


Namespace: Xfce
Package: libxfce4ui-2