get-page-setup-from-user in Dialogs
(get-page-setup-from-user->messageparentinit-setupstyle)ps-setup%object or#f
message=#f: string or#f
parent=#f:frame%ordialog%object or#f
init-setup=#f:ps-setup%object or#f
style=null: an empty list of symbolsLike
get-ps-setup-from-user, but the dialog configures page layout for native printing withprinter-dc%. A dialog is shown only ifcan-get-page-setup-from-user?returns#t, otherwise no dialog is shown and the result is#f.The
parentargument is used as the parent window for a dialog if it is specified. Themessagestring might be displayed as a prompt in the dialog. Ifinit-setupis provided, the dialog is initialized to the given configuration, otherwise the current configuration fromcurrent-ps-setupis used.The
styleargument is provided for future extensions. Currently,stylemust be the empty list.The result is
#fif the user cancels the dialog, aps-setup%object that encapsulates the selected configuration otherwise.