#include <TRootDialog.h>
Inheritance diagram for TRootDialog:
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 | |
TRootContextMenu * | fMenu |
TGLayoutHints * | fL1 |
TGLayoutHints * | fL2 |
TList * | fWidgets |
Bool_t | fOk |
Bool_t | fCancel |
Bool_t | fApply |
Bool_t | fHelp |
TRootContextMenu * | fMenu |
TGLayoutHints * | fL1 |
TGLayoutHints * | fL2 |
TList * | fWidgets |
Definition at line 33 of file TRootDialog.h.
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] |
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] |
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().
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] |
Reimplemented from TGMainFrame.
void TRootDialog::TabPressed | ( | ) |
TRootContextMenu* TRootDialog::fMenu [private] |
Definition at line 36 of file TRootDialog.h.
Referenced by Add(), CloseWindow(), GetParameters(), and Popup().
TGLayoutHints* TRootDialog::fL1 [private] |
TGLayoutHints* TRootDialog::fL2 [private] |
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] |
Bool_t TRootDialog::fCancel [private] |
Bool_t TRootDialog::fApply [private] |
Bool_t TRootDialog::fHelp [private] |
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.