Package ch.bailu.gtk.gtk
Schnittstelle PrintOperation.OnBeginPrint
- Umschließende Klasse:
PrintOperation
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onBeginPrint
(PrintContext context) Emitted after the user has finished changing print settings
in the dialog, before the actual rendering starts.
-
Methodendetails
-
onBeginPrint
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
[class@Gtk.PrintContext] and paginate the document accordingly,
and then set the number of pages with
[method@Gtk.PrintOperation.set_n_pages].- Parameter:
context
- the `GtkPrintContext` for the current operation
-