12#ifndef ROOT_TGedPatternSelect
13#define ROOT_TGedPatternSelect
135 {
Emit(
"PatternSelected(Style_t)", pattern ? pattern :
GetPattern()); }
Handle_t GContext_t
Graphics context handle.
ULong_t Pixel_t
Pixel value.
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
The base class for composite widgets (menu bars, list boxes, etc.).
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Encapsulate a graphics context used in the low level graphics.
ROOT GUI Window base class.
The TGedPatternFrame is a small frame with border showing a specific pattern (fill style.
void SetActive(Bool_t in)
virtual Bool_t HandleCrossing(Event_t *event)
Handle mouse crossing event.
const TGWindow * fMsgWindow
static void SetFillStyle(TGGC *gc, Style_t fstyle)
Set fill area style.
TGToolTip * fTip
tool tip associated with a button
Style_t GetPattern() const
virtual ~TGedPatternFrame()
virtual void DrawBorder()
Draw border.
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event.
virtual void DoRedraw()
Redraw selected pattern.
is a button with pattern area with a little down arrow.
virtual void DoRedraw()
Draw selected pattern as current one.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save the pattern select widget as a C++ statement(s) on output stream out.
virtual Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Process message according to the user input.
virtual TGDimension GetDefaultSize() const
default size
virtual void PatternSelected(Style_t pattern=0)
Style_t GetPattern() const
virtual ~TGedPatternSelect()
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
The TGedPatternSelector is a composite frame with TGedPatternFrames of all diferent styles.
void SetActive(Int_t newat)
Set selected the current style.
const TGWindow * fMsgWindow
virtual Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Process message generated by pattern popup window.
virtual ~TGedPatternSelector()
Delete pattern popup window.
TGedPatternFrame * fCe[27]
is button that shows popup window when clicked.
virtual ~TGedSelect()
Destructor of pattern select button.
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button events in pattern select button.
void DrawTriangle(GContext_t gc, Int_t x, Int_t y)
Draw small triangle.
virtual void Enable()
Set widget state flag (kTRUE=enabled, kFALSE=disabled).
virtual void Disable()
Clear widget state flag.
virtual void DoRedraw()
Draw separator and arrow.
virtual void SetPopup(TGedPopup *p)
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.