struct Gio::Application::OpenSignal

Overview

The ::open signal is emitted on the primary instance when there are files to open. See g_application_open() for more information.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/application.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(Enumerable(Gio::File), String, Nil)) : GObject::SignalConnection #

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

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

def emit(files : Enumerable(Gio::File), hint : String) : Nil #

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

The signal name