|
ROOT
Reference Guide |
|
Go to the documentation of this file.
33 #ifndef ROOT_TGMdiFrame
34 #define ROOT_TGMdiFrame
virtual void SetMdiHints(ULong_t mdihints)
Set MDI hints, also used to identify titlebar buttons.
virtual Bool_t CloseWindow()
Close MDI frame window.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
ULong_t Pixel_t
Pixel value.
void SetWindowName(const char *name)
Set MDI window name (set titlebar title).
TGMdiFrame(TGMdiMainFrame *main, Int_t w, Int_t h, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
TGMdiFrame constructor.
void DontCallClose()
Typically call this method in the slot connected to the CloseWindow() signal to prevent the calling o...
TString GetMdiHintsString() const
Returns a MDI option string - used in SavePrimitive().
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
const TGPicture * GetWindowIcon()
Return pointer to picture used as MDI window icon (on titlebar).
const char * GetWindowName()
Return MDI window name.
ULong_t GetMdiHints() const
This file contains the TGMdiFrame class.
This file contains the TGMdiMainFrame class.
virtual ~TGMdiFrame()
TGMdiFrame destructor.
#define ClassDef(name, id)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a MDIframe as a C++ statement(s) on output stream out.
virtual void Move(Int_t x, Int_t y)
Move MDI window at position x, y.
The base class for composite widgets (menu bars, list boxes, etc.).
void SetWindowIcon(const TGPicture *pic)
Set MDI window icon (titlebar icon).
int main(int argc, char *argv[])
This file contains all different MDI frame decoration classes.