struct Gio::MountOperation::AskPasswordSignal

Overview

Emitted when a mount operation asks the user for a password.

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, String, String, Gio::AskPasswordFlags, Nil)) : GObject::SignalConnection #

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

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

def emit(message : String, default_user : String, default_domain : String, flags : Gio::AskPasswordFlags) : Nil #

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

The signal name