TGWidget Class Reference

#include <TGWidget.h>

Inheritance diagram for TGWidget:

TEveGTriVecValuator TEveGTriVecValuator TEveGValuatorBase TEveGValuatorBase TGButton TGButton TGColorPalette TGColorPalette TGColorPick TGColorPick TGComboBox TGComboBox TGDockableFrame TGDockableFrame TGDoubleSlider TGDoubleSlider TGeoPconSection TGeoPconSection TGListBox TGListBox TGMdiWinResizer TGMdiWinResizer TGNumberEntry TGNumberEntry TGScrollBar TGScrollBar TGShutterItem TGShutterItem TGSlider TGSlider TGSpeedo TGSpeedo TGTab TGTab TGTable TGTable TGTextEntry TGTextEntry TGView TGView List of all members.

Public Member Functions

 TGWidget ()
 TGWidget (Int_t id)
virtual ~TGWidget ()
Int_t WidgetId () const
Bool_t IsEnabled () const
Bool_t HasFocus () const
Bool_t WantFocus () const
virtual void Associate (const TGWindow *w)
virtual void SetCommand (const char *command)
const char * GetCommand () const
 TGWidget ()
 TGWidget (Int_t id)
virtual ~TGWidget ()
Int_t WidgetId () const
Bool_t IsEnabled () const
Bool_t HasFocus () const
Bool_t WantFocus () const
virtual void Associate (const TGWindow *w)
virtual void SetCommand (const char *command)
const char * GetCommand () const

Protected Member Functions

 TGWidget (const TGWidget &tgw)
TGWidgetoperator= (const TGWidget &tgw)
Int_t SetFlags (Int_t flags)
Int_t ClearFlags (Int_t flags)
 TGWidget (const TGWidget &tgw)
TGWidgetoperator= (const TGWidget &tgw)
Int_t SetFlags (Int_t flags)
Int_t ClearFlags (Int_t flags)

Protected Attributes

Int_t fWidgetId
Int_t fWidgetFlags
const TGWindowfMsgWindow
TString fCommand
const TGWindowfMsgWindow

Detailed Description

Definition at line 61 of file TGWidget.h.


Constructor & Destructor Documentation

TGWidget::TGWidget ( const TGWidget tgw  )  [inline, protected]

Definition at line 69 of file TGWidget.h.

TGWidget::TGWidget (  )  [inline]

Definition at line 80 of file TGWidget.h.

TGWidget::TGWidget ( Int_t  id  )  [inline]

Definition at line 82 of file TGWidget.h.

virtual TGWidget::~TGWidget (  )  [inline, virtual]

Definition at line 84 of file TGWidget.h.

TGWidget::TGWidget ( const TGWidget tgw  )  [inline, protected]

Definition at line 69 of file TGWidget.h.

TGWidget::TGWidget (  )  [inline]

Definition at line 80 of file TGWidget.h.

TGWidget::TGWidget ( Int_t  id  )  [inline]

Definition at line 82 of file TGWidget.h.

virtual TGWidget::~TGWidget (  )  [inline, virtual]

Definition at line 84 of file TGWidget.h.


Member Function Documentation

TGWidget& TGWidget::operator= ( const TGWidget tgw  )  [inline, protected]

Definition at line 72 of file TGWidget.h.

References fCommand, fMsgWindow, fWidgetFlags, and fWidgetId.

Int_t TGWidget::SetFlags ( Int_t  flags  )  [inline, protected]

Definition at line 76 of file TGWidget.h.

References fWidgetFlags.

Referenced by TGColorSelect::Enable(), TGedSelect::Enable(), TGComboBox::SetEnabled(), TGTextEntry::SetState(), and TGSlider::SetState().

Int_t TGWidget::ClearFlags ( Int_t  flags  )  [inline, protected]

Definition at line 77 of file TGWidget.h.

References fWidgetFlags.

Referenced by TGedSelect::Disable(), TGColorSelect::Disable(), TGColorSelect::Enable(), TGComboBox::SetEnabled(), TGTextEntry::SetState(), and TGSlider::SetState().

Int_t TGWidget::WidgetId (  )  const [inline]

Definition at line 86 of file TGWidget.h.

References fWidgetId.

