library: libGui
#include "TGMdiMenu.h"

TGMdiMenuBar


class description - header file - source file - inheritance tree (.pdf)

class TGMdiMenuBar : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMdiMenuBar

    protected:
void AddFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons) void HideFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons) void RemoveFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons) void ShowFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons) public:
TGMdiMenuBar(const TGWindow* p, Int_t w = 1, Int_t h = 20) TGMdiMenuBar(const TGMdiMenuBar&) virtual ~TGMdiMenuBar() void AddPopup(TGHotString* s, TGPopupMenu* menu, TGLayoutHints* l) static TClass* Class() TGMenuBar* GetMenuBar() const virtual TClass* IsA() const virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TGCompositeFrame* fLeft TGCompositeFrame* fRight left and right parts of MDI menu bar TGMenuBar* fBar standard menu bar TGLayoutHints* fLHint TGLayoutHints* fLeftHint left layout hints TGLayoutHints* fRightHint TGLayoutHints* fBarHint right layout hints

Class Description

                                                                      
 TGMdiMenu.                                                           
                                                                      
 This file contains the TGMdiMenuBar class.                           
                                                                      

TGMdiMenuBar(const TGWindow *p, int w, int h)
 TGMdiMenuBar constructor.
~TGMdiMenuBar()
 TGMdiMenuBar destructor.
void AddPopup(TGHotString *s, TGPopupMenu *menu, TGLayoutHints *l)
 Add popup menu to the MDI menu bar with layout hints l.
void AddFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
 This is called from TGMdiMainFrame on Maximize().
void RemoveFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
 This is called from TGMdiMainFrame on Restore()
void ShowFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
 This is called from TGMdiMainFrame on Maximize().
void HideFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
 Used to hide specific frames from menu bar
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a MDI menu as a C++ statement(s) on output stream out
TGMdiMenuBar(const TGWindow *p, Int_t w = 1, Int_t h = 20)

Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiMenu.cxx,v 1.8 2006/07/03 16:10:45 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.