Sha256: a4fa1fe9df7f89268c8c6200d0a0ad5dcb31e3ba956ba22b6898de7207f0a0ec

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 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 
  # 
  # 
  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

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/doc/gen/prt/print_dialog.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/doc/gen/prt/print_dialog.rb
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt lib/wx/doc/gen/prt/print_dialog.rb