Referenced by TGToolBar::AddButton(), TEveParamListEditor::DoBoolUpdate(), Spy::DoButton(), Viewer::DoButton(), TGLPShapeObjEditor::DoColorButton(), TFunctionParametersDialog::DoFix(), TEveParamListEditor::DoFloatUpdate(), TEveParamListEditor::DoIntUpdate(), TFitEditor::DoLibrary(), TFitParametersDialog::DoParBound(), TFitParametersDialog::DoParFix(), TFitParametersDialog::DoParMaxLimit(), TFunctionParametersDialog::DoParMaxLimit(), TFitParametersDialog::DoParMinLimit(), TFunctionParametersDialog::DoParMinLimit(), TFitParametersDialog::DoParValue(), TFunctionParametersDialog::DoParValue(), TEveCaloVizEditor::DoPlot(), TFitEditor::DoPrintOpt(), TestMsgBox::DoRadio(), TEveCaloVizEditor::DoSliceColor(), TEveCaloVizEditor::DoSliceThreshold(), TEveCaloVizEditor::DoSliceTransparency(), TFunctionParametersDialog::DoSlider(), TFitParametersDialog::DoSlider(), TestSliders::DoSlider(), TestSliders::DoText(), TTripleSliderDemo::DoText(), TestDialog::HandleButtons(), TestShutter::HandleButtons(), TTripleSliderDemo::HandleButtons(), MyMainFrame::HandleButtons(), TGTable::Init(), TGShutter::ProcessMessage(), TGColorSelect::SavePrimitive(), TGedPatternSelect::SavePrimitive(), TGVSlider::SavePrimitive(), TGNumberEntry::SavePrimitive(), TGNumberEntryField::SavePrimitive(), TGedMarkerSelect::SavePrimitive(), TGTripleHSlider::SavePrimitive(), TGTripleVSlider::SavePrimitive(), TGDoubleHSlider::SavePrimitive(), TGShutterItem::SavePrimitive(), TGDoubleVSlider::SavePrimitive(), TGHSlider::SavePrimitive(), and ShutterWindow::ToggleShutterItem().

Bool_t TGWidget::IsEnabled (  )  const [inline]

Definition at line 87 of file TGWidget.h.

References fWidgetFlags, and kWidgetIsEnabled.

Referenced by TGColorSelect::DoRedraw(), TGedPatternSelect::DoRedraw(), TGedMarkerSelect::DoRedraw(), TGVSlider::DoRedraw(), TGedSelect::DoRedraw(), TGHSlider::DoRedraw(), TGDockButton::DrawBorder(), TGuiBldHintsButton::DrawCenterX(), TGuiBldHintsButton::DrawCenterY(), TGuiBldHintsButton::DrawExpandX(), TGuiBldHintsButton::DrawExpandY(), TGTextEntry::HandleButton(), TGMdiWinResizer::HandleButton(), TGColorSelect::HandleButton(), TGedSelect::HandleButton(), TGHSlider::HandleButton(), TGVSlider::HandleButton(), TGDockButton::HandleCrossing(), TGTextEntry::HandleDoubleClick(), TGNumberEntryField::HandleFocusChange(), TGTextEntry::HandleFocusChange(), TGTextEntry::HandleKey(), TGNumberEntryField::HandleKey(), TGColorPalette::HandleMotion(), TGColorPick::HandleMotion(), TGTextEntry::HandleMotion(), TGTextEntry::PastePrimary(), TGColorSelect::SavePrimitive(), TGTab::SavePrimitive(), TGVSlider::SavePrimitive(), TGNumberEntryField::SavePrimitive(), and TGHSlider::SavePrimitive().

Bool_t TGWidget::HasFocus (  )  const [inline]

Definition at line 88 of file TGWidget.h.

References fWidgetFlags, and kWidgetHasFocus.

Referenced by TGColorPalette::HandleButton(), TGColorSelect::HandleButton(), and TGedSelect::HandleButton().

Bool_t TGWidget::WantFocus (  )  const [inline]

Definition at line 89 of file TGWidget.h.

References fWidgetFlags, and kWidgetWantFocus.

Referenced by TGColorPalette::HandleButton(), TGColorSelect::HandleButton(), and TGedSelect::HandleButton().

virtual void TGWidget::Associate ( const TGWindow w  )  [inline, virtual]

Definition at line 90 of file TGWidget.h.

References fMsgWindow, and w.

