library: libGed
#include "TGedPatternSelect.h"

TGedPatternSelect


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

class TGedPatternSelect : public TGedSelect

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

    protected:
virtual void DoRedraw() public:
TGedPatternSelect(const TGWindow* p, Style_t pattern, Int_t id) TGedPatternSelect(const TGedPatternSelect&) virtual ~TGedPatternSelect() static TClass* Class() virtual TGDimension GetDefaultSize() const Style_t GetPattern() const virtual TClass* IsA() const virtual void PatternSelected(Style_t pattern = 0) virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void SavePrimitive(ofstream& out, Option_t*) void SetPattern(Style_t pattern) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Style_t fPattern

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.                                         
                                                                      


TGedPatternSelect(const TGWindow *p, Style_t pattern, Int_t id) : TGedSelect(p, id)

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)

void DoRedraw()

void SetPattern(Style_t pattern)
 Set pattern.

void SavePrimitive(ofstream &out, Option_t *)
 Save the pattern select widget as a C++ statement(s) on output stream out



Inline Functions


                     void ~TGedPatternSelect()
                  Style_t GetPattern() const
              TGDimension GetDefaultSize() const
                     void PatternSelected(Style_t pattern = 0)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        TGedPatternSelect TGedPatternSelect(const TGedPatternSelect&)


Author: Marek Biskup, Ilka Antcheva 22/07/03
Last update: root/ged:$Name: $:$Id: TGedPatternSelect.cxx,v 1.11 2005/05/19 20:39:38 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.