#include "TGedPatternSelect.h"

TGedPopup


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

class TGedPopup : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGedPopup
<-
TGedMarkerPopup
TGedPatternPopup

    public:
TGedPopup(const TGWindow* p, const TGWindow* m, UInt_t w, UInt_t h, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground()) TGedPopup(const TGedPopup&) virtual ~TGedPopup() static TClass* Class() void EndPopup() virtual Bool_t HandleButton(Event_t* event) virtual TClass* IsA() const void PlacePopup(Int_t x, Int_t y, UInt_t w, UInt_t h) virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
const TGWindow* fMsgWindow

Class Description

                                                                      
 TGedPatternFrame, TGedPatternSelector, TGedPatternPopup              
 and TGedPatternColor                                                 
                                                                      
 The TGedPatternFrame is a small frame with border showing            
 a specific pattern (fill style.                                      
                                                                      
 The TGedPatternSelector is a composite frame with TGedPatternFrames  
 of all diferent styles                                               
                                                                      
 The TGedPatternPopup is a popup containing a TGedPatternSelector.    
                                                                      
 The TGedPatternSelect widget is a button with pattern area with      
 a little down arrow. When clicked on the arrow the                   
 TGedPatternPopup pops up.                                            
                                                                      
 Selecting a pattern in this widget will generate the event:          
 kC_PATTERNSEL, kPAT_SELCHANGED, widget id, style.                    
                                                                      
 and the signal:                                                      
 PatternSelected(Style_t pattern)                                     
                                                                      
 TGedSelect is button that shows popup window when clicked.           
 TGedPopup is a popup window.                                         
                                                                      


TGedPopup(const TGWindow *p, const TGWindow *m, UInt_t w, UInt_t h, UInt_t options, Pixel_t back) : TGCompositeFrame(p, w, h, options, back)
 Create a popup frame.

void EndPopup()
 Ungrab pointer and unmap popup window.

void PlacePopup(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Place popup window at the specified place.

Bool_t HandleButton(Event_t *event)
 Handle mouse button event in popup window.

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
 Process messages generated by popup window.



Inline Functions


               void ~TGedPopup()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          TGedPopup TGedPopup(const TGedPopup&)


Author: Marek Biskup, Ilka Antcheva 22/07/03
Last update: root/ged:$Name: $:$Id: TGedPatternSelect.cxx,v 1.12 2005/11/11 15:38:30 brun Exp $
Copyright (C) 1995-2002, 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.