Referenced by TStyleManager::AddBorderModeEntry(), TGToolBar::AddButton(), TStyleManager::AddCheckButton(), TStyleManager::AddColorEntry(), TStyleManager::AddDateFormatEntry(), TStyleManager::AddEdition(), TStyleManager::AddFillStyleEntry(), TStyleManager::AddFontTypeEntry(), TStyleManager::AddLineStyleEntry(), TStyleManager::AddLineWidthEntry(), TStyleManager::AddMarkerSizeEntry(), TStyleManager::AddMarkerStyleEntry(), TStyleManager::AddPaperSizeEntry(), TStyleManager::AddPsPdfColorModel(), TestShutter::AddShutterItem(), TStyleManager::AddTextAlignEntry(), TStyleManager::AddTextButton(), TStyleManager::AddTextEntry(), TStyleManager::AddToolbar(), TStyleManager::AddTopLevelInterface(), TGNumberEntry::Associate(), TGTextEditor::Build(), TEditQueryFrame::Build(), TGRootIDE::Build(), TNewQueryDlg::Build(), TSessionServerFrame::Build(), TTreeViewer::BuildInterface(), ClassImp(), TGHtml::ControlSize(), TH2Editor::CreateBinTab(), TRootBrowserLite::CreateBrowser(), TAdvancedGraphicsDialog::CreateContourFrame(), TFitEditor::CreateFunctionGroup(), TFitEditor::CreateGeneralTab(), TFitEditor::CreateMinimizationTab(), TAdvancedGraphicsDialog::CreateScanFrame(), TStyleManager::CreateTabAxis(), TStyleManager::CreateTabHistos(), EntryTestDlg::EntryTestDlg(), GButtonFrame::GButtonFrame(), TGComboBox::Init(), TGListBox::InitListBox(), TParallelCoordEditor::MakeVariablesTab(), TGDocument::Open(), TGMsgBox::PMsgBox(), RootShower::RootShower(), RootShowerAbout::RootShowerAbout(), RootShowerMsgBox::RootShowerMsgBox(), TGListView::SetHeader(), TGListView::SetHeaders(), SettingsDialog::SettingsDialog(), TAdvancedGraphicsDialog::TAdvancedGraphicsDialog(), TArrowEditor::TArrowEditor(), TAttFillEditor::TAttFillEditor(), TAttLineEditor::TAttLineEditor(), TAttMarkerEditor::TAttMarkerEditor(), TAttTextEditor::TAttTextEditor(), TAxisEditor::TAxisEditor(), TestDialog::TestDialog(), TestMainFrame::TestMainFrame(), TestMsgBox::TestMsgBox(), TestProgress::TestProgress(), TestSliders::TestSliders(), TFitEditor::TFitEditor(), TFrameEditor::TFrameEditor(), TGDockableFrame::TGDockableFrame(), TGedEditor::TGedEditor(), TGeoBBoxEditor::TGeoBBoxEditor(), TGeoConeEditor::TGeoConeEditor(), TGeoEltuEditor::TGeoEltuEditor(), TGeoHypeEditor::TGeoHypeEditor(), TGeoManagerEditor::TGeoManagerEditor(), TGeoMaterialEditor::TGeoMaterialEditor(), TGeoMediumEditor::TGeoMediumEditor(), TGeoNodeEditor::TGeoNodeEditor(), TGeoParaEditor::TGeoParaEditor(), TGeoPconEditor::TGeoPconEditor(), TGeoSphereEditor::TGeoSphereEditor(), TGeoTorusEditor::TGeoTorusEditor(), TGeoTranslationEditor::TGeoTranslationEditor(), TGeoTrapEditor::TGeoTrapEditor(), TGeoTrd1Editor::TGeoTrd1Editor(), TGeoTrd2Editor::TGeoTrd2Editor(), TGeoTreeDialog::TGeoTreeDialog(), TGeoTubeEditor::TGeoTubeEditor(), TGeoVolumeEditor::TGeoVolumeEditor(), TGFileDialog::TGFileDialog(), TGGotoDialog::TGGotoDialog(), TGMdiButtons::TGMdiButtons(), TGNumberEntry::TGNumberEntry(), TGPrintDialog::TGPrintDialog(), TGraphEditor::TGraphEditor(), TGSelectBox::TGSelectBox(), TGShutterItem::TGShutterItem(), TH1Editor::TH1Editor(), TH2Editor::TH2Editor(), TNewChainDlg::TNewChainDlg(), TPadEditor::TPadEditor(), TPieEditor::TPieEditor(), TStyleDialog::TStyleDialog(), TUploadDataSetDlg::TUploadDataSetDlg(), XSElementDlg::XSElementDlg(), XSReactionDlg::XSReactionDlg(), and XSStepButton::XSStepButton().

virtual void TGWidget::SetCommand ( const char *  command  )  [inline, virtual]

Definition at line 91 of file TGWidget.h.

References fCommand.

Referenced by InputDialog::InputDialog(), and Spy::Spy().

const char* TGWidget::GetCommand (  )  const [inline]

Definition at line 92 of file TGWidget.h.

References TString::Data(), and fCommand.

