struct Gio::AppLaunchContext::LaunchFailedSignal
- Gio::AppLaunchContext::LaunchFailedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The #GAppLaunchContext::launch-failed signal is emitted when a #GAppInfo launch fails. The startup notification id is provided, so that the launcher can cancel the startup notification.
Because a launch operation may involve spawning multiple instances of the target application, you should expect this signal to be emitted multiple times, one for each spawned instance.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/app_launch_context.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::AppLaunchContext, String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(startup_notify_id : String) : 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 : String? = nil)
new
Instance Method Detail
def connect(handler : Proc(Gio::AppLaunchContext, String, Nil), *, after : Bool = false) : GObject::SignalConnection
#