struct Gio::AppLaunchContext::LaunchFailedSignal

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.cr

Instance Method Summary

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(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gio::AppLaunchContext, String, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(startup_notify_id : String) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name