TGPrintDialog


class description - source file - inheritance tree

class TGPrintDialog : public TGTransientFrame


    public:
TGPrintDialog TGPrintDialog(const TGWindow* p, const TGWindow* main, UInt_t w, UInt_t h, char** printerName, char** printProg, Int_t* ret_code, UInt_t options = kVerticalFrame) TGPrintDialog TGPrintDialog(const TGPrintDialog&) virtual void ~TGPrintDialog() static TClass* Class() virtual void CloseWindow() virtual TClass* IsA() const virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
char** fPrinter printer to be used char** fPrintCommand printer command to be used TGCompositeFrame* fF1 TGCompositeFrame* fF2 TGCompositeFrame* fF3 TGCompositeFrame* fF4 TGCompositeFrame* fF5 sub frames TGLayoutHints* fL1 TGLayoutHints* fL2 TGLayoutHints* fL3 TGLayoutHints* fL5 TGLayoutHints* fL6 layout hints TGLayoutHints* fL7 TGLayoutHints* fL21 layout hints TGIcon* fPrinterIcon printer icon TGButton* fPrintButton print button TGButton* fCancelButton cancel button TGTextEntry* fPrinterEntry printer text entry widget TGTextEntry* fPrintCommandEntry command text entry widget TGTextBuffer* fBPrinter TGTextBuffer* fBPrintCommand printer and command text buffers TGLabel* fLPrinter TGLabel* fLPrintCommand printer and command labels Int_t* fRetCode return code

Class Description

                                                                      
 TGTextEditDialogs                                                    
                                                                      
 This file defines several dialogs that are used by the TGTextEdit    
 widget via its associated context popup menu.                        
 The following dialogs are available: TGSearchDialog, TGGotoDialog    
 and TGPrintDialog.                                                   
                                                                      


TGPrintDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, char **printerName, char **printProg, Int_t *ret_code, UInt_t options) : TGTransientFrame(p, main, w, h, options)
 Create the printer dialog box. Returns kTRUE in ret_code when
 printerName and printProg have been set and cancel was not pressed,
 kFALSE otherwise.

~TGPrintDialog()
 Clean up print dialog.

void CloseWindow()
 Close the dialog. On close the dialog will be deleted and cannot be
 re-used.

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
 Process print dialog widget messages.



Inline Functions


              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        TGPrintDialog TGPrintDialog(const TGPrintDialog&)


Author: Fons Rademakers 10/7/2000
Last update: root/gui:$Name: $:$Id: TGTextEditDialogs.cxx,v 1.5 2002/09/18 12:22:14 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.