TGPrintDialog Class Reference

#include <TGTextEditDialogs.h>

Inheritance diagram for TGPrintDialog:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TGPrintDialog (const TGWindow *p=0, const TGWindow *main=0, UInt_t w=1, UInt_t h=1, char **printerName=0, char **printProg=0, Int_t *ret_code=0, UInt_t options=kVerticalFrame)
virtual ~TGPrintDialog ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
 TGPrintDialog (const TGWindow *p=0, const TGWindow *main=0, UInt_t w=1, UInt_t h=1, char **printerName=0, char **printProg=0, Int_t *ret_code=0, UInt_t options=kVerticalFrame)
virtual ~TGPrintDialog ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)

Protected Attributes

char ** fPrinter
char ** fPrintCommand
TGCompositeFramefF1
TGCompositeFramefF2
TGCompositeFramefF3
TGCompositeFramefF4
TGCompositeFramefF5
TGLayoutHintsfL1
TGLayoutHintsfL2
TGLayoutHintsfL3
TGLayoutHintsfL5
TGLayoutHintsfL6
TGLayoutHintsfL7
TGLayoutHintsfL21
TGIconfPrinterIcon
TGButtonfPrintButton
TGButtonfCancelButton
TGTextEntryfPrinterEntry
TGTextEntryfPrintCommandEntry
TGTextBufferfBPrinter
TGTextBufferfBPrintCommand
TGLabelfLPrinter
TGLabelfLPrintCommand
Int_tfRetCode
char ** fPrinter
char ** fPrintCommand
TGCompositeFramefF1
TGLayoutHintsfL1
TGLayoutHintsfL7
TGIconfPrinterIcon
TGButtonfPrintButton
TGButtonfCancelButton
TGTextEntryfPrinterEntry
TGTextEntryfPrintCommandEntry
TGTextBufferfBPrinter
TGLabelfLPrinter
Int_tfRetCode

Detailed Description

Definition at line 91 of file TGTextEditDialogs.h.


Constructor & Destructor Documentation

TGPrintDialog::TGPrintDialog ( const TGWindow p = 0,
const TGWindow main = 0,
UInt_t  w = 1,
UInt_t  h = 1,
char **  printerName = 0,
char **  printProg = 0,
Int_t ret_code = 0,
UInt_t  options = kVerticalFrame 
)

Definition at line 303 of file TGTextEditDialogs.cxx.

References TGCompositeFrame::AddFrame(), TGTextBuffer::AddText(), TGWidget::Associate(), TGTransientFrame::CenterOnParent(), TGCompositeFrame::ChangeOptions(), TObject::Error(), fBPrintCommand, fBPrinter, fCancelButton, TGObject::fClient, TGWindow::fEditDisabled, fF1, fF2, fF3, fF4, fF5, fL1, fL2, fL21, fL3, fL5, fL6, fL7, fLPrintCommand, fLPrinter, fPrintButton, fPrintCommand, fPrintCommandEntry, fPrinter, fPrinterEntry, fPrinterIcon, fRetCode, TGCompositeFrame::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetDefaultWidth(), TGFrame::GetOptions(), TGClient::GetPicture(), TGWindow::kEditDisable, kFixedWidth, kHorizontalFrame, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsRight, kLHintsTop, kMWMDecorAll, kMWMDecorMaximize, kMWMDecorMenu, kMWMFuncAll, kMWMFuncMaximize, kMWMFuncResize, kMWMInputModeless, kVerticalFrame, main(), TObject::MakeZombie(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), p, TGWindow::RequestFocus(), TGFrame::Resize(), TGMainFrame::SetIconName(), TGMainFrame::SetMWMHints(), TGMainFrame::SetWindowName(), TGCompositeFrame::TGCompositeFrame(), and TGClient::WaitFor().

TGPrintDialog::~TGPrintDialog (  )  [virtual]

Definition at line 403 of file TGTextEditDialogs.cxx.

References fCancelButton, fF1, fF2, fF3, fF4, fF5, fL1, fL2, fL21, fL3, fL5, fL6, fL7, fLPrintCommand, fLPrinter, fPrintButton, fPrintCommandEntry, fPrinterEntry, fPrinterIcon, and TObject::IsZombie().

TGPrintDialog::TGPrintDialog ( const TGWindow p = 0,
const TGWindow main = 0,
UInt_t  w = 1,
UInt_t  h = 1,
char **  printerName = 0,
char **  printProg = 0,
Int_t ret_code = 0,
UInt_t  options = kVerticalFrame 
)

virtual TGPrintDialog::~TGPrintDialog (  )  [virtual]


Member Function Documentation

void TGPrintDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 420 of file TGTextEditDialogs.cxx.

