Sha256: 8cf92ac800c6cba869bf63b964834f182c0a10f778d6b3c2bc9962416457d875
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 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 print and print setup common dialogs. # You may obtain a {Wx::PRT::PrinterDC} device context from a successfully dismissed print dialog. # # Category: Printing Framework # @see Printing Framework Overview # @see wxPrintDialog Overview # # # @wxrb_require USE_PRINTING_ARCHITECTURE class PrintDialog < Object # @overload initialize(parent, data=nil) # Constructor. # Pass a parent window, and optionally a pointer to a block of print data, which will be copied to the print dialog's print data. # @see Wx::PRT::PrintDialogData # @param parent [Wx::Window] # @param data [Wx::PRT::PrintDialogData] # @return [Wx::PRT::PrintDialog] # @overload initialize(parent, data) # @param parent [Wx::Window] # @param data [Wx::PRT::PrintData] # @return [Wx::PRT::PrintDialog] def initialize(*args) end # Returns the device context created by the print dialog, if any. # When this function has been called, the ownership of the device context is transferred to the application, so it must then be deleted explicitly. # @return [Wx::DC] def get_print_dc; end alias_method :print_dc, :get_print_dc # Shows the dialog, returning {Wx::StandardID::ID_OK} if the user pressed OK, and {Wx::StandardID::ID_CANCEL} otherwise. # After this function is called, a device context may be retrievable using {Wx::PRT::PrintDialog#get_print_dc}. # @return [Integer] def show_modal; end end # PrintDialog end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-0.9.2-x64-mingw-ucrt | lib/wx/doc/gen/prt/print_dialog.rb |