struct Gio::MountOperation::AskQuestionSignal

Overview

Emitted when asking the user a question and gives a list of choices for the user to choose from.

If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a #Gtk::MessageDialog.

Defined in:

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

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

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

def emit(message : String, choices : Enumerable(String)) : Nil #

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

The signal name