Sha256: 6c5f19406bc9048d262265f7213e4369b4ffe36fc728965f787923ea306794ed
Contents?: true
Size: 1.55 KB
Versions: 10
Compression:
Stored size: 1.55 KB
Contents
# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::PRT # This class represents the page setup common dialog. # The page setup dialog contains controls for paper size (letter, A4, A5 etc.), orientation (landscape or portrait), and, only under Windows currently, controls for setting left, top, right and bottom margin sizes in millimetres. # The exact appearance of this dialog varies among the platforms as a native dialog is used when available (currently the case for all major platforms). # When the dialog has been closed, you need to query the {Wx::PRT::PageSetupDialogData} object associated with the dialog. # Note that the OK and Cancel buttons do not destroy the dialog; this must be done by the application. # === # # Category: Printing Framework # @see Printing Framework Overview # @see Wx::PRT::PrintDialog # @see Wx::PRT::PageSetupDialogData # # class PageSetupDialog < Object # Constructor. # Pass a parent window, and optionally a pointer to a block of page setup data, which will be copied to the print dialog's internal data. # @param parent [Wx::Window] # @param data [Wx::PageSetupDialogData] # @return [PageSetupDialog] def initialize(parent, data=nil) end # Shows the dialog, returning {Wx::StandardID::ID_OK} if the user pressed OK, and {Wx::StandardID::ID_CANCEL} otherwise. # @return [Integer] def show_modal; end end # PageSetupDialog end
Version data entries
10 entries across 10 versions & 1 rubygems