connectUpdateCustomWidget
fun connectUpdateCustomWidget(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (widget: Widget, setup: PageSetup, settings: PrintSettings) -> Unit): <Error class: unknown class>
Emitted after change of selected printer.
The actual page setup and print settings are passed to the custom widget, which can actualize itself according to this change.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: widget
the custom widget added in ::create-custom-widget; setup
actual page setup; settings
actual print settings