TGWidget& TGWidget::operator= ( const TGWidget tgw  )  [inline, protected]

Definition at line 72 of file TGWidget.h.

References fCommand, fMsgWindow, fWidgetFlags, and fWidgetId.

Int_t TGWidget::SetFlags ( Int_t  flags  )  [inline, protected]

Definition at line 76 of file TGWidget.h.

References fWidgetFlags.

Int_t TGWidget::ClearFlags ( Int_t  flags  )  [inline, protected]

Definition at line 77 of file TGWidget.h.

References fWidgetFlags.

Int_t TGWidget::WidgetId (  )  const [inline]

Definition at line 86 of file TGWidget.h.

References fWidgetId.

Bool_t TGWidget::IsEnabled (  )  const [inline]

Definition at line 87 of file TGWidget.h.

References fWidgetFlags, and kWidgetIsEnabled.

Bool_t TGWidget::HasFocus (  )  const [inline]

Definition at line 88 of file TGWidget.h.

References fWidgetFlags, and kWidgetHasFocus.

Bool_t TGWidget::WantFocus (  )  const [inline]

Definition at line 89 of file TGWidget.h.

References fWidgetFlags, and kWidgetWantFocus.

virtual void TGWidget::Associate ( const TGWindow w  )  [inline, virtual]

Definition at line 90 of file TGWidget.h.

References fMsgWindow, and w.

virtual void TGWidget::SetCommand ( const char *  command  )  [inline, virtual]

Definition at line 91 of file TGWidget.h.

References fCommand.

const char* TGWidget::GetCommand (  )  const [inline]

Definition at line 92 of file TGWidget.h.

References TString::Data(), and fCommand.


Member Data Documentation

Int_t TGWidget::fWidgetId [protected]

Definition at line 64 of file TGWidget.h.

Referenced by TGTextView::Clear(), TGTextEdit::Delete(), TGDockableFrame::DockContainer(), TGuiBldHintsButton::DoRedraw(), TGRepeatFireButton::FireButton(), TGColorPalette::HandleButton(), TGRadioButton::HandleButton(), TGTripleHSlider::HandleButton(), TGButton::HandleButton(), TGTextView::HandleButton(), TGTripleVSlider::HandleButton(), TGColorPick::HandleButton(), TGDoubleVSlider::HandleButton(), TGDoubleHSlider::HandleButton(), TGCheckButton::HandleButton(), TGHSlider::HandleButton(), TGSplitButton::HandleButton(), TGVSlider::HandleButton(), TGColorPalette::HandleKey(), TGSplitButton::HandleKey(), TGTextEdit::HandleKey(), TGTextButton::HandleKey(), TGCheckButton::HandleKey(), TGRadioButton::HandleKey(), TGHSlider::HandleMotion(), TGTripleHSlider::HandleMotion(), TGTripleVSlider::HandleMotion(), TGDoubleHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGColorPalette::HandleMotion(), TGColorPick::HandleMotion(), TGDoubleVSlider::HandleMotion(), TGSplitButton::HandleSButton(), TGSplitButton::HandleSKey(), TGDockableFrame::HideContainer(), TGComboBox::Init(), operator=(), TGedPatternSelect::ProcessMessage(), TGComboBox::ProcessMessage(), TGNumberEntry::ProcessMessage(), TGTextEdit::ProcessMessage(), TGedMarkerSelect::ProcessMessage(), TGListBox::ProcessMessage(), TGColorSelect::ProcessMessage(), TGTextEntry::ReturnPressed(), TGDockableFrame::SavePrimitive(), TGTextEntry::SavePrimitive(), TGRadioButton::SavePrimitive(), TGListBox::SavePrimitive(), TGLineWidthComboBox::SavePrimitive(), TGTextButton::SavePrimitive(), TGComboBox::SavePrimitive(), TGFSComboBox::SavePrimitive(), TGLineStyleComboBox::SavePrimitive(), TGCheckButton::SavePrimitive(), TGPictureButton::SavePrimitive(), TGComboBox::Select(), TGTextEdit::SetCurrent(), TGPictureButton::SetPicture(), TGTripleVSlider::SetPointerPos(), TGTripleHSlider::SetPointerPos(), TGDockableFrame::ShowContainer(), TGTextEntry::TabPressed(), TGTextEntry::TextChanged(), TGColorPalette::TGColorPalette(), TGColorPick::TGColorPick(), TGNumberEntry::TGNumberEntry(), TGTextEntry::TGTextEntry(), TGDockableFrame::UndockContainer(), and WidgetId().

Int_t TGWidget::fWidgetFlags [protected]

