#include <guitest.h>
Inheritance diagram for Editor:
Definition at line 236 of file guitest.h.
Definition at line 1420 of file guitest.cpp.
References TGCompositeFrame::AddFrame(), fEdit, TGFrame::fHeight, fL1, fL2, fOK, TGFrame::fWidth, TGCompositeFrame::GetDefaultSize(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), gVirtualX, kDoubleBorder, kLHintsBottom, kLHintsCenterX, kLHintsExpandX, kLHintsExpandY, kSunkenFrame, main(), TGCompositeFrame::MapSubwindows(), TGFrame::Move(), TGFrame::Resize(), SetTitle(), and TGMainFrame::SetWMPosition().
Editor::~Editor | ( | ) | [virtual] |
virtual Editor::~Editor | ( | ) | [virtual] |
virtual Editor::~Editor | ( | ) | [virtual] |
void Editor::LoadBuffer | ( | const char * | buffer | ) |
Definition at line 1484 of file guitest.cpp.
References fEdit, and TGTextView::LoadBuffer().
Referenced by TestMainFrame::DoButton(), and TestMainFrame::ProcessMessage().
void Editor::LoadFile | ( | const char * | file | ) |
TGTextEdit* Editor::GetEditor | ( | ) | const [inline] |
void Editor::SetTitle | ( | ) |
Definition at line 1460 of file guitest.cpp.
References GetEditor(), TGText::GetFileName(), TGTextView::GetText(), kFALSE, kTRUE, TGMainFrame::SetIconName(), TGMainFrame::SetWindowName(), sprintf(), and title.
Referenced by DoOpen(), DoSave(), Editor(), and ProcessMessage().
void Editor::Popup | ( | ) |
Definition at line 1477 of file guitest.cpp.
References TGFrame::MapWindow().
Referenced by TestMainFrame::DoButton(), and TestMainFrame::ProcessMessage().
void Editor::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 1505 of file guitest.cpp.
References GET_MSG(), GET_SUBMSG(), kC_COMMAND, kC_TEXTVIEW, kCM_BUTTON, kTRUE, kTXT_CLOSE, kTXT_OPEN, kTXT_SAVE, and SetTitle().
void Editor::LoadBuffer | ( | const char * | buffer | ) |
void Editor::LoadFile | ( | const char * | file | ) |
TGTextEdit* Editor::GetEditor | ( | ) | const [inline] |
void Editor::SetTitle | ( | ) |
void Editor::Popup | ( | ) |
void Editor::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Reimplemented from TGCompositeFrame.
void Editor::LoadFile | ( | const char * | file | ) |
void Editor::LoadBuffer | ( | const char * | buffer | ) |
void Editor::AddBuffer | ( | const char * | buffer | ) |
Definition at line 2522 of file guitest.C.
References TGTextView::AddText(), fEdit, and TGText::LoadBuffer().
Referenced by TestMainFrame::DoButton().
TGTextEdit* Editor::GetEditor | ( | ) | const [inline] |
void Editor::SetTitle | ( | ) |
void Editor::Popup | ( | ) |
void Editor::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
void Editor::DoOK | ( | ) |
void Editor::DoOpen | ( | ) |
void Editor::DoSave | ( | ) |
void Editor::DoClose | ( | ) |
TGTextEdit* Editor::fEdit [private] |
Definition at line 239 of file guitest.h.
Referenced by AddBuffer(), Editor(), GetEditor(), LoadBuffer(), LoadFile(), and ~Editor().
TGTextButton* Editor::fOK [private] |
TGLayoutHints* Editor::fL1 [private] |
TGLayoutHints* Editor::fL2 [private] |
TGTextEdit* Editor::fEdit [private] |
Definition at line 435 of file guitest.cxx.
TGTextButton* Editor::fOK [private] |
Definition at line 436 of file guitest.cxx.
TGLayoutHints* Editor::fL1 [private] |
Definition at line 437 of file guitest.cxx.
TGLayoutHints* Editor::fL2 [private] |
Definition at line 438 of file guitest.cxx.
TGTransientFrame* Editor::fMain [private] |
TGTextEdit* Editor::fEdit [private] |
TGTextButton* Editor::fOK [private] |
TGLayoutHints* Editor::fL1 [private] |
TGLayoutHints* Editor::fL2 [private] |