#include <TGTextEntry.h>
Inheritance diagram for TGTextEntry:
Definition at line 45 of file TGTextEntry.h.
Definition at line 48 of file TGTextEntry.h.
Definition at line 49 of file TGTextEntry.h.
Definition at line 48 of file TGTextEntry.h.
Definition at line 49 of file TGTextEntry.h.
TGTextEntry::TGTextEntry | ( | const TGTextEntry & | ) | [private] |
TGTextEntry::TGTextEntry | ( | const TGWindow * | p, | |
TGTextBuffer * | text, | |||
Int_t | id = -1 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | option = kSunkenFrame|kDoubleBorder , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
Definition at line 276 of file TGTextEntry.cxx.
References TGTextBuffer::AddText(), fFontStruct, TGWidget::fMsgWindow, fNormGC, fText, TGWidget::fWidgetId, GetDefaultFontStruct(), GetDefaultGC(), TGWindow::GetName(), and Init().
Definition at line 292 of file TGTextEntry.cxx.
References TGTextBuffer::AddText(), TString::Data(), fFontStruct, TGWidget::fMsgWindow, fNormGC, fText, TGWidget::fWidgetId, GetDefaultFontStruct(), GetDefaultGC(), and Init().
TGTextEntry::~TGTextEntry | ( | ) | [virtual] |
Definition at line 310 of file TGTextEntry.cxx.
References fCurBlink, fText, fTip, and gBlinkingEntry.
TGTextEntry::TGTextEntry | ( | const TGTextEntry & | ) | [private] |
TGTextEntry::TGTextEntry | ( | const TGWindow * | p, | |
TGTextBuffer * | text, | |||
Int_t | id = -1 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | option = kSunkenFrame|kDoubleBorder , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
virtual TGTextEntry::~TGTextEntry | ( | ) | [virtual] |
void TGTextEntry::CopyText | ( | ) | const [protected] |
Definition at line 922 of file TGTextEntry.cxx.
References fgClipboardText, TGObject::fId, GetEchoMode(), GetMarkedText(), gVirtualX, HasMarkedText(), and kNormal.
Referenced by Cut(), HandleButton(), and HandleKey().
void TGTextEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 1063 of file TGTextEntry.cxx.
References TMath::Abs(), border, TString::Data(), DrawBorder(), TGFrame::fBorderWidth, fCursorIX, fCursorOn, fCursorX, fEchoMode, fEndIX, fEndX, fFontStruct, TGFrame::fHeight, TGObject::fId, fNormGC, fOffset, fSelbackGC, fSelectionOn, fSelGC, fStartIX, fStartX, TGFrame::fWidth, TGFrame::GetBlackGC(), GetDisplayText(), GetInsertMode(), gVirtualX, h, IsFrameDrawn(), kFALSE, kInsert, kNoEcho, len, TString::Length(), TMath::Min(), x, and y.
Referenced by Deselect(), HandleButton(), HandleMotion(), HandleTimer(), and SelectAll().
Definition at line 520 of file TGTextEntry.cxx.
References TString::Data(), fFontStruct, fText, GetDisplayText(), TGTextBuffer::GetString(), gVirtualX, len, TString::Length(), TMath::Max(), and TMath::Min().
Referenced by HandleButton(), HandleDoubleClick(), and HandleMotion().
void TGTextEntry::Init | ( | ) | [protected, virtual] |
Definition at line 322 of file TGTextEntry.cxx.
References TGFrame::AddInput(), dummy, fAlignment, SetWindowAttributes_t::fBitGravity, TGObject::fClient, fClipboard, fCurBlink, fCursorIX, fCursorOn, fCursorX, fDefHeight, fDefWidth, fEchoMode, TGWindow::fEditDisabled, fEdited, fEndIX, fFontStruct, fFrameDrawn, fHasOwnFont, TGObject::fId, fInsertMode, SetWindowAttributes_t::fMask, fMaxLen, fOffset, fSelbackGC, fSelectionOn, fSelGC, fStartIX, fText, fTip, TGWidget::fWidgetFlags, SetWindowAttributes_t::fWinGravity, TGTextBuffer::GetBufferLength(), TGResourcePool::GetClipboard(), GetDefaultSelectedBackgroundGC(), GetDefaultSelectedGC(), TGClient::GetResourcePool(), GetText(), TGResourcePool::GetTextCursor(), TGTextBuffer::GetTextLength(), gVirtualX, IsFrameDrawn(), kAnyButton, kAnyModifier, kButtonMotionMask, kButtonPressMask, kButtonReleaseMask, TGWindow::kEditDisableHeight, kEnterWindowMask, kFALSE, kFocusChangeMask, kInsert, kKeyPressMask, kLeaveWindowMask, kNone, kNormal, kTextLeft, kTRUE, kWABitGravity, kWAWinGravity, kWidgetIsEnabled, kWidgetWantFocus, TGFrame::Resize(), and TGWindow::SetWindowName().
Referenced by TGTextEntry().
Bool_t TGTextEntry::IsCursorOutOfFrame | ( | ) | [protected, virtual] |
Definition at line 1542 of file TGTextEntry.cxx.
References fCursorX, TGFrame::GetWidth(), IsFrameDrawn(), and w.
Referenced by UpdateOffset().
void TGTextEntry::Paste | ( | ) | [protected] |
Definition at line 936 of file TGTextEntry.cxx.
References fClipboard, fgClipboardText, TGObject::fId, gVirtualX, Insert(), and kNone.
Referenced by HandleKey().
Definition at line 1515 of file TGTextEntry.cxx.
References data, TGObject::fClient, gVirtualX, Insert(), TGWidget::IsEnabled(), and TGClient::NeedRedraw().
Referenced by HandleButton(), and HandleSelection().
void TGTextEntry::ScrollByChar | ( | ) | [protected, virtual] |
Definition at line 1555 of file TGTextEntry.cxx.
References d, fCursorIX, fCursorX, fFontStruct, fOffset, GetDisplayText(), GetEchoMode(), TGFrame::GetWidth(), gVirtualX, IsFrameDrawn(), kNoEcho, len, TString::Length(), and w.
Referenced by UpdateOffset().
void TGTextEntry::UpdateOffset | ( | ) | [protected, virtual] |
Definition at line 1595 of file TGTextEntry.cxx.
References TString::Data(), fAlignment, fFontStruct, fOffset, GetDisplayText(), TGFrame::GetWidth(), gVirtualX, IsCursorOutOfFrame(), IsFrameDrawn(), kTextCenterX, kTextLeft, kTextRight, TString::Length(), ScrollByChar(), and w.
Referenced by HandleConfigureNotify(), HandleKey(), HandleMotion(), Layout(), SetAlignment(), SetCursorPosition(), and SetEchoMode().
const TGGC & TGTextEntry::GetDefaultSelectedGC | ( | ) | [static, protected] |
Definition at line 1777 of file TGTextEntry.cxx.
References fgDefaultSelectedGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedGC().
Referenced by Init().
const TGGC & TGTextEntry::GetDefaultSelectedBackgroundGC | ( | ) | [static, protected] |
Definition at line 1787 of file TGTextEntry.cxx.
References fgDefaultSelectedBackgroundGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedBckgndGC().
Referenced by Init().
TGTextEntry& TGTextEntry::operator= | ( | const TGTextEntry & | ) | [private] |
FontStruct_t TGTextEntry::GetDefaultFontStruct | ( | ) | [static] |
Definition at line 1757 of file TGTextEntry.cxx.
References fgDefaultFont, gClient, TGResourcePool::GetDefaultFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().
Referenced by G__G__Gui1_240_0_14(), G__setup_memfuncTGTextEntry(), SavePrimitive(), and TGTextEntry().
const TGGC & TGTextEntry::GetDefaultGC | ( | ) | [static] |
Definition at line 1767 of file TGTextEntry.cxx.
References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().
Referenced by G__G__Gui1_240_0_15(), G__setup_memfuncTGTextEntry(), SavePrimitive(), and TGTextEntry().
TGDimension TGTextEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Definition at line 379 of file TGTextEntry.cxx.
References fDefHeight, fDefWidth, TGFrame::fHeight, TGFrame::fWidth, TGFrame::GetOptions(), h, kFixedHeight, kFixedWidth, and w.
Definition at line 389 of file TGTextEntry.cxx.
References fDefHeight, and fDefWidth.
Referenced by TGeoMaterialEditor::TGeoMaterialEditor(), TGeoMediumEditor::TGeoMediumEditor(), and TGeoVolumeEditor::TGeoVolumeEditor().
void TGTextEntry::AppendText | ( | const char * | text | ) | [virtual] |
Definition at line 1656 of file TGTextEntry.cxx.
References fText, TGTextBuffer::GetTextLength(), and InsertText().
Referenced by TTreeViewer::MapOptions().
void TGTextEntry::Backspace | ( | ) |
Definition at line 868 of file TGTextEntry.cxx.
References CursorLeft(), Del(), fCursorIX, HasMarkedText(), and kFALSE.
Referenced by HandleKey().
void TGTextEntry::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 963 of file TGTextEntry.cxx.
References SetText().
Referenced by MyApplication::DoEnteredCommand(), TGCommandPlugin::HandleCommand(), TTreeViewer::ProcessMessage(), and TGRootIDE::ProcessMessage().
Definition at line 833 of file TGTextEntry.cxx.
References CursorRight().
Referenced by Backspace(), CursorWordBackward(), and HandleKey().
Definition at line 811 of file TGTextEntry.cxx.
References fCursorIX, fEndIX, fSelectionOn, fStartIX, kFALSE, kTRUE, NewMark(), and SetCursorPosition().
Referenced by CursorLeft(), CursorWordForward(), and HandleKey().
Definition at line 842 of file TGTextEntry.cxx.
References CursorRight(), fCursorIX, fText, GetText(), TGTextBuffer::GetTextLength(), and i.
Referenced by HandleKey().
Definition at line 855 of file TGTextEntry.cxx.
References CursorLeft(), fCursorIX, GetText(), and i.
Referenced by HandleKey().
void TGTextEntry::Cut | ( | ) |
Definition at line 951 of file TGTextEntry.cxx.
References CopyText(), Del(), and HasMarkedText().
Referenced by HandleKey().
void TGTextEntry::Del | ( | ) |
Definition at line 885 of file TGTextEntry.cxx.
References fCursorIX, fSelectionOn, fText, TGTextBuffer::GetTextLength(), HasMarkedText(), kFALSE, MaxMark(), MinMark(), TGTextBuffer::RemoveText(), SetCursorPosition(), and TextChanged().
Referenced by Backspace(), Cut(), and HandleKey().
void TGTextEntry::Deselect | ( | ) |
Definition at line 1028 of file TGTextEntry.cxx.
References DoRedraw(), fCursorIX, fEndIX, fSelectionOn, fStartIX, and kFALSE.
Referenced by TTripleSliderDemo::DoSlider(), TestSliders::DoSlider(), and SetMaxLength().
void TGTextEntry::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 1039 of file TGTextEntry.cxx.
References TGFrame::DrawBorder(), TGFrame::fHeight, TGObject::fId, TGFrame::fOptions, TGFrame::fWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, kDoubleBorder, kRaisedFrame, and kSunkenFrame.
Referenced by DoRedraw().
Definition at line 990 of file TGTextEntry.cxx.
References TString::Data(), fCursorIX, fFontStruct, fOffset, fSelectionOn, fStartIX, GetDisplayText(), TGFrame::GetWidth(), gVirtualX, kFALSE, kTRUE, len, TString::Length(), NewMark(), and SetCursorPosition().
Referenced by HandleKey(), TGNumberEntryField::Layout(), and SetText().
ETextJustification TGTextEntry::GetAlignment | ( | ) | const [inline] |
Definition at line 132 of file TGTextEntry.h.
References fAlignment.
Referenced by TGNumberEntryField::Layout().
TGTextBuffer* TGTextEntry::GetBuffer | ( | ) | const [inline] |
Definition at line 133 of file TGTextEntry.h.
References fText.
Referenced by TGTextEditor::Build(), TGRootIDE::Build(), TGuiBldDragManager::ChangeTextFont(), TGMdiHintTest::HandleText(), TSessionServerFrame::OnBtnAddClicked(), InputDialog::ProcessMessage(), TGInputDialog::ProcessMessage(), TTreeInput::ProcessMessage(), SettingsDialog::ProcessMessage(), TGNumberEntryField::ReturnPressed(), SavePrimitive(), TGHtmlBrowser::TGHtmlBrowser(), and TGMdiHintTest::TGMdiHintTest().
Int_t TGTextEntry::GetCursorPosition | ( | ) | const [inline] |
Definition at line 134 of file TGTextEntry.h.
References fCursorIX.
Referenced by TTripleSliderDemo::DoSlider(), TestSliders::DoSlider(), TGSelectBox::GrabPointer(), and TGSelectBox::InsertText().
TString TGTextEntry::GetDisplayText | ( | ) | const |
Definition at line 479 of file TGTextEntry.cxx.
References fText, GetEchoMode(), GetText(), TGTextBuffer::GetTextLength(), kNoEcho, kNormal, and kPassword.
Referenced by DoRedraw(), End(), GetCharacterIndex(), NewMark(), ScrollByChar(), SetCursorPosition(), and UpdateOffset().
EEchoMode TGTextEntry::GetEchoMode | ( | ) | const [inline] |
Definition at line 136 of file TGTextEntry.h.
References fEchoMode.
Referenced by CopyText(), GetDisplayText(), HandleMotion(), NewMark(), ScrollByChar(), SetCursorPosition(), and SetEchoMode().
EInsertMode TGTextEntry::GetInsertMode | ( | ) | const [inline] |
Definition at line 137 of file TGTextEntry.h.
References fInsertMode.
Referenced by DoRedraw(), and HandleKey().
TString TGTextEntry::GetMarkedText | ( | ) | const |
Definition at line 682 of file TGTextEntry.cxx.
References GetText(), len, MaxMark(), and MinMark().
Referenced by CopyText().
Int_t TGTextEntry::GetMaxLength | ( | ) | const [inline] |
Definition at line 139 of file TGTextEntry.h.
References fMaxLen.
Referenced by Insert(), and SavePrimitive().
const char* TGTextEntry::GetText | ( | ) | const [inline] |
Definition at line 140 of file TGTextEntry.h.
References fText, and TGTextBuffer::GetString().
Referenced by TStructNodeEditor::ApplyButtonSlot(), TGHtmlBrowser::Back(), TGRootIDE::Back(), TGuiBldDragManager::ChangeTextFont(), CursorWordBackward(), CursorWordForward(), TGRootIDE::DirChanged(), TFitEditor::DoAddition(), TParallelCoordEditor::DoAddSelection(), TSpiderEditor::DoAddVar(), TParallelCoordEditor::DoAddVariable(), TGeoEltuEditor::DoApply(), TGeoCtubEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoConeEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoTubeEditor::DoApply(), TGeoSphereEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoMaterialEditor::DoApply(), TGeoConeSegEditor::DoApply(), TGeoTrd2Editor::DoApply(), TGeoMediumEditor::DoApply(), TGeoTrd1Editor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTubeSegEditor::DoApply(), TGeoTorusEditor::DoApply(), TGeoMixtureEditor::DoApply1(), TGeoVolumeEditor::DoApplyDiv(), TGeoManagerEditor::DoCreateAssembly(), TGeoManagerEditor::DoCreateCombi(), TGeoManagerEditor::DoCreateMaterial(), TGeoManagerEditor::DoCreateMedium(), TGeoManagerEditor::DoCreateMixture(), TGeoManagerEditor::DoCreateRotation(), TGeoManagerEditor::DoCreateTranslation(), TGeoManagerEditor::DoCreateVolume(), TSpiderEditor::DoDeleteVar(), TFitEditor::DoEnteredFunction(), TFitEditor::DoFit(), TFitEditor::DoFunction(), TProofProgressLog::DoLog(), TGeoMediumEditor::DoMedName(), TGeoRotationEditor::DoName(), TGeoTranslationEditor::DoName(), TGeoCombiTransEditor::DoName(), TGeoManagerEditor::DoName(), TGeoNodeEditor::DoNodeName(), TStyleDialog::DoOK(), TEveTextEditor::DoText(), TStyleDialog::DoUpdate(), TGeoVolumeEditor::DoVolumeName(), TGComboBox::EnableTextInput(), TTreeViewer::ExecuteDraw(), TTreeViewer::ExecuteSpider(), TGHtmlBrowser::Forward(), TGRootIDE::Forward(), TSessionServerFrame::GetAddress(), TSessionServerFrame::GetConfigText(), GetDisplayText(), TRootBrowserLite::GetDrawOption(), TGFileBrowser::GetDrawOption(), TFitEditor::GetFitFunction(), TTreeViewer::GetGrOpt(), TGNumberEntryField::GetIntNumber(), GetMarkedText(), TSessionServerFrame::GetName(), TGNumberEntryField::GetNumber(), GetTitle(), TSessionServerFrame::GetUserName(), TGNumberEntryField::IncreaseNumber(), Init(), Insert(), InsertText(), MarkWord(), TStyleManager::ModHeaderPS(), TStyleManager::ModPaintTextFormat(), TStyleManager::ModTitlePS(), TSessionFrame::OnApplyParallel(), TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), TSessionFrame::OnCommandLine(), TTreeViewer::ProcessMessage(), TGHtmlBrowser::ProcessMessage(), TUploadDataSetDlg::ProcessMessage(), TProofProgressLog::Rebuild(), TGHtmlBrowser::Reload(), TGRootIDE::Reload(), RemoveText(), TFitEditor::RetrieveOptions(), TGComboBox::ReturnPressed(), SavePrimitive(), TGComboBox::SavePrimitive(), TGSelectBox::SaveText(), TProofProgressLog::SaveToFile(), TFitEditor::SetFitObject(), TTreeViewer::SetHistogramTitle(), TEveTextEditor::SetModel(), TStructViewerGUI::SetPointerButtonSlot(), SetText(), TNewQueryDlg::SettingsChanged(), TSessionServerFrame::SettingsChanged(), TEditQueryFrame::SettingsChanged(), TextChanged(), TStyleDialog::TStyleDialog(), CalendarWindow::UpdateHTML(), TGuiBldNameFrame::UpdateName(), TUploadDataSetDlg::UploadDataSet(), TGRootIDE::URLChanged(), TGHtmlBrowser::URLChanged(), TGTable::UserRangeChange(), and TGSelectBox::ValidateAlias().
virtual TGToolTip* TGTextEntry::GetToolTip | ( | ) | const [inline, virtual] |
Definition at line 141 of file TGTextEntry.h.
References fTip.
Referenced by TGNumberEntryField::SavePrimitive(), and TGNumberEntry::SavePrimitive().
virtual const char* TGTextEntry::GetTitle | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 142 of file TGTextEntry.h.
References GetText().
Referenced by MyApplication::DoEnteredCommand(), and TFitEditor::DoFunction().
Bool_t TGTextEntry::HasMarkedText | ( | ) | const [inline] |
Definition at line 143 of file TGTextEntry.h.
References fEndIX, fSelectionOn, and fStartIX.
Referenced by Backspace(), CopyText(), Cut(), Del(), HandleKey(), and Insert().
Pixel_t TGTextEntry::GetTextColor | ( | ) | const [inline] |
Definition at line 144 of file TGTextEntry.h.
References fNormGC, and TGGC::GetForeground().
Referenced by TGuiBldDragManager::ChangeTextColor(), and TGuiBldDragManager::ChangeTextFont().
FontStruct_t TGTextEntry::GetFontStruct | ( | ) | const [inline] |
Definition at line 145 of file TGTextEntry.h.
References fFontStruct.
Referenced by TGuiBldDragManager::ChangeTextFont().
Definition at line 971 of file TGTextEntry.cxx.
References fCursorIX, fOffset, fSelectionOn, fStartIX, kFALSE, kTRUE, NewMark(), and SetCursorPosition().
Referenced by HandleKey(), and TGNumberEntryField::Layout().
void TGTextEntry::Insert | ( | const char * | ) | [virtual] |
Definition at line 777 of file TGTextEntry.cxx.
References TGTextBuffer::AddText(), fCursorIX, fInsertMode, fText, GetMaxLength(), GetText(), TGTextBuffer::GetTextLength(), HasMarkedText(), i, kReplace, MaxMark(), TMath::Min(), MinMark(), TGTextBuffer::RemoveText(), SetCursorPosition(), t, and TextChanged().
Referenced by HandleKey(), Paste(), and PastePrimary().
void TGTextEntry::InsertText | ( | const char * | text, | |
Int_t | pos | |||
) | [virtual] |
Definition at line 1642 of file TGTextEntry.cxx.
References fText, GetText(), TGTextBuffer::GetTextLength(), TMath::Min(), and SetText().
Referenced by AppendText(), TGSelectBox::InsertText(), and TGSelectBox::SaveText().
Bool_t TGTextEntry::IsFrameDrawn | ( | ) | const [inline] |
Definition at line 149 of file TGTextEntry.h.
References fFrameDrawn.
Referenced by DoRedraw(), HandleButton(), HandleDoubleClick(), HandleMotion(), Init(), IsCursorOutOfFrame(), NewMark(), ScrollByChar(), SetCursorPosition(), SetEchoMode(), and UpdateOffset().
Bool_t TGTextEntry::IsEdited | ( | ) | const [inline] |
virtual void TGTextEntry::Layout | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 151 of file TGTextEntry.h.
References UpdateOffset().
void TGTextEntry::MarkWord | ( | Int_t | pos | ) |
Definition at line 756 of file TGTextEntry.cxx.
References fEndIX, fSelectionOn, fStartIX, GetText(), i, kTRUE, and NewMark().
Referenced by HandleDoubleClick().
Int_t TGTextEntry::MaxMark | ( | ) | const [inline] |
Definition at line 153 of file TGTextEntry.h.
References fEndIX, and fStartIX.
Referenced by Del(), GetMarkedText(), and Insert().
Int_t TGTextEntry::MinMark | ( | ) | const [inline] |
Definition at line 154 of file TGTextEntry.h.
References fEndIX, and fStartIX.
Referenced by Del(), GetMarkedText(), and Insert().
void TGTextEntry::NewMark | ( | Int_t | pos | ) |
Definition at line 695 of file TGTextEntry.cxx.
References TString::Data(), fEndIX, fEndX, fFontStruct, fOffset, fSelectionOn, fStartIX, fStartX, GetDisplayText(), GetEchoMode(), gVirtualX, IsFrameDrawn(), kNoEcho, len, TString::Length(), SetCursorPosition(), and x.
Referenced by CursorRight(), End(), HandleMotion(), Home(), MarkWord(), and SelectAll().
void TGTextEntry::Remove | ( | ) |
Definition at line 909 of file TGTextEntry.cxx.
References fCursorIX, fText, TGTextBuffer::GetTextLength(), TGTextBuffer::RemoveText(), SetCursorPosition(), and TextChanged().
Referenced by HandleKey().
Definition at line 1667 of file TGTextEntry.cxx.
References TMath::Abs(), TString::Data(), GetText(), len, TMath::Min(), TString::Remove(), and SetText().
Definition at line 1719 of file TGTextEntry.cxx.
References TGFont::GetFontStruct().
Referenced by SetFont(), and TestDialog::TestDialog().
void TGTextEntry::SetFont | ( | FontStruct_t | font, | |
Bool_t | local = kTRUE | |||
) | [virtual] |
Definition at line 1682 of file TGTextEntry.cxx.
References TGObject::fClient, fFontStruct, fHasOwnFont, fNormGC, fSelGC, gVirtualX, kTRUE, TGClient::NeedRedraw(), and TGGC::SetFont().
Definition at line 1707 of file TGTextEntry.cxx.
References TGObject::fClient, TGClient::GetFont(), TGFont::GetFontStruct(), and SetFont().
Definition at line 1730 of file TGTextEntry.cxx.
References TGObject::fClient, fHasOwnFont, fNormGC, kTRUE, TGClient::NeedRedraw(), and TGGC::SetForeground().
Referenced by TStyleManager::AddTopLevelInterface(), EvNavHandler::Bck(), EvNavHandler::Fwd(), SetForegroundColor(), and SetTextColor().
Definition at line 613 of file TGTextEntry.cxx.
References TGTextBuffer::AddText(), TGTextBuffer::Clear(), End(), TGObject::fClient, fMaxLen, fText, GetText(), TGTextBuffer::GetTextLength(), kFALSE, TGClient::NeedRedraw(), TGTextBuffer::RemoveText(), and TextChanged().
Referenced by EvNavHandler::Bck(), TEditQueryFrame::Build(), TGRootIDE::Build(), TNewQueryDlg::Build(), TSessionFrame::Build(), TTreeViewer::BuildInterface(), TStyleManager::BuildList(), TGuiBldNameFrame::ChangeSelected(), TGHtmlBrowser::CheckAnchors(), Clear(), TStructNodeEditor::ColorSelectedSlot(), TFitEditor::CreateFunctionGroup(), TStructNodeEditor::DefaultButtonSlot(), TGRootIDE::DirSelected(), TGRootIDE::DisplayDirectory(), TFitEditor::DoAddition(), TGeoRotationEditor::DoCancel(), TGeoCombiTransEditor::DoCancel(), TGeoTranslationEditor::DoCancel(), TGeoManagerEditor::DoCreateAssembly(), TGeoManagerEditor::DoCreateCombi(), TGeoManagerEditor::DoCreateMaterial(), TGeoManagerEditor::DoCreateMedium(), TGeoManagerEditor::DoCreateMixture(), TGeoManagerEditor::DoCreateRotation(), TGeoManagerEditor::DoCreateTranslation(), TGeoManagerEditor::DoCreateVolume(), TFitEditor::DoFunction(), TStyleManager::DoMakeDefault(), TFitEditor::DoReset(), TStyleManager::DoSelectCanvas(), TStyleManager::DoSelectNoCanvas(), TGeoMaterialEditor::DoUndo(), TGeoMixtureEditor::DoUndo1(), TGComboBox::EnableTextInput(), EvNavHandler::Fwd(), TProofProgressLog::Init(), InsertText(), TTreeViewer::MapOptions(), TEditQueryFrame::OnBrowseSelector(), TNewQueryDlg::OnBrowseSelector(), TSessionServerFrame::OnBtnNewServerClicked(), TNewQueryDlg::OnBtnSaveClicked(), TSessionServerFrame::OnConfigFileClicked(), TNewChainDlg::OnElementClicked(), TEditQueryFrame::OnElementSelected(), TNewQueryDlg::OnElementSelected(), TTreeViewer::ProcessMessage(), TGComboBox::ProcessMessage(), TGFileDialog::ProcessMessage(), RemoveText(), TGuiBldNameFrame::Reset(), TGRootIDE::Selected(), TGHtmlBrowser::Selected(), TSessionServerFrame::SetAddress(), TSessionServerFrame::SetConfigText(), TRootBrowserLite::SetDrawOption(), TGSelectBox::SetEntry(), TFitEditor::SetFitObject(), TFitEditor::SetFunction(), TTreeViewer::SetGrOpt(), TAxisEditor::SetModel(), TStructNodeEditor::SetModel(), TGeoPconEditor::SetModel(), TGeoConeSegEditor::SetModel(), TGeoSphereEditor::SetModel(), TGeoTrd1Editor::SetModel(), TGeoNodeEditor::SetModel(), TGeoTrd2Editor::SetModel(), TSpiderEditor::SetModel(), TGraphEditor::SetModel(), TGeoCtubEditor::SetModel(), TH1Editor::SetModel(), TGeoMediumEditor::SetModel(), TGeoTubeEditor::SetModel(), TGeoMaterialEditor::SetModel(), TEveTextEditor::SetModel(), TF1Editor::SetModel(), TGeoVolumeEditor::SetModel(), TH2Editor::SetModel(), TGeoRotationEditor::SetModel(), TGeoTorusEditor::SetModel(), TGeoGtraEditor::SetModel(), TGeoBBoxEditor::SetModel(), TGeoTranslationEditor::SetModel(), TGeoParaEditor::SetModel(), TGeoCombiTransEditor::SetModel(), TGeoEltuEditor::SetModel(), TGeoConeEditor::SetModel(), TGeoManagerEditor::SetModel(), TGeoPgonEditor::SetModel(), TGeoTrapEditor::SetModel(), TGeoTubeSegEditor::SetModel(), TPieSliceEditor::SetModel(), TGeoHypeEditor::SetModel(), TPieEditor::SetModel(), TSessionServerFrame::SetName(), TGNumberEntryField::SetText(), SettingsDialog::SettingsDialog(), SetTitle(), TSessionServerFrame::SetUserName(), TGHtmlBrowser::TGHtmlBrowser(), TNewQueryDlg::TNewQueryDlg(), TUploadDataSetDlg::TUploadDataSetDlg(), TSessionServerFrame::Update(), TStyleManager::UpdateEditor(), TEditQueryFrame::UpdateFields(), TNewQueryDlg::UpdateFields(), and TGTable::UpdateRangeFrame().
void TGTextEntry::SetToolTipText | ( | const char * | text, | |
Long_t | delayms = 500 | |||
) | [virtual] |
Definition at line 1615 of file TGTextEntry.cxx.
References TGObject::fClient, fTip, and TGClient::GetDefaultRoot().
Referenced by TStyleManager::AddAxisXDivisions(), TStyleManager::AddAxisXLabels(), TStyleManager::AddAxisXLine(), TStyleManager::AddAxisXTitle(), TStyleManager::AddAxisYDivisions(), TStyleManager::AddAxisYLabels(), TStyleManager::AddAxisYLine(), TStyleManager::AddAxisYTitle(), TStyleManager::AddAxisZDivisions(), TStyleManager::AddAxisZLabels(), TStyleManager::AddAxisZLine(), TStyleManager::AddAxisZTitle(), TStyleManager::AddCanvasDate(), TStyleManager::AddCanvasGeometry(), TStyleManager::AddGeneralFill(), TStyleManager::AddGeneralText(), TStyleManager::AddHistosGraphsErrors(), TStyleManager::AddHistosHistosAxis(), TStyleManager::AddHistosHistosBar(), TStyleManager::AddHistosHistosContours(), TStyleManager::AddHistosHistosLegoInnerR(), TStyleManager::AddPadMargin(), TStyleManager::AddPsPdfHeader(), TStyleManager::AddPsPdfLineScale(), TStyleManager::AddPsPdfPaperSize(), TStyleManager::AddPsPdfTitle(), TStyleManager::AddStatsFit(), TStyleManager::AddStatsGeometry(), TStyleManager::AddStatsStats(), TStyleManager::AddStatsText(), TStyleManager::AddTitleGeometry(), TStyleManager::AddTitleText(), TEditQueryFrame::Build(), TEveGDoubleValuator::Build(), TEveGValuator::Build(), TNewQueryDlg::Build(), TTreeViewer::BuildInterface(), ClassImp(), TRootBrowserLite::CreateBrowser(), TGFileBrowser::CreateBrowser(), TAdvancedGraphicsDialog::CreateConfFrame(), TAdvancedGraphicsDialog::CreateContourFrame(), TGeoPgonEditor::CreateEdges(), TFitEditor::CreateFunctionGroup(), TFitEditor::CreateGeneralTab(), TAdvancedGraphicsDialog::CreateScanFrame(), TGLViewerEditor::CreateStyleTab(), TGL5DDataSetEditor::CreateStyleTab(), TStyleManager::CreateTabAxis(), TStyleManager::CreateTabGeneral(), TProofProgressDialog::DoSetLogQuery(), TProofProgressLog::Init(), make_slider_range_entries(), TSpiderEditor::MakeBrowse(), TEveCaloVizEditor::MakeSliceInfo(), TFitEditor::SetObjectType(), TEveGValuator::SetToolTip(), TArrowEditor::TArrowEditor(), TAttMarkerEditor::TAttMarkerEditor(), TAxisEditor::TAxisEditor(), TCurlyArcEditor::TCurlyArcEditor(), TCurlyLineEditor::TCurlyLineEditor(), TestMainFrame::TestMainFrame(), TEveCalo3DEditor::TEveCalo3DEditor(), TEveCaloLegoEditor::TEveCaloLegoEditor(), TEveElementEditor::TEveElementEditor(), TEveProjectionAxesEditor::TEveProjectionAxesEditor(), TEveShapeEditor::TEveShapeEditor(), TF1Editor::TF1Editor(), TGeoBBoxEditor::TGeoBBoxEditor(), TGeoConeEditor::TGeoConeEditor(), TGeoConeSegEditor::TGeoConeSegEditor(), TGeoCtubEditor::TGeoCtubEditor(), TGeoEltuEditor::TGeoEltuEditor(), TGeoGtraEditor::TGeoGtraEditor(), 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(), TGeoTubeEditor::TGeoTubeEditor(), TGeoTubeSegEditor::TGeoTubeSegEditor(), TGeoVolumeEditor::TGeoVolumeEditor(), TGraphEditor::TGraphEditor(), TGSelectBox::TGSelectBox(), TH1Editor::TH1Editor(), TH2Editor::TH2Editor(), TLineEditor::TLineEditor(), TPieEditor::TPieEditor(), TPieSliceEditor::TPieSliceEditor(), TSpiderEditor::TSpiderEditor(), TTripleSliderDemo::TTripleSliderDemo(), and TUploadDataSetDlg::TUploadDataSetDlg().
void TGTextEntry::SetMaxLength | ( | Int_t | maxlen | ) | [virtual] |
Definition at line 637 of file TGTextEntry.cxx.
References Deselect(), fMaxLen, fText, TGTextBuffer::GetTextLength(), TGTextBuffer::RemoveText(), and SetCursorPosition().
void TGTextEntry::SelectAll | ( | ) | [virtual] |
Definition at line 1014 of file TGTextEntry.cxx.
References DoRedraw(), fSelectionOn, fStartIX, fText, TGTextBuffer::GetTextLength(), kTRUE, and NewMark().
Referenced by TFitEditor::DoFunction(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), TSessionServerFrame::ProcessMessage(), TNewQueryDlg::ProcessMessage(), TFitEditor::SetFitObject(), and TGGotoDialog::TGGotoDialog().
void TGTextEntry::SetAlignment | ( | ETextJustification | mode = kTextLeft |
) | [virtual] |
Definition at line 569 of file TGTextEntry.cxx.
References fAlignment, SetWindowAttributes_t::fBitGravity, TGObject::fClient, TGObject::fId, SetWindowAttributes_t::fMask, SetWindowAttributes_t::fWinGravity, gVirtualX, kTextCenterX, kTextLeft, kTextRight, kWABitGravity, kWAWinGravity, TGClient::NeedRedraw(), and UpdateOffset().
Referenced by TSessionFrame::Build(), TFitEditor::CreateFunctionGroup(), TGTable::Init(), and TGNumberEntryField::TGNumberEntryField().
void TGTextEntry::SetInsertMode | ( | EInsertMode | mode = kInsert |
) | [virtual] |
Definition at line 601 of file TGTextEntry.cxx.
References TGObject::fClient, fInsertMode, and TGClient::NeedRedraw().
Referenced by HandleKey().
void TGTextEntry::SetEchoMode | ( | EEchoMode | mode = kNormal |
) | [virtual] |
Definition at line 657 of file TGTextEntry.cxx.
References TGObject::fClient, fCursorX, fEchoMode, GetEchoMode(), IsFrameDrawn(), kNoEcho, TGClient::NeedRedraw(), and UpdateOffset().
Definition at line 170 of file TGTextEntry.h.
References flag, and SetState().
Referenced by TStyleManager::AddTopLevelInterface(), TEditQueryFrame::Build(), TNewQueryDlg::Build(), TParallelCoordEditor::CleanUpVariables(), TFunctionParametersDialog::DoFix(), TFitParametersDialog::DoParFix(), TFitParametersDialog::DoReset(), TFunctionParametersDialog::DoReset(), TProofProgressDialog::DoSetLogQuery(), TEveGValuator::SetEnabled(), TF1Editor::TF1Editor(), TNewChainDlg::TNewChainDlg(), and TStyleDialog::TStyleDialog().
void TGTextEntry::SetCursorPosition | ( | Int_t | pos | ) | [virtual] |
Definition at line 718 of file TGTextEntry.cxx.
References CursorOutLeft(), CursorOutRight(), TString::Data(), fCursorIX, fCursorX, fFontStruct, fOffset, fSelectionOn, fStartIX, fStartX, GetDisplayText(), GetEchoMode(), gVirtualX, IsFrameDrawn(), kNoEcho, len, TString::Length(), UpdateOffset(), and x.
Referenced by CursorRight(), Del(), TTripleSliderDemo::DoSlider(), TestSliders::DoSlider(), End(), TGSelectBox::GrabPointer(), HandleButton(), Home(), Insert(), TGSelectBox::InsertText(), NewMark(), TTreeViewer::ProcessMessage(), Remove(), and SetMaxLength().
void TGTextEntry::SetFocus | ( | ) | [virtual] |
Definition at line 1631 of file TGTextEntry.cxx.
References fCurBlink, gBlinkingEntry, TTimer::Remove(), and TGWindow::RequestFocus().
Referenced by HandleButton(), HandleDoubleClick(), TGHtml::HandleHtmlInput(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), TSessionFrame::OnCommandLine(), TNewQueryDlg::Popup(), TSessionServerFrame::ProcessMessage(), TTreeInput::ProcessMessage(), SettingsDialog::ProcessMessage(), TNewQueryDlg::ProcessMessage(), and TSessionServerFrame::SettingsChanged().
Definition at line 555 of file TGTextEntry.cxx.
References TGObject::fClient, fFrameDrawn, and TGClient::NeedRedraw().
Referenced by TGComboBox::EnableTextInput().
void TGTextEntry::SetState | ( | Bool_t | state | ) | [virtual] |
Definition at line 503 of file TGTextEntry.cxx.
References TGWidget::ClearFlags(), TGObject::fClient, fCurBlink, fCursorOn, TGFrame::fgWhitePixel, TGFrame::GetDefaultFrameBackground(), kFALSE, kWidgetIsEnabled, TGClient::NeedRedraw(), TTimer::Remove(), TGFrame::SetBackgroundColor(), and TGWidget::SetFlags().
Referenced by TStructNodeEditor::Init(), TFitEditor::SetEditable(), SetEnabled(), and TGNumberEntryField::SetState().
virtual void TGTextEntry::SetTitle | ( | const char * | label | ) | [inline, virtual] |
Definition at line 176 of file TGTextEntry.h.
References SetText().
Referenced by TGComboBox::RemoveAll(), and TGComboBox::RemoveEntry().
virtual void TGTextEntry::SetForegroundColor | ( | Pixel_t | fore | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 177 of file TGTextEntry.h.
References kFALSE, and SetTextColor().
Pixel_t TGTextEntry::GetForeground | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 178 of file TGTextEntry.h.
References fNormGC, and TGGC::GetForeground().
Bool_t TGTextEntry::HasOwnFont | ( | ) | const [inline] |
void TGTextEntry::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 1797 of file TGTextEntry.cxx.
References TString::Data(), fAlignment, TGFrame::fBackground, fDefHeight, fDefWidth, fFontStruct, TGFontPool::FindFont(), TGGCPool::FindGC(), fNormGC, TString::Form(), TGWindow::fParent, fTip, TGWidget::fWidgetId, gClient, GetBuffer(), TGTextBuffer::GetBufferLength(), GetDefaultFontStruct(), GetDefaultGC(), TGResourcePool::GetFontPool(), TGGC::GetGC(), TGResourcePool::GetGCPool(), GetMaxLength(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGClient::GetResourcePool(), TGString::GetString(), GetText(), TGToolTip::GetText(), TGFrame::GetWhitePixel(), TGFrame::GetWidth(), kDoubleBorder, kSunkenFrame, kTextCenterX, kTextLeft, kTextRight, TString::ReplaceAll(), TGGC::SavePrimitive(), TGFont::SavePrimitive(), and TGFrame::SaveUserColor().
Reimplemented from TGFrame.
Definition at line 1330 of file TGTextEntry.cxx.
References CopyText(), DoRedraw(), TGObject::fClient, fClipboard, Event_t::fCode, fEchoMode, TGObject::fId, fOffset, fSelectionOn, Event_t::fTime, fTip, Event_t::fType, Event_t::fX, GetCharacterIndex(), TGClient::GetDefaultRoot(), TGObject::GetId(), gVirtualX, TGToolTip::Hide(), TGWidget::IsEnabled(), IsFrameDrawn(), kButton1, kButton2, kButtonPress, kButtonRelease, kCutBuffer, kFALSE, kNoEcho, kNone, kTRUE, PastePrimary(), SetCursorPosition(), SetFocus(), and x.
Referenced by TGSelectBox::GrabPointer(), TGComboBox::HandleButton(), and TTreeViewer::ProcessMessage().
Reimplemented from TGFrame.
Definition at line 1397 of file TGTextEntry.cxx.
References DoubleClicked(), fEchoMode, fOffset, Event_t::fX, GetCharacterIndex(), TGWidget::IsEnabled(), IsFrameDrawn(), kNoEcho, kTRUE, MarkWord(), SetFocus(), and x.
Referenced by TGComboBox::HandleDoubleClick().
Reimplemented from TGFrame.
Definition at line 1366 of file TGTextEntry.cxx.
References fTip, Event_t::fType, TGToolTip::Hide(), kEnterNotify, and kTRUE.
Reimplemented from TGFrame.
Definition at line 1380 of file TGTextEntry.cxx.
References DoRedraw(), fOffset, fSelectionOn, Event_t::fX, GetCharacterIndex(), GetEchoMode(), TGWidget::IsEnabled(), IsFrameDrawn(), kNoEcho, kTRUE, NewMark(), UpdateOffset(), and x.
Referenced by TGComboBox::HandleMotion().
Reimplemented from TGFrame.
Definition at line 1133 of file TGTextEntry.cxx.
References Backspace(), CopyText(), CursorLeft(), CursorOutDown(), CursorOutUp(), CursorRight(), CursorWordBackward(), CursorWordForward(), Cut(), Del(), End(), TGObject::fClient, fSelectionOn, Event_t::fState, fTip, Event_t::fType, GetInsertMode(), gVirtualX, HasMarkedText(), TGToolTip::Hide(), Home(), Insert(), TGWidget::IsEnabled(), kFALSE, kGKeyPress, kInsert, kKey_A, kKey_B, kKey_Backspace, kKey_Backtab, kKey_C, kKey_D, kKey_Delete, kKey_Down, kKey_E, kKey_End, kKey_Enter, kKey_F, kKey_H, kKey_Home, kKey_Insert, kKey_K, kKey_Left, kKey_Return, kKey_Right, kKey_Tab, kKey_U, kKey_Up, kKey_V, kKey_X, kKey_Y, kKeyControlMask, kKeyShiftMask, TObject::kNotDeleted, kReplace, kTRUE, n, TGClient::NeedRedraw(), Paste(), Remove(), ReturnPressed(), SetInsertMode(), ShiftTabPressed(), TabPressed(), TObject::TestBit(), UpdateOffset(), and x20.
Referenced by TGNumberEntryField::HandleKey().
Reimplemented from TGFrame.
Definition at line 1426 of file TGTextEntry.cxx.
References TSystem::AddTimer(), TGObject::fClient, fCurBlink, fCursorOn, Event_t::fType, gBlinkingEntry, gSystem, TGWidget::IsEnabled(), kFALSE, kFocusIn, kTRUE, TGClient::NeedRedraw(), TTimer::Remove(), and TTimer::Reset().
Referenced by TGNumberEntryField::HandleFocusChange().
Reimplemented from TGFrame.
Definition at line 1450 of file TGTextEntry.cxx.
References Event_t::fUser, kTRUE, and PastePrimary().
Referenced by TGComboBox::HandleSelection().
Reimplemented from TGFrame.
Definition at line 1459 of file TGTextEntry.cxx.
References TGObject::fClient, fCursorIX, fEndIX, fSelectionOn, fStartIX, kFALSE, kTRUE, and TGClient::NeedRedraw().
Reimplemented from TGFrame.
Definition at line 1470 of file TGTextEntry.cxx.
References buffer, TString::Data(), fgClipboardText, Event_t::fTime, Event_t::fType, Event_t::fUser, gVirtualX, kFALSE, kSelectionNotify, kTRUE, len, TString::Length(), strlcpy(), and type.
Referenced by TGComboBox::HandleSelectionRequest().
Reimplemented from TGWindow.
Definition at line 1532 of file TGTextEntry.cxx.
References DoRedraw(), fCursorOn, and kTRUE.
Referenced by TBlinkTimer::Notify().
Reimplemented from TGFrame.
Definition at line 1416 of file TGTextEntry.cxx.
References TGFrame::HandleConfigureNotify(), kTRUE, and UpdateOffset().
void TGTextEntry::TextChanged | ( | const char * | text = 0 |
) | [virtual] |
Definition at line 428 of file TGTextEntry.cxx.
References TQObject::Emit(), TGObject::fClient, TGWidget::fCommand, TGWidget::fMsgWindow, TGWidget::fWidgetId, GetText(), kC_TEXTENTRY, kTE_TEXTCHANGED, MK_MSG(), TGClient::ProcessLine(), and TGFrame::SendMessage().
Referenced by Del(), Insert(), Remove(), SetText(), and TGNumberEntryField::TextChanged().
void TGTextEntry::ReturnPressed | ( | ) | [virtual] |
Definition at line 398 of file TGTextEntry.cxx.
References TQObject::Emit(), TGObject::fClient, TGWidget::fCommand, TGWidget::fMsgWindow, TGWidget::fWidgetId, kC_TEXTENTRY, kTE_ENTER, MK_MSG(), TGClient::ProcessLine(), and TGFrame::SendMessage().
Referenced by HandleKey(), and TGNumberEntryField::ReturnPressed().
void TGTextEntry::TabPressed | ( | ) | [virtual] |
Definition at line 417 of file TGTextEntry.cxx.
References TQObject::Emit(), TGObject::fClient, TGWidget::fCommand, TGWidget::fMsgWindow, TGWidget::fWidgetId, kC_TEXTENTRY, kTE_TAB, MK_MSG(), TGClient::ProcessLine(), and TGFrame::SendMessage().
Referenced by HandleKey().
void TGTextEntry::ShiftTabPressed | ( | ) | [virtual] |
Definition at line 409 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by HandleKey().
void TGTextEntry::CursorOutLeft | ( | ) | [virtual] |
Definition at line 439 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by SetCursorPosition().
void TGTextEntry::CursorOutRight | ( | ) | [virtual] |
Definition at line 447 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by SetCursorPosition().
void TGTextEntry::CursorOutUp | ( | ) | [virtual] |
Definition at line 455 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by HandleKey().
void TGTextEntry::CursorOutDown | ( | ) | [virtual] |
Definition at line 463 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by HandleKey().
void TGTextEntry::DoubleClicked | ( | ) | [virtual] |
Definition at line 471 of file TGTextEntry.cxx.
References TQObject::Emit().
Referenced by HandleDoubleClick().
void TGTextEntry::CopyText | ( | ) | const [protected] |
virtual void TGTextEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
virtual void TGTextEntry::Init | ( | ) | [protected, virtual] |
virtual Bool_t TGTextEntry::IsCursorOutOfFrame | ( | ) | [protected, virtual] |
void TGTextEntry::Paste | ( | ) | [protected] |
virtual void TGTextEntry::PastePrimary | ( | Window_t | wid, | |
Atom_t | property, | |||
Bool_t | del | |||
) | [protected, virtual] |
virtual void TGTextEntry::ScrollByChar | ( | ) | [protected, virtual] |
virtual void TGTextEntry::UpdateOffset | ( | ) | [protected, virtual] |
static const TGGC& TGTextEntry::GetDefaultSelectedGC | ( | ) | [static, protected] |
static const TGGC& TGTextEntry::GetDefaultSelectedBackgroundGC | ( | ) | [static, protected] |
TGTextEntry& TGTextEntry::operator= | ( | const TGTextEntry & | ) | [private] |
static FontStruct_t TGTextEntry::GetDefaultFontStruct | ( | ) | [static] |
static const TGGC& TGTextEntry::GetDefaultGC | ( | ) | [static] |
virtual TGDimension TGTextEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
virtual void TGTextEntry::AppendText | ( | const char * | text | ) | [virtual] |
void TGTextEntry::Backspace | ( | ) |
void TGTextEntry::Cut | ( | ) |
void TGTextEntry::Del | ( | ) |
void TGTextEntry::Deselect | ( | ) |
virtual void TGTextEntry::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
ETextJustification TGTextEntry::GetAlignment | ( | ) | const [inline] |
TGTextBuffer* TGTextEntry::GetBuffer | ( | ) | const [inline] |
Int_t TGTextEntry::GetCursorPosition | ( | ) | const [inline] |
TString TGTextEntry::GetDisplayText | ( | ) | const |
EEchoMode TGTextEntry::GetEchoMode | ( | ) | const [inline] |
EInsertMode TGTextEntry::GetInsertMode | ( | ) | const [inline] |
TString TGTextEntry::GetMarkedText | ( | ) | const |
Int_t TGTextEntry::GetMaxLength | ( | ) | const [inline] |
const char* TGTextEntry::GetText | ( | ) | const [inline] |
virtual TGToolTip* TGTextEntry::GetToolTip | ( | ) | const [inline, virtual] |
virtual const char* TGTextEntry::GetTitle | ( | ) | const [inline, virtual] |
Bool_t TGTextEntry::HasMarkedText | ( | ) | const [inline] |
Pixel_t TGTextEntry::GetTextColor | ( | ) | const [inline] |
FontStruct_t TGTextEntry::GetFontStruct | ( | ) | const [inline] |
virtual void TGTextEntry::Insert | ( | const char * | ) | [virtual] |
virtual void TGTextEntry::InsertText | ( | const char * | text, | |
Int_t | pos | |||
) | [virtual] |
Bool_t TGTextEntry::IsFrameDrawn | ( | ) | const [inline] |
Bool_t TGTextEntry::IsEdited | ( | ) | const [inline] |
virtual void TGTextEntry::Layout | ( | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 151 of file TGTextEntry.h.
References UpdateOffset().
void TGTextEntry::MarkWord | ( | Int_t | pos | ) |
Int_t TGTextEntry::MaxMark | ( | ) | const [inline] |
Int_t TGTextEntry::MinMark | ( | ) | const [inline] |
void TGTextEntry::NewMark | ( | Int_t | pos | ) |
void TGTextEntry::Remove | ( | ) |
virtual void TGTextEntry::SetFont | ( | FontStruct_t | font, | |
Bool_t | local = kTRUE | |||
) | [virtual] |
virtual void TGTextEntry::SetToolTipText | ( | const char * | text, | |
Long_t | delayms = 500 | |||
) | [virtual] |
virtual void TGTextEntry::SetMaxLength | ( | Int_t | maxlen | ) | [virtual] |
virtual void TGTextEntry::SelectAll | ( | ) | [virtual] |
virtual void TGTextEntry::SetAlignment | ( | ETextJustification | mode = kTextLeft |
) | [virtual] |
virtual void TGTextEntry::SetInsertMode | ( | EInsertMode | mode = kInsert |
) | [virtual] |
virtual void TGTextEntry::SetEchoMode | ( | EEchoMode | mode = kNormal |
) | [virtual] |
virtual void TGTextEntry::SetCursorPosition | ( | Int_t | pos | ) | [virtual] |
virtual void TGTextEntry::SetFocus | ( | ) | [virtual] |
virtual void TGTextEntry::SetState | ( | Bool_t | state | ) | [virtual] |
virtual void TGTextEntry::SetTitle | ( | const char * | label | ) | [inline, virtual] |
virtual void TGTextEntry::SetForegroundColor | ( | Pixel_t | fore | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 177 of file TGTextEntry.h.
References kFALSE, and SetTextColor().
Pixel_t TGTextEntry::GetForeground | ( | ) | const [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 178 of file TGTextEntry.h.
References fNormGC, and TGGC::GetForeground().
Bool_t TGTextEntry::HasOwnFont | ( | ) | const [inline] |
virtual void TGTextEntry::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
virtual void TGTextEntry::TextChanged | ( | const char * | text = 0 |
) | [virtual] |
virtual void TGTextEntry::ReturnPressed | ( | ) | [virtual] |
virtual void TGTextEntry::TabPressed | ( | ) | [virtual] |
virtual void TGTextEntry::ShiftTabPressed | ( | ) | [virtual] |
virtual void TGTextEntry::CursorOutLeft | ( | ) | [virtual] |
virtual void TGTextEntry::CursorOutRight | ( | ) | [virtual] |
virtual void TGTextEntry::CursorOutUp | ( | ) | [virtual] |
virtual void TGTextEntry::CursorOutDown | ( | ) | [virtual] |
virtual void TGTextEntry::DoubleClicked | ( | ) | [virtual] |
TGTextBuffer* TGTextEntry::fText [protected] |
Definition at line 52 of file TGTextEntry.h.
Referenced by AppendText(), CursorWordForward(), Del(), GetBuffer(), GetCharacterIndex(), GetDisplayText(), GetText(), Init(), Insert(), InsertText(), Remove(), SelectAll(), SetMaxLength(), SetText(), TGTextEntry(), and ~TGTextEntry().
Int_t TGTextEntry::fStartX [protected] |
Definition at line 53 of file TGTextEntry.h.
Referenced by DoRedraw(), NewMark(), and SetCursorPosition().
Int_t TGTextEntry::fEndX [protected] |
Int_t TGTextEntry::fStartIX [protected] |
Definition at line 55 of file TGTextEntry.h.
Referenced by CursorRight(), Deselect(), DoRedraw(), End(), HandleSelectionClear(), HasMarkedText(), Home(), Init(), MarkWord(), MaxMark(), MinMark(), NewMark(), SelectAll(), and SetCursorPosition().
Int_t TGTextEntry::fEndIX [protected] |
Definition at line 56 of file TGTextEntry.h.
Referenced by CursorRight(), Deselect(), DoRedraw(), HandleSelectionClear(), HasMarkedText(), Init(), MarkWord(), MaxMark(), MinMark(), and NewMark().
Bool_t TGTextEntry::fSelectionOn [protected] |
Definition at line 57 of file TGTextEntry.h.
Referenced by CursorRight(), Del(), Deselect(), DoRedraw(), End(), HandleButton(), HandleKey(), HandleMotion(), HandleSelectionClear(), HasMarkedText(), Home(), Init(), MarkWord(), NewMark(), SelectAll(), and SetCursorPosition().
Int_t TGTextEntry::fOffset [protected] |
Definition at line 58 of file TGTextEntry.h.
Referenced by DoRedraw(), End(), HandleButton(), HandleDoubleClick(), HandleMotion(), Home(), Init(), NewMark(), ScrollByChar(), SetCursorPosition(), and UpdateOffset().
Int_t TGTextEntry::fCursorX [protected] |
Definition at line 59 of file TGTextEntry.h.
Referenced by DoRedraw(), Init(), IsCursorOutOfFrame(), ScrollByChar(), SetCursorPosition(), and SetEchoMode().
Int_t TGTextEntry::fCursorIX [protected] |
Definition at line 60 of file TGTextEntry.h.
Referenced by Backspace(), CursorRight(), CursorWordBackward(), CursorWordForward(), Del(), Deselect(), DoRedraw(), End(), GetCursorPosition(), HandleSelectionClear(), Home(), Init(), Insert(), Remove(), ScrollByChar(), and SetCursorPosition().
Bool_t TGTextEntry::fCursorOn [protected] |
Definition at line 61 of file TGTextEntry.h.
Referenced by DoRedraw(), HandleFocusChange(), HandleTimer(), Init(), and SetState().
FontStruct_t TGTextEntry::fFontStruct [protected] |
Definition at line 62 of file TGTextEntry.h.
Referenced by DoRedraw(), End(), GetCharacterIndex(), TGNumberEntryField::GetCharWidth(), GetFontStruct(), Init(), NewMark(), SavePrimitive(), ScrollByChar(), SetCursorPosition(), SetFont(), TGTextEntry(), and UpdateOffset().
TGGC TGTextEntry::fNormGC [protected] |
Definition at line 63 of file TGTextEntry.h.
Referenced by DoRedraw(), GetForeground(), GetTextColor(), SavePrimitive(), SetFont(), SetTextColor(), and TGTextEntry().
TGGC TGTextEntry::fSelGC [protected] |
GContext_t TGTextEntry::fSelbackGC [protected] |
Atom_t TGTextEntry::fClipboard [protected] |
TBlinkTimer* TGTextEntry::fCurBlink [protected] |
Definition at line 67 of file TGTextEntry.h.
Referenced by HandleFocusChange(), Init(), SetFocus(), SetState(), and ~TGTextEntry().
TGToolTip* TGTextEntry::fTip [protected] |
Definition at line 68 of file TGTextEntry.h.
Referenced by GetToolTip(), HandleButton(), HandleCrossing(), HandleKey(), Init(), SavePrimitive(), SetToolTipText(), and ~TGTextEntry().
Int_t TGTextEntry::fMaxLen [protected] |
Definition at line 69 of file TGTextEntry.h.
Referenced by GetMaxLength(), Init(), SetMaxLength(), and SetText().
Bool_t TGTextEntry::fEdited [protected] |
Bool_t TGTextEntry::fFrameDrawn [protected] |
Definition at line 71 of file TGTextEntry.h.
Referenced by Init(), IsFrameDrawn(), and SetFrameDrawn().
EEchoMode TGTextEntry::fEchoMode [protected] |
Definition at line 72 of file TGTextEntry.h.
Referenced by DoRedraw(), GetEchoMode(), HandleButton(), HandleDoubleClick(), Init(), and SetEchoMode().
EInsertMode TGTextEntry::fInsertMode [protected] |
Definition at line 73 of file TGTextEntry.h.
Referenced by GetInsertMode(), Init(), Insert(), and SetInsertMode().
ETextJustification TGTextEntry::fAlignment [protected] |
Definition at line 74 of file TGTextEntry.h.
Referenced by GetAlignment(), Init(), SavePrimitive(), SetAlignment(), and UpdateOffset().
Bool_t TGTextEntry::fHasOwnFont [protected] |
Definition at line 75 of file TGTextEntry.h.
Referenced by HasOwnFont(), Init(), SetFont(), and SetTextColor().
UInt_t TGTextEntry::fDefWidth [protected] |
Definition at line 76 of file TGTextEntry.h.
Referenced by GetDefaultSize(), Init(), SavePrimitive(), and SetDefaultSize().
UInt_t TGTextEntry::fDefHeight [protected] |
Definition at line 77 of file TGTextEntry.h.
Referenced by GetDefaultSize(), Init(), SavePrimitive(), and SetDefaultSize().
TString * TGTextEntry::fgClipboardText [static, protected] |
Definition at line 89 of file TGTextEntry.h.
Referenced by CopyText(), HandleSelectionRequest(), and Paste().
const TGFont * TGTextEntry::fgDefaultFont [static, protected] |
const TGGC * TGTextEntry::fgDefaultSelectedGC [static, protected] |
const TGGC * TGTextEntry::fgDefaultSelectedBackgroundGC [static, protected] |
const TGGC * TGTextEntry::fgDefaultGC [static, protected] |
TGTextBuffer* TGTextEntry::fText [protected] |
Definition at line 52 of file TGTextEntry.h.
TBlinkTimer* TGTextEntry::fCurBlink [protected] |
Definition at line 67 of file TGTextEntry.h.
TGToolTip* TGTextEntry::fTip [protected] |
Definition at line 68 of file TGTextEntry.h.
TString* TGTextEntry::fgClipboardText [static, protected] |
Definition at line 89 of file TGTextEntry.h.
const TGFont* TGTextEntry::fgDefaultFont [static, protected] |
Definition at line 90 of file TGTextEntry.h.
const TGGC* TGTextEntry::fgDefaultSelectedGC [static, protected] |
Definition at line 91 of file TGTextEntry.h.
const TGGC* TGTextEntry::fgDefaultSelectedBackgroundGC [static, protected] |
Definition at line 92 of file TGTextEntry.h.
const TGGC* TGTextEntry::fgDefaultGC [static, protected] |
Definition at line 93 of file TGTextEntry.h.