References TGFrame::DeleteWindow().

Referenced by ProcessMessage().

Bool_t TGPrintDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 429 of file TGTextEditDialogs.cxx.

References CloseWindow(), fBPrintCommand, fBPrinter, TGObject::fClient, fPrintCommand, fPrinter, fRetCode, GET_MSG(), GET_SUBMSG(), TGWindow::GetMainFrame(), TGClient::GetRoot(), TGTextBuffer::GetString(), TGTextBuffer::GetTextLength(), kC_COMMAND, kCM_BUTTON, kFALSE, kMBIconExclamation, kMBOk, kTRUE, and strlcpy().

virtual void TGPrintDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

virtual Bool_t TGPrintDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.


Member Data Documentation

char** TGPrintDialog::fPrinter [protected]

Definition at line 94 of file TGTextEditDialogs.h.

Referenced by ProcessMessage(), and TGPrintDialog().

char** TGPrintDialog::fPrintCommand [protected]

Definition at line 95 of file TGTextEditDialogs.h.

Referenced by ProcessMessage(), and TGPrintDialog().

TGCompositeFrame* TGPrintDialog::fF1 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGCompositeFrame * TGPrintDialog::fF2 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGCompositeFrame * TGPrintDialog::fF3 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGCompositeFrame * TGPrintDialog::fF4 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGCompositeFrame * TGPrintDialog::fF5 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints* TGPrintDialog::fL1 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints * TGPrintDialog::fL2 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints * TGPrintDialog::fL3 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints * TGPrintDialog::fL5 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints * TGPrintDialog::fL6 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints* TGPrintDialog::fL7 [protected]

Definition at line 98 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLayoutHints * TGPrintDialog::fL21 [protected]

Definition at line 98 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGIcon* TGPrintDialog::fPrinterIcon [protected]

Definition at line 99 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGButton* TGPrintDialog::fPrintButton [protected]

Definition at line 100 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGButton* TGPrintDialog::fCancelButton [protected]

Definition at line 101 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGTextEntry* TGPrintDialog::fPrinterEntry [protected]

Definition at line 102 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGTextEntry* TGPrintDialog::fPrintCommandEntry [protected]

Definition at line 103 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGTextBuffer* TGPrintDialog::fBPrinter [protected]

Definition at line 104 of file TGTextEditDialogs.h.

Referenced by ProcessMessage(), and TGPrintDialog().

TGTextBuffer * TGPrintDialog::fBPrintCommand [protected]

Definition at line 104 of file TGTextEditDialogs.h.

Referenced by ProcessMessage(), and TGPrintDialog().

TGLabel* TGPrintDialog::fLPrinter [protected]

Definition at line 105 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

TGLabel * TGPrintDialog::fLPrintCommand [protected]

Definition at line 105 of file TGTextEditDialogs.h.

Referenced by TGPrintDialog(), and ~TGPrintDialog().

Int_t* TGPrintDialog::fRetCode [protected]

Definition at line 106 of file TGTextEditDialogs.h.

Referenced by ProcessMessage(), and TGPrintDialog().

char** TGPrintDialog::fPrinter [protected]

Definition at line 94 of file TGTextEditDialogs.h.

char** TGPrintDialog::fPrintCommand [protected]

Definition at line 95 of file TGTextEditDialogs.h.

TGCompositeFrame* TGPrintDialog::fF1 [protected]

Definition at line 96 of file TGTextEditDialogs.h.

TGLayoutHints* TGPrintDialog::fL1 [protected]

Definition at line 97 of file TGTextEditDialogs.h.

TGLayoutHints* TGPrintDialog::fL7 [protected]

Definition at line 98 of file TGTextEditDialogs.h.

TGIcon* TGPrintDialog::fPrinterIcon [protected]

Definition at line 99 of file TGTextEditDialogs.h.

TGButton* TGPrintDialog::fPrintButton [protected]

Definition at line 100 of file TGTextEditDialogs.h.

TGButton* TGPrintDialog::fCancelButton [protected]

Definition at line 101 of file TGTextEditDialogs.h.

TGTextEntry* TGPrintDialog::fPrinterEntry [protected]

Definition at line 102 of file TGTextEditDialogs.h.

TGTextEntry* TGPrintDialog::fPrintCommandEntry [protected]

Definition at line 103 of file TGTextEditDialogs.h.

TGTextBuffer* TGPrintDialog::fBPrinter [protected]

Definition at line 104 of file TGTextEditDialogs.h.

TGLabel* TGPrintDialog::fLPrinter [protected]

Definition at line 105 of file TGTextEditDialogs.h.

Int_t* TGPrintDialog::fRetCode [protected]

Definition at line 106 of file TGTextEditDialogs.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1