信号
GioAppLaunchContext::launch-started
自从:2.72
声明
void
launch_started (
GAppLaunchContext* self,
GAppInfo* info,
GVariant* platform_data,
gpointer user_data
)
描述 [src]
GAppLaunchContext::launch-started 信号会在一个 GAppInfo 即将启动时发出。如果非空,则 platform_data 是一个将字符串映射到变体的GVariant字典(即 a{sv}),它包含有关此启动的额外、特定平台的数据。在 UNIX 上,至少将存在 startup-notification-id 键。
startup-notification-id 键值(类型 s)是一个对应于从 start-up notification规范 的启动通知 ID。它允许通过启动跟踪启动进程。
保证此信号之后会跟随一个 GAppLaunchContext::launched 或 GAppLaunchContext::launch-failed 信号。
由于启动操作可能涉及生成目标应用程序的多个实例,因此您应该预计此信号将被多次发出,一次对应于每个生成的实例。
| 默认处理程序 默认处理程序在通过 |
| 上市以来:2.72 |