Definition at line 65 of file TGWidget.h.

Referenced by ClearFlags(), HasFocus(), TGTextEntry::Init(), IsEnabled(), operator=(), TGButton::SetEnabled(), SetFlags(), TGRadioButton::SetState(), TGButton::SetState(), TGCheckButton::SetState(), TGColorPalette::TGColorPalette(), TGColorPick::TGColorPick(), TGMdiWinResizer::TGMdiWinResizer(), and WantFocus().

const TGWindow* TGWidget::fMsgWindow [protected]

Definition at line 66 of file TGWidget.h.

Referenced by Associate(), TGTab::ChangeTab(), TGTextView::Clear(), TGTextEdit::Delete(), TGDockableFrame::DockContainer(), TGRepeatFireButton::FireButton(), TGColorPalette::HandleButton(), TGRadioButton::HandleButton(), TGVScrollBar::HandleButton(), TGTripleHSlider::HandleButton(), TGButton::HandleButton(), TGTextView::HandleButton(), TGTripleVSlider::HandleButton(), TGColorPick::HandleButton(), TGHScrollBar::HandleButton(), TGDoubleVSlider::HandleButton(), TGDoubleHSlider::HandleButton(), TGCheckButton::HandleButton(), TGHSlider::HandleButton(), TGSplitButton::HandleButton(), TGVSlider::HandleButton(), TGColorPalette::HandleKey(), TGSplitButton::HandleKey(), TGTextEdit::HandleKey(), TGTextButton::HandleKey(), TGCheckButton::HandleKey(), TGRadioButton::HandleKey(), TGHSlider::HandleMotion(), TGTripleHSlider::HandleMotion(), TGVScrollBar::HandleMotion(), TGTripleVSlider::HandleMotion(), TGDoubleHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGHScrollBar::HandleMotion(), TGColorPalette::HandleMotion(), TGColorPick::HandleMotion(), TGDoubleVSlider::HandleMotion(), TGSplitButton::HandleSButton(), TGSplitButton::HandleSKey(), TGDockableFrame::HideContainer(), operator=(), TGedPatternSelect::ProcessMessage(), TGComboBox::ProcessMessage(), TGNumberEntry::ProcessMessage(), TGTextEdit::ProcessMessage(), TGedMarkerSelect::ProcessMessage(), TGListBox::ProcessMessage(), TGColorSelect::ProcessMessage(), TGTextEntry::ReturnPressed(), TGTextEdit::SetCurrent(), TGTripleVSlider::SetPointerPos(), TGTripleHSlider::SetPointerPos(), TGVScrollBar::SetPosition(), TGHScrollBar::SetPosition(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), TGDockableFrame::ShowContainer(), TGTextEntry::TabPressed(), TGTextEntry::TextChanged(), TGColorPalette::TGColorPalette(), TGColorPick::TGColorPick(), TGDockableFrame::TGDockableFrame(), TGNumberEntry::TGNumberEntry(), TGScrollBar::TGScrollBar(), TGTextEntry::TGTextEntry(), and TGDockableFrame::UndockContainer().

TString TGWidget::fCommand [protected]

Definition at line 67 of file TGWidget.h.

Referenced by TGTab::ChangeTab(), GetCommand(), TGRadioButton::HandleButton(), TGTripleHSlider::HandleButton(), TGButton::HandleButton(), TGTripleVSlider::HandleButton(), TGDoubleVSlider::HandleButton(), TGDoubleHSlider::HandleButton(), TGCheckButton::HandleButton(), TGHSlider::HandleButton(), TGSplitButton::HandleButton(), TGVSlider::HandleButton(), TGSplitButton::HandleKey(), TGTextButton::HandleKey(), TGCheckButton::HandleKey(), TGRadioButton::HandleKey(), TGHSlider::HandleMotion(), TGTripleHSlider::HandleMotion(), TGTripleVSlider::HandleMotion(), TGDoubleHSlider::HandleMotion(), TGVSlider::HandleMotion(), TGDoubleVSlider::HandleMotion(), TGSplitButton::HandleSButton(), TGSplitButton::HandleSKey(), operator=(), TGTextEntry::ReturnPressed(), TGButton::SavePrimitive(), SetCommand(), TGPictureButton::SetPicture(), TGTripleVSlider::SetPointerPos(), TGTripleHSlider::SetPointerPos(), TGTextEntry::TabPressed(), TGTextEntry::TextChanged(), TGPictureButton::TGPictureButton(), and TGTextButton::TGTextButton().

const TGWindow* TGWidget::fMsgWindow [protected]

Definition at line 66 of file TGWidget.h.


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