174 #define gClient (TGClient::Instance())
void ProcessedEvent(Event_t *event, Window_t wid)
Emits a signal when an event has been processed.
EGEventType GetWaitForEvent() const
Bool_t HandleEvent(Event_t *event)
Handle a GUI event.
TGPicturePool * fPicturePool
TGPicturePool * GetPicturePool() const
void SetRoot(TGWindow *root=0)
Sets the current root (i.e.
virtual ~TGClient()
Closing down client: cleanup and close X connection.
void RemoveIdleHandler(TGIdleHandler *h)
Remove handler for idle events.
Pixel_t GetHilite(Pixel_t base_color) const
Return pixel value of hilite color based on base_color.
const TGWindow * GetRoot() const
Returns current root (i.e.
std::vector< double > values
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
Pixel_t GetShadow(Pixel_t base_color) const
Return pixel value of shadow color based on base_color.
UInt_t GetDisplayWidth() const
Get display width.
TGWindow * GetWindowByName(const char *name) const
Find a TGWindow via its name (unique name used in TGWindow::SavePrimitive).
Bool_t GetColorByName(const char *name, Pixel_t &pixel) const
Get a color by name.
void WaitForUnmap(TGWindow *w)
Wait for window to be unmapped.
void CancelRedraw(TGWindow *w)
void UnregisterWindow(TGWindow *w)
Remove a TGWindow from the list of windows.
Bool_t ProcessIdleEvent()
Process one idle event.
Bool_t IsEditable() const
void RegisterPopup(TGWindow *w)
Add a popup menu to the list of popups.
TGClient(const TGClient &)
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
void RegisterWindow(TGWindow *w)
Add a TGWindow to the clients list of windows.
void FreePicture(const TGPicture *pic)
Free picture resource.
void ProcessLine(TString cmd, Long_t msg, Long_t parm1, Long_t parm2)
Execute string "cmd" via the interpreter.
void SetStyle(UInt_t newstyle)
THashList * GetListOfWindows() const
Bool_t DoRedraw()
Redraw all windows that need redrawing.
void FreeGC(const TGGC *gc)
Free a graphics context.
void RegisteredWindow(Window_t w)
Emits a signal when a Window has been registered in TGClient.
TGFontPool * GetFontPool() const
void SetWaitForWindow(Window_t wid)
void WaitFor(TGWindow *w)
Wait for window to be destroyed.
void FreeColor(Pixel_t color) const
Free color.
Colormap_t GetDefaultColormap() const
void FreeFont(const TGFont *font)
Free a font.
TGResourcePool * fResourcePool
Bool_t HandleMaskEvent(Event_t *event, Window_t wid)
Handle masked events only if window wid is the window for which the event was reported or if wid is a...
UInt_t GetDisplayHeight() const
Get display height.
void RemoveUnknownWindowHandler(TGUnknownWindowHandler *h)
Remove handler for unknown (i.e. unregistered) windows.
void AddUnknownWindowHandler(TGUnknownWindowHandler *h)
Add handler for unknown (i.e. unregistered) windows.
Bool_t ProcessOneEvent()
Process one event.
TList * GetListOfPopups() const
static TGClient * Instance()
Returns global gClient (initialize graphics first, if not already done)
Bool_t HandleInput()
Handles input from the display server.
TGWindow * GetWindowById(Window_t sw) const
Find a TGWindow via its handle. If window is not found return 0.
Bool_t IsEditDisabled() const
Returns kTRUE if edit/guibuilding is forbidden.
TGMimeTypes * GetMimeTypeList() const
TGGC * GetGC(GCValues_t *values, Bool_t rw=kFALSE)
Get graphics context from the gc pool.
Window_t GetWaitForWindow() const
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
TGMimeTypes * fMimeTypeList
void ResetWaitFor(TGWindow *w)
reset waiting
const TGResourcePool * GetResourcePool() const
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
void AddIdleHandler(TGIdleHandler *h)
Add handler for idle events.
TGGCPool * GetGCPool() const
Mother of all ROOT objects.
This class implements TVirtualX interface for MacOS X, using Cocoa and Quartz 2D. ...
Bool_t ProcessEventsFor(TGWindow *w)
Like gSystem->ProcessEvents() but then only allow events for w to be processed.
FontStruct_t GetFontByName(const char *name, Bool_t fixedDefault=kTRUE) const
Get a font by name.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
EGEventType fWaitForEvent
TGClient & operator=(const TGClient &)
Colormap_t fDefaultColormap
void SetEditDisabled(Bool_t on=kTRUE)
If on is kTRUE editting/guibuilding is forbidden.
void UnregisterPopup(TGWindow *w)
Remove a popup menu from the list of popups.
TGFont * GetFont(const char *font, Bool_t fixedDefault=kTRUE)
Get a font from the font pool.