struct Gio::AppLaunchContext::LaunchStartedSignal
- Gio::AppLaunchContext::LaunchStartedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The #GAppLaunchContext::launch-started signal is emitted when a #GAppInfo is
about to be launched. If non-null 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 startup-notification-id
keys will be
present.
The value of the startup-notification-id
key (type s
) is a startup
notification ID corresponding to the format from the startup-notification
specification.
It allows tracking the progress of the launchee through startup.
It is guaranteed that this signal is followed by either a #GAppLaunchContext::launched or #GAppLaunchContext::launch-failed signal.
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, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gio::AppInfo, GLib::Variant | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::AppLaunchContext, Gio::AppInfo, GLib::Variant | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(info : Gio::AppInfo, platform_data : _ | Nil) : 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, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::AppInfo, GLib::Variant | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::AppLaunchContext, Gio::AppInfo, GLib::Variant | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
#