library: libGed #include "TGedPatternSelect.h" |
TGedPatternFrame
class description - source file - inheritance tree (.pdf)
protected:
virtual void DoRedraw()
public:
TGedPatternFrame(const TGWindow* p, Style_t pattern, Int_t width = 40, Int_t height = 20)
TGedPatternFrame(const TGedPatternFrame&)
virtual ~TGedPatternFrame()
static TClass* Class()
virtual void DrawBorder()
Style_t GetPattern() const
virtual Bool_t HandleButton(Event_t* event)
virtual Bool_t HandleCrossing(Event_t* event)
virtual TClass* IsA() const
void SetActive(Bool_t in)
static void SetFillStyle(TGGC* gc, Style_t fstyle)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
const TGWindow* fMsgWindow
Bool_t fActive
Style_t fPattern
static TGGC* fgGC
TGToolTip* fTip tool tip associated with a button
char fTipText[5]
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.
TGedPatternFrame(const TGWindow *p, Style_t pattern,
int width, int height)
: TGFrame(p, width, height, kOwnBackground)
Bool_t HandleCrossing(Event_t *event)
Handle mouse crossing event.
Bool_t HandleButton(Event_t *event)
void DrawBorder()
void DoRedraw()
void SetFillStyle(TGGC* gc, Style_t fstyle)
Set fill area style.
fstyle : compound fill area interior style
fstyle = 1000*interiorstyle + styleindex
this function should be in TGGC !!!
Inline Functions
void ~TGedPatternFrame()
void SetActive(Bool_t in)
Style_t GetPattern() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGedPatternFrame TGedPatternFrame(const TGedPatternFrame&)
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.