TRootDialog Class Reference

#include <TRootDialog.h>

Inheritance diagram for TRootDialog:

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

Public Member Functions

 TRootDialog (TRootContextMenu *cmenu=0, const TGWindow *main=0, const char *title="ROOT Dialog", Bool_t okB=kTRUE, Bool_t cancelB=kTRUE, Bool_t applyB=kFALSE, Bool_t helpB=kTRUE)
virtual ~TRootDialog ()
virtual void Add (const char *argname, const char *value, const char *type)
virtual const char * GetParameters ()
virtual void CloseWindow ()
virtual void Popup ()
virtual Bool_t HandleKey (Event_t *event)
void TabPressed ()
 TRootDialog (TRootContextMenu *cmenu=0, const TGWindow *main=0, const char *title="ROOT Dialog", Bool_t okB=kTRUE, Bool_t cancelB=kTRUE, Bool_t applyB=kFALSE, Bool_t helpB=kTRUE)
virtual ~TRootDialog ()
virtual void Add (const char *argname, const char *value, const char *type)
virtual const char * GetParameters ()
virtual void CloseWindow ()
virtual void Popup ()
virtual Bool_t HandleKey (Event_t *event)
void TabPressed ()

Private Attributes

TRootContextMenufMenu
TGLayoutHintsfL1
TGLayoutHintsfL2
TListfWidgets
Bool_t fOk
Bool_t fCancel
Bool_t fApply
Bool_t fHelp
TRootContextMenufMenu
TGLayoutHintsfL1
TGLayoutHintsfL2
TListfWidgets

Detailed Description

Definition at line 33 of file TRootDialog.h.


Constructor & Destructor Documentation

TRootDialog::TRootDialog ( TRootContextMenu cmenu = 0,
const TGWindow main = 0,
const char *  title = "ROOT Dialog",
Bool_t  okB = kTRUE,
Bool_t  cancelB = kTRUE,
Bool_t  applyB = kFALSE,
Bool_t  helpB = kTRUE 
)

TRootDialog::~TRootDialog (  )  [virtual]

Definition at line 64 of file TRootDialog.cxx.

References TList::Delete(), fL1, fL2, and fWidgets.

TRootDialog::TRootDialog ( TRootContextMenu cmenu = 0,
const TGWindow main = 0,
const char *  title = "ROOT Dialog",
Bool_t  okB = kTRUE,
Bool_t  cancelB = kTRUE,
Bool_t  applyB = kFALSE,
Bool_t  helpB = kTRUE 
)

virtual TRootDialog::~TRootDialog (  )  [virtual]


Member Function Documentation

void TRootDialog::Add ( const char *  argname,
const char *  value,
const char *  type 
) [virtual]

Definition at line 75 of file TRootDialog.cxx.

References TList::Add(), TGCompositeFrame::AddFrame(), b, fL1, fL2, fMenu, fWidgets, l, and t.

Referenced by TRootContextMenu::Dialog().

const char * TRootDialog::GetParameters (  )  [virtual]

Definition at line 96 of file TRootDialog.cxx.

References xmlio::Class, data, fMenu, TString::Format(), fWidgets, TContextMenuImp::GetContextMenu(), TContextMenu::GetSelectedMenuItem(), TContextMenu::GetSelectedObject(), TClassMenuItem::GetSelfObjectPos(), params, str, and type.

Referenced by TRootContextMenu::ProcessMessage().

void TRootDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 248 of file TRootDialog.cxx.

References fMenu, kC_COMMAND, kCM_BUTTON, MK_MSG(), and TGFrame::SendMessage().

void TRootDialog::Popup (  )  [virtual]

Definition at line 164 of file TRootDialog.cxx.

References TList::Add(), TGCompositeFrame::AddFrame(), b, TGTransientFrame::CenterOnParent(), fApply, fCancel, TGObject::fClient, fHelp, fMenu, fOk, fWidgets, TGCompositeFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultWidth(), height, kFixedWidth, kLHintsBottom, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kMWMDecorAll, kMWMDecorMaximize, kMWMDecorMenu, kMWMDecorMinimize, kMWMDecorResizeH, kMWMFuncAll, kMWMFuncMaximize, kMWMFuncMinimize, kMWMFuncResize, kMWMInputModeless, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TMath::Max(), TGFrame::Resize(), TGMainFrame::SetMWMHints(), TGMainFrame::SetWMSize(), TGMainFrame::SetWMSizeHints(), TGClient::WaitFor(), and width.

Referenced by TRootContextMenu::Dialog().

Bool_t TRootDialog::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 290 of file TRootDialog.cxx.

References xmlio::Class, entry, fWidgets, gVirtualX, TGMainFrame::HandleKey(), kKey_Tab, kTRUE, and n.

void TRootDialog::TabPressed (  ) 

Definition at line 257 of file TRootDialog.cxx.

References xmlio::Class, entry, fWidgets, gBlinkingEntry, kFALSE, kTRUE, and TIter::Reset().

virtual void TRootDialog::Add ( const char *  argname,
const char *  value,
const char *  type 
) [virtual]

virtual const char* TRootDialog::GetParameters (  )  [virtual]

virtual void TRootDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

virtual void TRootDialog::Popup (  )  [virtual]

virtual Bool_t TRootDialog::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGMainFrame.

void TRootDialog::TabPressed (  ) 


Member Data Documentation

TRootContextMenu* TRootDialog::fMenu [private]

Definition at line 36 of file TRootDialog.h.

Referenced by Add(), CloseWindow(), GetParameters(), and Popup().

TGLayoutHints* TRootDialog::fL1 [private]

Definition at line 37 of file TRootDialog.h.

Referenced by Add(), and ~TRootDialog().

TGLayoutHints* TRootDialog::fL2 [private]

Definition at line 38 of file TRootDialog.h.

Referenced by Add(), and ~TRootDialog().

TList* TRootDialog::fWidgets [private]

Definition at line 39 of file TRootDialog.h.

Referenced by Add(), GetParameters(), HandleKey(), Popup(), TabPressed(), and ~TRootDialog().

Bool_t TRootDialog::fOk [private]

Definition at line 40 of file TRootDialog.h.

Referenced by Popup().

Bool_t TRootDialog::fCancel [private]

Definition at line 41 of file TRootDialog.h.

Referenced by Popup().

Bool_t TRootDialog::fApply [private]

Definition at line 42 of file TRootDialog.h.

Referenced by Popup().

Bool_t TRootDialog::fHelp [private]

Definition at line 43 of file TRootDialog.h.

Referenced by Popup().

TRootContextMenu* TRootDialog::fMenu [private]

Definition at line 36 of file TRootDialog.h.

TGLayoutHints* TRootDialog::fL1 [private]

Definition at line 37 of file TRootDialog.h.

TGLayoutHints* TRootDialog::fL2 [private]

Definition at line 38 of file TRootDialog.h.

TList* TRootDialog::fWidgets [private]

Definition at line 39 of file TRootDialog.h.


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