TGMenuTitle
class description - source file - inheritance tree
    protected:
      virtual void DoRedraw()
    public:
          TGMenuTitle TGMenuTitle(const TGWindow* p, TGHotString* s, TGPopupMenu* menu, GContext_t norm = fgDefaultGC, FontStruct_t font = fgDefaultFontStruct, UInt_t options = 0)
          TGMenuTitle TGMenuTitle(TGMenuTitle&)
         virtual void ~TGMenuTitle()
              TClass* Class()
         virtual void DoSendMessage()
        virtual Int_t GetHotKeyCode() const
       virtual Bool_t GetState() const
      virtual TClass* IsA() const
         virtual void SetState(Bool_t state)
         virtual void ShowMembers(TMemberInspector& insp, char* parent)
         virtual void Streamer(TBuffer& b)
    protected:
             TGPopupMenu* fMenu                attached popup menu
             TGHotString* fLabel               menu title
                    Int_t fTitleId             id of selected menu item
                    void* fTitleData           user data associated with selected item
                   Bool_t fState               menu title state (active/not active)
                    Int_t fHkeycode            hot key code
             FontStruct_t fFontStruct          font
               GContext_t fNormGC              
               GContext_t fSelGC               normal and selection graphics contexts
        static GContext_t fgDefaultGC          
        static GContext_t fgDefaultSelectedGC  
      static FontStruct_t fgDefaultFontStruct  
                                                                      
 TGMenuBar, TGPopupMenu, TGMenuTitle and TGMenuEntry                  
                                                                      
 This header contains all different menu classes.                     
                                                                      
 Selecting a menu item will generate the event:                       
 kC_COMMAND, kCM_MENU, menu id, user data.                            
                                                                      
 TGMenuTitle(const TGWindow *p, TGHotString *s, TGPopupMenu *menu,
                         GContext_t norm, FontStruct_t font, UInt_t options)
    : TGFrame(p, 1, 1, options)
 Create a menu title. This object is created by a menu bar when adding
 a popup menu. The menu title adopts the hotstring.
void SetState(Bool_t state)
 Set state of menu title.
void DoRedraw()
 Draw a menu title.
void DoSendMessage()
 Send final selected menu item to be processed.
Inline Functions
             Bool_t GetState() const
              Int_t GetHotKeyCode() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
        TGMenuTitle TGMenuTitle(TGMenuTitle&)
               void ~TGMenuTitle()
Author:     Fons Rademakers   09/01/98
Last update:   2.23/02 02/09/99  15.54.27  by  Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved.         *
ROOT page - Class index - 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.