library: libGui #include "TGColorSelect.h" |
TGColorPopup
class description - source file - inheritance tree (.pdf)
public:
TGColorPopup(const TGWindow* p = 0, const TGWindow* m = 0, Pixel_t color = 0)
TGColorPopup(const TGColorPopup&)
virtual ~TGColorPopup()
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)
protected:
Int_t fActive
Int_t fLaunchDialog
const TGWindow* fMsgWindow
Pixel_t fCurrentColor
TGColorFrame, TG16ColorSelector, TGColorPopup and TGColorSelect.
The TGColorFrame is a small frame with border showing a specific
color.
The TG16ColorSelector is a composite frame with 16 TGColorFrames.
The TGColorPopup is a popup containing a TG16ColorSelector and a
"More..." button which popups up a TGColorDialog allowing custom
color selection.
The TGColorSelect widget is like a checkbutton but instead of the
check mark there is color area with a little down arrow. When
clicked on the arrow the TGColorPopup pops up.
Selecting a color in this widget will generate the event:
kC_COLORSEL, kCOL_SELCHANGED, widget id, pixel.
and the signal:
ColorSelected(Pixel_t color)
TGColorPopup(const TGWindow *p, const TGWindow *m, ULong_t color) :
TGCompositeFrame(p, 10, 10, kDoubleBorder | kRaisedFrame | kOwnBackground,
GetDefaultFrameBackground())
~TGColorPopup()
void EndPopup()
void PlacePopup(Int_t x, Int_t y, UInt_t w, UInt_t h)
Bool_t HandleButton(Event_t *event)
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGColorPopup TGColorPopup(const TGColorPopup&)
Author: Bertrand Bellenot + Fons Rademakers 22/08/02
Last update: root/gui:$Name: $:$Id: TGColorSelect.cxx,v 1.9 2004/10/18 12:32:12 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.