73#include "RConfigure.h" 
   83const Int_t kAcceleration[
kAutoScrollFudge+1] = {1,1,1,2,3,4,6,7,8,16,32};
 
  194   if (-
xpos < 0) 
return;
 
  201#if defined(R__HAS_COCOA) 
 
  246   if (-
ypos < 0) 
return;
 
  253#if defined(R__HAS_COCOA) 
 
  302   if ((event->
fWidth > 32768) || (
event->fHeight  > 32768)) {
 
 
  349   wattr.fBitGravity = 1; 
 
  350   wattr.fWinGravity = 1;
 
 
  370   p->GetViewPort()->SetBackgroundColor(back);
 
  396   wattr.fBitGravity = 1; 
 
  397   wattr.fWinGravity = 1;
 
 
  441   Emit(
"CurrentChanged(Int_t,Int_t)",args);
 
 
  476   Emit(
"KeyPressed(TGFrame*,UInt_t,UInt_t)", args);
 
 
  517   Emit(
"Clicked(TGFrame*,Int_t)", args);
 
 
  532   Emit(
"Clicked(TGFrame*,Int_t,Int_t,Int_t)", args);
 
 
  545   Emit(
"DoubleClicked(TGFrame*,Int_t)", args);
 
 
  560   Emit(
"DoubleClicked(TGFrame*,Int_t,Int_t,Int_t)", args);
 
 
  607   Emit(
"UnSelectAll()");
 
 
  622      if (!
el->fFrame->IsActive()) {
 
  635   Emit(
"InvertSelection()");
 
 
  647      el->fFrame->DestroyWindow();
 
 
  667         item->DestroyWindow();
 
 
  690         *current = (
void *) 
lnk;
 
 
  958      fXp = pos.
fX + 
event->fX;
 
  959      fYp = pos.
fY + 
event->fY;
 
 
 1044   const char *iconname = 0;
 
 1046   if (
f->InheritsFrom(
"TGLVEntry")) {
 
 1057         if (((
name == 0) || (!
name[0])) && (cl != 0))
 
 1061         if (obj->
IsA()->InheritsFrom(
"TGeoVolume")) {
 
 
 1192         xf0 = 
f->GetX() + (
f->GetWidth() >> 3);
 
 1193         yf0 = 
f->GetY() + (
f->GetHeight() >> 3);
 
 1194         xff = 
xf0 + 
f->GetWidth() - (
f->GetWidth() >> 2);
 
 1195         yff = 
yf0 + 
f->GetHeight() - (
f->GetHeight() >> 2);
 
 1201            if (!
el->fFrame->IsActive())
 
 1207            if (
el->fFrame->IsActive())
 
 1228            if ((
Int_t(
el->fFrame->GetY()) + (
Int_t)
el->fFrame->GetHeight() > 
y) &&
 
 
 1429   if (
sname.Contains(
"*")) {
 
 1431      sname.ReplaceAll(
"*", 
"");
 
 
 1473   srch->fClose = close;
 
 1482                                              "FindFrameByName(char *)");
 
 
 1561         xf0 = 
f->GetX() + (
f->GetWidth() >> 3);
 
 1562         yf0 = 
f->GetY() + (
f->GetHeight() >> 3);
 
 1563         xff = 
xf0 + 
f->GetWidth() - (
f->GetWidth() >> 2);
 
 1564         yff = 
yf0 + 
f->GetHeight() - (
f->GetHeight() >> 2);
 
 1570            if (!
el->fFrame->IsActive())
 
 1574            if (
el->fFrame->IsActive())
 
 
 1604      str = 
fe->fFrame->GetTitle();
 
 
 1696   if (
name.IsNull()) 
return 0;
 
 1722      str = 
el->fFrame->GetTitle();
 
 1723      idx = str.Index(
name, 0, cmp);
 
 1729            if (str.Length() == 
name.Length()) 
return el;
 
 
 1766   if (
vb && 
vb->IsMapped()) {
 
 
 1782   if (
hb && 
hb->IsMapped()) {
 
 
 1808   if (
vb && 
vb->IsMapped()) {
 
 1812      if (
f->GetY() < pos) {
 
 1817      } 
else if (
f->GetY() + (
Int_t)
f->GetHeight() > 
vh) {
 
 1828   if (
hb && 
hb->IsMapped() && (!
vb || (
vb && !
vb->IsMapped()))) {
 
 1833      if (
f->GetX() < pos) {
 
 1838      } 
else if (
f->GetX() + (
Int_t)
f->GetWidth() > 
hw) {
 
 
 1865   Int_t dx = 
la->fLayout->GetPadLeft() + 
la->fLayout->GetPadRight();
 
 1866   Int_t dy = 
la->fLayout->GetPadTop() + 
la->fLayout->GetPadBottom();
 
 1873   if (
x<=0 && (
hb && !
hb->IsMapped())) { 
 
 1875      y = 
y - 
la->fFrame->GetDefaultHeight() - 
dy;
 
 
 1911   if (
x >= 
hw && (
hb && !
hb->IsMapped())) { 
 
 
 2001   if (
vb && 
vb->IsMapped()) {
 
 2004      if (
hb && 
hb->IsMapped()) {
 
 
 2046   if (
vb && 
vb->IsMapped()) {
 
 2049      if (
hb && 
hb->IsMapped()) {
 
 
 2115      gval.fLineWidth  = 0;
 
 2122      fgLineGC->SetDashList(
"\x1\x1", 2);
 
 
 2173         Error(
"MapSubwindows", 
"no canvas container set yet");
 
 
 2192      Error(
"AddFrame", 
"no canvas container set yet");
 
 2198      Error(
"AddFrame", 
"canvas container must inherit from TGCompositeFrame");
 
 
 2212         if (
gClient->GetStyle() > 1) 
break;
 
 
 2238      Error(
"Layout", 
"no canvas container set yet");
 
 2254   if (
container->GetDefaultWidth() > cw) {
 
 2258         if ((
Int_t) ch < 0) {
 
 2266   if (
container->GetDefaultHeight() > ch) {
 
 2270         if ((
Int_t) cw < 0) {
 
 2280   if (
container->GetDefaultWidth() > cw) {
 
 2285            if ((
Int_t) ch < 0) {
 
 
 2450   out << 
"\n   // canvas widget\n";
 
 2452   out << 
"   TGCanvas *" << 
GetName() << 
" = new TGCanvas(" << 
fParent->GetName() << 
"," << 
GetWidth() << 
"," 
 2456      out << 
"   " << 
GetName() << 
"->SetName(\"" << 
GetName() << 
"\");\n";
 
 2459   out << 
"\n   // canvas viewport\n";
 
 2460   out << 
"   TGViewPort *" << 
vp->GetName() << 
" = " << 
GetName() << 
"->GetViewPort();\n";
 
 2465   out << 
"   " << 
vp->GetName() << 
"->AddFrame(" << 
cont->GetName() << 
");\n";
 
 2467   out << 
"   " << 
cont->GetName() << 
"->SetLayoutManager(";
 
 2468   cont->GetLayoutManager()->SavePrimitive(out, 
option);
 
 2471   out << 
"   " << 
cont->GetName() << 
"->MapSubwindows();\n";
 
 2473   out << 
"   " << 
GetName() << 
"->SetContainer(" << 
cont->GetName() << 
");\n";
 
 2475   out << 
"   " << 
GetName() << 
"->MapSubwindows();\n";
 
 
 2492   out << 
"\n   // canvas container\n";
 
 2494   out << 
"   TGContainer *" << 
GetName() << 
" = new TGContainer(";
 
 2502      out << 
"   " << 
GetName() << 
"->SetName(\"" << 
GetName() << 
"\");\n";
 
 
const Mask_t kWABitGravity
 
const Mask_t kGCBackground
 
const Mask_t kGCForeground
 
const Mask_t kGCLineStyle
 
const Mask_t kGCSubwindowMode
 
const Mask_t kGCLineWidth
 
Handle_t Pixmap_t
Pixmap handle.
 
const Mask_t kButtonPressMask
 
const Mask_t kGCFillStyle
 
Handle_t Window_t
Window handle.
 
const Mask_t kWAWinGravity
 
const Mask_t kAnyModifier
 
const Mask_t kKeyPressMask
 
Handle_t GContext_t
Graphics context handle.
 
const Mask_t kPointerMotionMask
 
const Mask_t kKeyShiftMask
 
const Mask_t kKeyControlMask
 
const Mask_t kStructureNotifyMask
 
const Mask_t kButtonReleaseMask
 
const Mask_t kGCGraphicsExposures
 
ULong_t Pixel_t
Pixel value.
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
const Int_t kKeyboardTime
 
const Int_t kAutoScrollFudge
 
const Int_t kAcceleration[kAutoScrollFudge+1]
 
R__EXTERN TGDNDManager * gDNDManager
 
static unsigned int total
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void xpos
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void ypos
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t gval
 
R__EXTERN void * gTQSender
 
R__EXTERN TSystem * gSystem
 
TClass instances represent classes, structs and namespaces in the ROOT type system.
 
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
 
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
 
~TGCanvas() override
Delete canvas.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a canvas widget as a C++ statement(s) on output stream out.
 
void DrawBorder() override
Draw canvas border.
 
TGFrame * GetContainer() const
 
virtual void SetVsbPosition(Int_t newPos)
Set position of vertical scrollbar.
 
virtual void SetHsbPosition(Int_t newPos)
Set position of horizontal scrollbar.
 
virtual Int_t GetVsbPosition() const
Get position of vertical scrollbar.
 
TGViewPort * fVport
viewport through which we look at contents
 
Int_t fScrolling
flag which scrolling modes are allowed
 
TGHScrollBar * fHScrollbar
horizontal scrollbar
 
TGVScrollBar * GetVScrollbar() const
 
TGVScrollBar * fVScrollbar
vertical scrollbar
 
TGViewPort * GetViewPort() const
 
void MapSubwindows() override
Map all canvas sub windows.
 
virtual Int_t GetHsbPosition() const
Get position of horizontal scrollbar.
 
virtual void ClearViewPort()
Clear view port and redraw content.
 
void SetScrolling(Int_t scrolling)
Set scrolling policy.
 
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Handle message generated by the canvas scrollbars.
 
@ kCanvasScrollHorizontal
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Adding a frame to a canvas is actually adding the frame to the viewport container.
 
TGCanvas(const TGCanvas &)=delete
 
void Layout() override
Create layout for canvas.
 
TGHScrollBar * GetHScrollbar() const
 
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
 
TGMimeTypes * GetMimeTypeList() const
 
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
 
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
 
virtual TList * GetList() const
 
virtual TGLayoutManager * GetLayoutManager() const
 
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
 
void Layout() override
Layout the elements of the composite frame.
 
Bool_t fMapSubwindows
kTRUE - map subwindows
 
TList * fList
container of frame elements
 
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
 
TGContainerKeyboardTimer(TGContainer *t)
 
Bool_t Notify() override
single shot timer
 
TGRectangle fExposedRegion
exposed area
 
virtual void ActivateItem(TGFrameElement *el)
Activate item.
 
Bool_t fKeyTimerActive
kTRUE - keyboard timer is active
 
virtual void RemoveItem(TGFrame *item)
Remove item from container.
 
Bool_t HandleKey(Event_t *event) override
The key press event handler converts a key press to some line editor action.
 
TGCanvas * fCanvas
pointer to canvas
 
TTimer * fScrollTimer
autoscroll timer
 
virtual void RepeatSearch()
Repeats search.
 
Bool_t HandleDoubleClick(Event_t *event) override
Handle double click mouse event.
 
Int_t fYf
other corner of rubber band box
 
virtual void UnSelectAll()
Unselect all items in the container.
 
virtual void PageDown(Bool_t select=kFALSE)
Move position one page down.
 
virtual void LineLeft(Bool_t select=kFALSE)
Move current position one column left.
 
Bool_t HandleButton(Event_t *event) override
Handle mouse button event in container.
 
virtual void ClearViewPort()
Clear view port and redraw full content.
 
const TGWindow * fMsgWindow
window handling container messages
 
virtual TGFrameElement * FindFrame(Int_t x, Int_t y, Bool_t exclude=kTRUE)
Find frame located int container at position x,y.
 
Int_t fYp
previous pointer position
 
virtual void AdjustPosition()
Move content to position of highlighted/activated frame.
 
~TGContainer() override
Delete canvas container.
 
virtual void OnMouseOver(TGFrame *)
Signal emitted when pointer is over entry.
 
virtual void Clicked(TGFrame *f, Int_t btn)
Emit Clicked() signal.
 
virtual void InvertSelection()
Invert the selection, all selected items become unselected and vice versa.
 
virtual void PageUp(Bool_t select=kFALSE)
Move position one page up.
 
virtual void LineDown(Bool_t select=kFALSE)
Move one line down.
 
virtual const TGFrame * GetNextSelected(void **current)
Return the next selected item.
 
Bool_t HandleExpose(Event_t *event) override
Handle expose events. Do not use double buffer.
 
virtual void Search(Bool_t close=kTRUE)
Invokes search dialog. Looks for item with the entered name.
 
virtual void LineUp(Bool_t select=kFALSE)
Make current position first line in window by scrolling up.
 
void Layout() override
Layout container entries.
 
Bool_t fLastDir
direction of last search
 
Int_t fY0
corner of rubber band box
 
virtual void Home(Bool_t select=kFALSE)
Move to upper-left corner of container.
 
virtual void KeyPressed(TGFrame *, UInt_t keysym, UInt_t mask)
Signal emitted when keyboard key pressed.
 
virtual void SetDragPixmap(const TGPicture *pic)
Set drag window pixmaps and hotpoint.
 
const TGPicture * GetObjPicture(TGFrame *f)
Retrieve icons associated with class "name".
 
virtual void SetVsbPosition(Int_t newPos)
Set position of vertical scrollbar.
 
TGCanvas * GetCanvas() const
 
virtual void ReturnPressed(TGFrame *)
Signal emitted when Return/Enter key pressed.
 
virtual void SearchPattern()
Search for entry which name begins with pattern.
 
virtual void SetPageDimension(const TGDimension &dim)
Set page dimension.
 
virtual void LineRight(Bool_t select=kFALSE)
Move current position one column right.
 
TGContainer(const TGContainer &)=delete
 
Int_t fSelected
number of selected items
 
void DoRedraw() override
Redraw content of container in the viewport region.
 
virtual void SpacePressed(TGFrame *)
Signal emitted when space key pressed.
 
virtual void SetHsbPosition(Int_t newPos)
set new hor. position
 
Bool_t fScrolling
kTRUE - when scrolling is ON
 
virtual TGDimension GetPageDimension() const
Returns page dimension.
 
TString fLastName
the name of object of last search
 
virtual void OnAutoScroll()
Autoscroll while close to & beyond The Wall.
 
static const TGGC & GetLineGC()
Get graphics context for line drawing.
 
Bool_t fDragging
true if in dragging mode
 
virtual void CurrentChanged(Int_t x, Int_t y)
Emit signal when current position changed.
 
virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw a region of container in viewport.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a canvas container as a C++ statement(s) on output stream out.
 
friend class TGContainerScrollTimer
 
TGViewPort * fViewPort
container viewport
 
virtual TGVScrollBar * GetVScrollbar() const
returns pointer to vert. scroll bar
 
virtual TGFrame * FindFrameByName(const char *name)
Find frame by name.
 
friend class TGContainerKeyboardTimer
 
virtual void * FindItem(const TString &name, Bool_t direction=kTRUE, Bool_t caseSensitive=kTRUE, Bool_t subString=kFALSE)
 
Bool_t HandleMotion(Event_t *event) override
Handle mouse motion events.
 
Bool_t fOnMouseOver
kTRUE when mouse pointer is over entry
 
Bool_t fLastCase
case sensitivity of last search
 
const TGWindow * GetMessageWindow() const
 
void RemoveAll() override
Remove all items from the container.
 
virtual void DoubleClicked(TGFrame *f, Int_t btn)
Emit DoubleClicked() signal.
 
virtual TGPosition GetPagePosition() const
Returns page position.
 
virtual void End(Bool_t select=kFALSE)
Move to the bottom-right corner of container.
 
Bool_t fLastSubstring
substring search option of last search
 
virtual void SetPagePosition(const TGPosition &pos)
Set page position.
 
virtual TGHScrollBar * GetHScrollbar() const
returns pointer to hor. scroll bar
 
TGFrameElement * fLastActiveEl
last active item
 
virtual void SelectAll()
Select all items in the container.
 
TString fKeyInput
keyboard input (buffer)
 
TTimer * fKeyTimer
keyboard timer
 
virtual void DeActivateItem(TGFrameElement *el)
DeActivate item.
 
Bool_t IsDragging() const
 
Bool_t StartDrag(TGFrame *src, Int_t x_root, Int_t y_root, Window_t grabWin=kNone)
Start dragging.
 
void SetDragPixmap(Pixmap_t pic, Pixmap_t mask, Int_t hot_x, Int_t hot_y)
Set drag window pixmaps and hotpoint.
 
Bool_t Drag(Int_t x_root, Int_t y_root, Atom_t action, Time_t timestamp)
Process drag event.
 
static Atom_t GetDNDActionCopy()
 
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
 
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
 
void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
Move and/or resize the frame.
 
static const TGGC & GetBlackGC()
Get black graphics context.
 
UInt_t fOptions
frame options
 
virtual Bool_t HandleConfigureNotify(Event_t *event)
This event is generated when the frame is resized.
 
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
 
virtual Bool_t IsActive() const
 
UInt_t fHeight
frame height
 
virtual UInt_t GetDefaultWidth() const
 
virtual UInt_t GetDefaultHeight() const
 
virtual void DrawBorder()
Draw frame border.
 
Int_t fBorderWidth
frame border width
 
virtual void Activate(Bool_t)
 
void MapWindow() override
map window
 
static const TGGC & GetHilightGC()
Get highlight color graphics context.
 
void Move(Int_t x, Int_t y) override
Move frame.
 
void UnmapWindow() override
unmap window
 
virtual void SendMessage(const TGWindow *w, Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Send message (i.e.
 
static const TGGC & GetShadowGC()
Get shadow color graphics context.
 
TString SaveCtorArgs(std::ostream &out, UInt_t dflt_options=kChildFrame, Bool_t check_white_pixel=kFALSE)
Return options and custom color as constructor args Used in the SavePrimitive methods,...
 
static const TGGC & GetWhiteGC()
Get white graphics context.
 
static Pixel_t fgWhitePixel
 
Pixel_t fBackground
frame background color
 
static Pixel_t fgBlackPixel
 
static const TGGC & GetBckgndGC()
Get background color graphics context.
 
Encapsulate a graphics context used in the low level graphics.
 
This class describes layout hints used by the layout classes.
 
Int_t GetPadRight() const
 
Int_t GetPadBottom() const
 
const TGPicture * GetIcon(const char *filename, Bool_t small_icon)
Return icon belonging to mime type of filename.
 
TGClient * fClient
Connection to display server.
 
Handle_t fId
X11/Win32 Window identifier.
 
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
 
void Merge(const TGRectangle &r)
 
static TGSearchDialog *& SearchDialog()
Return global search dialog.
 
TGFrame * GetContainer() const
 
Bool_t HandleConfigureNotify(Event_t *event) override
Handle resize events.
 
TGViewPort(const TGViewPort &)=delete
 
void SetContainer(TGFrame *f)
Add container frame to the viewport.
 
virtual void SetHPos(Int_t xpos)
Moves content of container frame in horizontal direction.
 
virtual void SetVPos(Int_t ypos)
Moves content of container frame in vertical direction.
 
void SetPos(Int_t xpos, Int_t ypos)
Goto new position.
 
ROOT GUI Window base class.
 
virtual UInt_t GetEditDisabled() const
 
virtual void SetEditDisabled(UInt_t on=kEditDisable)
 
virtual Bool_t HandleExpose(Event_t *event)
 
const TGWindow * fParent
Parent window.
 
@ kEditDisableBtnEnable
window can handle mouse button events
 
@ kEditDisableGrab
window grab cannot be edited
 
@ kEditDisable
disable edit of this window
 
virtual void SetWindowName(const char *name=nullptr)
Set window name.
 
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
 
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
 
UInt_t fEditDisabled
flags used for "guibuilding"
 
Utility class for browsing TMapFile objects.
 
Book space in a file, create I/O buffers, to fill them, (un)compress them.
 
TObject * After(const TObject *obj) const override
Returns the object after object obj.
 
TObject * Before(const TObject *obj) const override
Returns the object before object obj.
 
TObject * Remove(TObject *obj) override
Remove object from the list.
 
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
 
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
 
virtual TObjLink * FirstLink() const
 
const char * GetName() const override
Returns name of object.
 
Wrapper around a TObject so it can be stored in a TList.
 
Mother of all ROOT objects.
 
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
virtual const char * GetName() const
Returns name of object.
 
virtual const char * GetIconName() const
Returns mime type name of object.
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
virtual const char * GetTitle() const
Returns title of object.
 
virtual TClass * IsA() const
 
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
 
Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
 
virtual void AddTimer(TTimer *t)
Add timer to list of system timers.
 
virtual TTimer * RemoveTimer(TTimer *t)
Remove timer from list of system timers.
 
Handles synchronous and a-synchronous timer events.
 
void Reset()
Reset the timer.
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
 
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.
 
EGEventType fType
of event (see EGEventType)
 
Int_t fY
pointer x, y coordinates in event window
 
UInt_t fHeight
width and height of exposed area
 
Window_t fWindow
window reported event is relative to
 
UInt_t fState
key or button mask
 
Int_t fYRoot
coordinates relative to root
 
Time_t fTime
time event event occurred in ms
 
UInt_t fCode
key or button code
 
Longptr_t fUser[5]
5 longs can be used by client message events NOTE: only [0], [1] and [2] may be used.
 
Graphics context structure.
 
Attributes that can be used when creating or changing a window.