struct Gio::AppLaunchContext::LaunchedSignal
- Gio::AppLaunchContext::LaunchedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The #GAppLaunchContext::launched signal is emitted when a #GAppInfo is successfully
launched. The platform_data is an GVariant dictionary mapping
strings to variants (ie a{sv}
), which contains additional,
platform-specific data about this launch. On UNIX, at least the
pid
and startup-notification-id
keys will be present.
Since 2.72 the pid
may be 0 if the process id wasn't known (for
example if the process was launched via D-Bus). The pid
may not be
set at all in subsequent releases.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/app_launch_context.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gio::AppInfo, GLib::Variant, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gio::AppInfo, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::AppLaunchContext, Gio::AppInfo, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(info : Gio::AppInfo, platform_data : _) : Nil
-
#name : String
The signal name
Instance methods inherited from struct GObject::Signal
[](detail : String) : self
[],
name : String
name
Constructor methods inherited from struct GObject::Signal
new(source : GObject::Object, detail : Nil | String = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gio::AppInfo, GLib::Variant, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::AppInfo, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::AppLaunchContext, Gio::AppInfo, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection
#