library: libGed
#include "TGedPatternSelect.h"

TGedSelect


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

class TGedSelect : public TGCheckButton

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
TGWidget
<-
TGButton
<-
TGTextButton
<-
TGCheckButton
<-
TGedSelect
<-
TGedMarkerSelect
TGedPatternSelect

    protected:
virtual void DoRedraw() void DrawTriangle(GContext_t gc, Int_t x, Int_t y) public:
TGedSelect(const TGWindow* p, Int_t id) TGedSelect(const TGedSelect&) virtual ~TGedSelect() static TClass* Class() virtual void Disable() virtual void Enable() virtual Bool_t HandleButton(Event_t* event) virtual TClass* IsA() const virtual void SetPopup(TGedPopup* p) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TGGC* fDrawGC TGedPopup* fPopup

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.                                         
                                                                      

TGedSelect(const TGWindow *p, Int_t id)
 Create pattern select button.
~TGedSelect()
 Destructor of pattern select button.
Bool_t HandleButton(Event_t *event)
 Handle mouse button events in pattern select button.
void Enable()
 Set widget state flag (kTRUE=enabled, kFALSE=disabled).
void Disable()
 Clear widget state flag.
void DoRedraw()
 Draw separator and arrow.
void DrawTriangle(GContext_t gc, Int_t x, Int_t y)
 Draw small triangle.
TGedSelect(const TGWindow *p, Int_t id)
void SetPopup(TGedPopup* p)

Author: Marek Biskup, Ilka Antcheva 22/07/03
Last update: root/ged:$Name: $:$Id: TGedPatternSelect.cxx,v 1.14 2006/07/03 16:10:43 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.