Package ch.bailu.gtk.gtk
Interface PrintOperation.OnDone
- Enclosing class:
- PrintOperation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDone
(int result) Emitted when the print operation run has finished doing
everything required for printing.
-
Method Details
-
onDone
void onDone(int result) 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
[method@Gtk.PrintOperation.get_error] for more information.
If you enabled print status tracking then
[method@Gtk.PrintOperation.is_finished] may still return %FALSE
after the ::done signal was emitted.- Parameters:
result
- the result of the print operation
-