struct Gtk::PrintOperation::DoneSignal

Overview

Emitted when the print operation run has finished doing everything required for printing. result gives you information about what happened during the run. If result is %GTK_PRINT_OPERATION_RESULT_ERROR then you can call Gtk::PrintOperation#error for more information.

If you enabled print status tracking then Gtk::PrintOperation#is_finished? may still return false after the ::done signal was emitted.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/print_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 : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gtk::PrintOperationResult, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::PrintOperationResult, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::PrintOperation, Gtk::PrintOperationResult, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(result : Gtk::PrintOperationResult) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]