struct Gtk::PrintOperation::BeginPrintSignal
- Gtk::PrintOperation::BeginPrintSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted after the user has finished changing print settings in the dialog, before the actual rendering starts.
A typical use for ::begin-print is to use the parameters from the
Gtk::PrintContext
and paginate the document accordingly,
and then set the number of pages with
Gtk::PrintOperation#n_pages=
.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/print_operation.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::PrintContext, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::PrintContext, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::PrintOperation, Gtk::PrintContext, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(context : Gtk::PrintContext) : Nil
-
#name : String
The signal name
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(Gtk::PrintContext, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::PrintContext, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::PrintOperation, Gtk::PrintContext, Nil), *, after : Bool = false) : GObject::SignalConnection
#