#include <GuiMainWindow.h>
Inheritance diagram for GuiMainWindow:

Public Member Functions | |
| GuiMainWindow (int width=1, int height=1) | |
| virtual | ~GuiMainWindow () |
| void | ShowAll () |
| void | SetMinSize (int width=-1, int height=-1) |
| void | ConnectClose (bool delete_on_close=false) |
| void | KillMe () |
Public Attributes | |
| SigC::Signal0< void > | close_window |
Protected Member Functions | |
| virtual void | CloseWindow () |
|
||||||||||||
|
Definition at line 6 of file GuiMainWindow.cxx. References GuiBase::SetLayoutHints(). 00007 : TGMainFrame(gClient->GetRoot(),(unsigned int)width,(unsigned int)height) 00008 { 00009 this->SetLayoutHints(kLHintsExpandX | kLHintsExpandY); 00010 // this->SetMinSize(width,height); 00011 }
|
|
|
Definition at line 13 of file GuiMainWindow.cxx. 00014 {
00015 }
|
|
|
Definition at line 51 of file GuiMainWindow.cxx. References close_window. 00052 {
00053 // this->TGMainFrame::CloseWindow();
00054 close_window();
00055 }
|
|
|
Definition at line 39 of file GuiMainWindow.cxx. References close_window, and KillMe(). Referenced by EVD::Digittext(), main(), EVD::MCtext(), EVD::MCTreetext(), EVD::Recotext(), RegistryDialog::Spawn(), Mint::SpawnDisplay(), and TridSetup(). 00040 {
00041 if (delete_on_close)
00042 close_window.connect(SigC::slot(*this,&GuiMainWindow::KillMe));
00043 else
00044 close_window.connect(SigC::slot(*this,&GuiMainWindow::UnmapWindow));
00045 }
|
|
|
Reimplemented in AWindow. Definition at line 47 of file GuiMainWindow.cxx. Referenced by ConnectClose(). 00048 {
00049 delete this;
00050 }
|
|
||||||||||||
|
Definition at line 28 of file GuiMainWindow.cxx. References max. Referenced by main(). 00029 {
00030 return;
00031 const unsigned int max = 20000; // I want a screen this big!
00032
00033 if (width < 0) width = this->GetDefaultWidth();
00034 if (height < 0) height = this->GetDefaultHeight();
00035 this->SetWMSizeHints((unsigned int)width,(unsigned int)height,
00036 max,max,1U,1U);
00037 }
|
|
|
Definition at line 17 of file GuiMainWindow.cxx. References GuiBase::LayoutChildren(). Referenced by PageDisplay::AddButton(), PageDisplay::AddEntry(), GuiMultiEntry::AddEntry(), PageDisplay::AddPage(), EVD::Digittext(), handler_menu(), main(), EVD::MCtext(), EVD::MCTreetext(), TridPageDisplay::MySpawnSinglePage(), EVD::Recotext(), RegistryDialog::Spawn(), spawn_a_window(), Mint::SpawnDisplay(), and TridSetup(). 00018 {
00019 this->LayoutChildren();
00020 this->MapSubwindows();
00021 this->Layout();
00022
00023 this->Resize(this->GetDefaultSize());
00024
00025 this->MapWindow();
00026 }
|
|
|
Definition at line 45 of file GuiMainWindow.h. Referenced by CloseWindow(), and ConnectClose(). |
1.3.9.1