ROOT 6.10/09 Reference Guide |
Definition at line 46 of file TGClient.h.
Public Member Functions | |
TGClient (const char *dpyName=0) | |
Create a connection with the display sever on host dpyName and setup the complete GUI system, i.e., graphics contexts, fonts, etc. More... | |
virtual | ~TGClient () |
Closing down client: cleanup and close X connection. More... | |
void | AddIdleHandler (TGIdleHandler *h) |
Add handler for idle events. More... | |
void | AddUnknownWindowHandler (TGUnknownWindowHandler *h) |
Add handler for unknown (i.e. unregistered) windows. More... | |
void | CancelRedraw (TGWindow *w) |
void | ForceRedraw () |
void | FreeColor (Pixel_t color) const |
Free color. More... | |
void | FreeFont (const TGFont *font) |
Free a font. More... | |
void | FreeGC (const TGGC *gc) |
Free a graphics context. More... | |
void | FreeGC (GContext_t gc) |
Free a graphics context. More... | |
void | FreePicture (const TGPicture *pic) |
Free picture resource. More... | |
Bool_t | GetColorByName (const char *name, Pixel_t &pixel) const |
Get a color by name. More... | |
Colormap_t | GetDefaultColormap () const |
const TGWindow * | GetDefaultRoot () const |
Returns the root (i.e. More... | |
UInt_t | GetDisplayHeight () const |
Get display height. More... | |
UInt_t | GetDisplayWidth () const |
Get display width. More... | |
TGFont * | GetFont (const char *font, Bool_t fixedDefault=kTRUE) |
Get a font from the font pool. More... | |
TGFont * | GetFont (const TGFont *font) |
Get again specified font. Will increase its usage count. More... | |
FontStruct_t | GetFontByName (const char *name, Bool_t fixedDefault=kTRUE) const |
Get a font by name. More... | |
TGFontPool * | GetFontPool () const |
TGGC * | GetGC (GCValues_t *values, Bool_t rw=kFALSE) |
Get graphics context from the gc pool. More... | |
TGGCPool * | GetGCPool () const |
Pixel_t | GetHilite (Pixel_t base_color) const |
Return pixel value of hilite color based on base_color. More... | |
TList * | GetListOfPopups () const |
THashList * | GetListOfWindows () const |
TGMimeTypes * | GetMimeTypeList () const |
const TGPicture * | GetPicture (const char *name) |
Get picture from the picture pool. More... | |
const TGPicture * | GetPicture (const char *name, UInt_t new_width, UInt_t new_height) |
Get picture with specified size from pool (picture will be scaled if necessary). More... | |
TGPicturePool * | GetPicturePool () const |
const TGResourcePool * | GetResourcePool () const |
const TGWindow * | GetRoot () const |
Returns current root (i.e. More... | |
Pixel_t | GetShadow (Pixel_t base_color) const |
Return pixel value of shadow color based on base_color. More... | |
UInt_t | GetStyle () const |
EGEventType | GetWaitForEvent () const |
Window_t | GetWaitForWindow () const |
TGWindow * | GetWindowById (Window_t sw) const |
Find a TGWindow via its handle. If window is not found return 0. More... | |
TGWindow * | GetWindowByName (const char *name) const |
Find a TGWindow via its name (unique name used in TGWindow::SavePrimitive). More... | |
Bool_t | HandleEvent (Event_t *event) |
Handle a GUI event. More... | |
Bool_t | HandleInput () |
Handles input from the display server. More... | |
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 parent of the event window. More... | |
Bool_t | IsEditable () const |
Bool_t | IsEditDisabled () const |
Returns kTRUE if edit/guibuilding is forbidden. More... | |
void | NeedRedraw (TGWindow *w, Bool_t force=kFALSE) |
Set redraw flags. More... | |
void | ProcessedEvent (Event_t *event, Window_t wid) |
Emits a signal when an event has been processed. More... | |
Bool_t | ProcessEventsFor (TGWindow *w) |
Like gSystem->ProcessEvents() but then only allow events for w to be processed. More... | |
void | ProcessLine (TString cmd, Long_t msg, Long_t parm1, Long_t parm2) |
Execute string "cmd" via the interpreter. More... | |
void | RegisteredWindow (Window_t w) |
Emits a signal when a Window has been registered in TGClient. More... | |
void | RegisterPopup (TGWindow *w) |
Add a popup menu to the list of popups. More... | |
void | RegisterWindow (TGWindow *w) |
Add a TGWindow to the clients list of windows. More... | |
void | RemoveIdleHandler (TGIdleHandler *h) |
Remove handler for idle events. More... | |
void | RemoveUnknownWindowHandler (TGUnknownWindowHandler *h) |
Remove handler for unknown (i.e. unregistered) windows. More... | |
void | ResetWaitFor (TGWindow *w) |
reset waiting More... | |
void | SetEditDisabled (Bool_t on=kTRUE) |
If on is kTRUE editting/guibuilding is forbidden. More... | |
void | SetRoot (TGWindow *root=0) |
Sets the current root (i.e. More... | |
void | SetStyle (UInt_t newstyle) |
void | SetStyle (const char *style) |
Set the button style (modern or classic). More... | |
void | SetWaitForWindow (Window_t wid) |
void | UnregisterPopup (TGWindow *w) |
Remove a popup menu from the list of popups. More... | |
void | UnregisterWindow (TGWindow *w) |
Remove a TGWindow from the list of windows. More... | |
void | WaitFor (TGWindow *w) |
Wait for window to be destroyed. More... | |
void | WaitForUnmap (TGWindow *w) |
Wait for window to be unmapped. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. More... | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad) . More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
Public Member Functions inherited from TQObject | |
TQObject () | |
TQObject Constructor. More... | |
virtual | ~TQObject () |
TQObject Destructor. More... | |
Bool_t | AreSignalsBlocked () const |
Bool_t | BlockSignals (Bool_t b) |
virtual void | ChangedBy (const char *method) |
void | CollectClassSignalLists (TList &list, TClass *cls) |
Collect class signal lists from class cls and all its base-classes. More... | |
Bool_t | Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot) |
Non-static method is used to connect from the signal of this object to the receiver slot. More... | |
virtual void | Connected (const char *) |
virtual void | Destroyed () |
Bool_t | Disconnect (const char *signal=0, void *receiver=0, const char *slot=0) |
Disconnects signal of this object from slot of receiver. More... | |
virtual void | Disconnected (const char *) |
template<typename T > | |
void | Emit (const char *signal, const T &arg) |
Activate signal with single parameter. More... | |
void | Emit (const char *signal) |
Acitvate signal without args. More... | |
template<typename... T> | |
void | EmitVA (const char *signal_name, Int_t, const T &... params) |
Emit a signal with a varying number of arguments. More... | |
TList * | GetListOfClassSignals () const |
Returns pointer to list of signals of this class. More... | |
TList * | GetListOfConnections () const |
TList * | GetListOfSignals () const |
virtual Bool_t | HasConnection (const char *signal_name) const |
Return true if there is any object connected to this signal. More... | |
virtual void | HighPriority (const char *signal_name, const char *slot_name=0) |
virtual void | LowPriority (const char *signal_name, const char *slot_name=0) |
virtual void | Message (const char *msg) |
virtual Int_t | NumberOfConnections () const |
Return number of connections for this object. More... | |
virtual Int_t | NumberOfSignals () const |
Return number of signals for this object. More... | |
Static Public Member Functions | |
static TGClient * | Instance () |
Returns global gClient (initialize graphics first, if not already done) More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Static Public Member Functions inherited from TQObject | |
static Bool_t | AreAllSignalsBlocked () |
Returns true if all signals are blocked. More... | |
static Bool_t | BlockAllSignals (Bool_t b) |
Block or unblock all signals. Returns the previous block status. More... | |
static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. More... | |
static Bool_t | Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
This method allows to make a connection from any object of the same class to a single slot. More... | |
static Bool_t | Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0) |
Disconnects signal in object sender from slot_method in object receiver. More... | |
static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0) |
Disconnects "class signal". More... | |
Protected Member Functions | |
TGClient (const TGClient &) | |
Bool_t | DoRedraw () |
Redraw all windows that need redrawing. More... | |
TGClient & | operator= (const TGClient &) |
Bool_t | ProcessIdleEvent () |
Process one idle event. More... | |
Bool_t | ProcessOneEvent () |
Process one event. More... | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
void | MakeZombie () |
Protected Member Functions inherited from TQObject | |
virtual void * | GetSender () |
virtual const char * | GetSenderClassName () const |
Protected Attributes | |
Pixel_t | fBackColor |
Pixel_t | fBlack |
Colormap_t | fDefaultColormap |
TGWindow * | fDefaultRoot |
TGFontPool * | fFontPool |
Bool_t | fForceRedraw |
Pixel_t | fForeColor |
TGGCPool * | fGCPool |
Bool_t | fGlobalNeedRedraw |
Pixel_t | fHilite |
TList * | fIdleHandlers |
TGMimeTypes * | fMimeTypeList |
TGPicturePool * | fPicturePool |
TList * | fPlist |
TGResourcePool * | fResourcePool |
TGWindow * | fRoot |
Pixel_t | fSelBackColor |
Pixel_t | fSelForeColor |
Pixel_t | fShadow |
UInt_t | fStyle |
TList * | fUWHandlers |
EGEventType | fWaitForEvent |
Window_t | fWaitForWindow |
Pixel_t | fWhite |
THashList * | fWlist |
Int_t | fXfd |
Protected Attributes inherited from TQObject | |
TList * | fListOfConnections |
list of signals from this object More... | |
TList * | fListOfSignals |
Bool_t | fSignalsBlocked |
list of connections to this object More... | |
Friends | |
class | TGCocoa |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
Static Protected Member Functions inherited from TQObject | |
static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
Checking of consitency of sender/receiver methods/arguments. More... | |
static TString | CompressName (const char *method_name) |
Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More... | |
static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. More... | |
static Bool_t | ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
This method allows to make connection from any object of the same class to the receiver object. More... | |
Static Protected Attributes inherited from TQObject | |
static Bool_t | fgAllSignalsBlocked = kFALSE |
flag used for suppression of signals More... | |
#include <TGClient.h>
|
protected |
TGClient::TGClient | ( | const char * | dpyName = 0 | ) |
Create a connection with the display sever on host dpyName and setup the complete GUI system, i.e., graphics contexts, fonts, etc.
for all widgets.
Definition at line 124 of file TGClient.cxx.
|
virtual |
Closing down client: cleanup and close X connection.
Definition at line 619 of file TGClient.cxx.
void TGClient::AddIdleHandler | ( | TGIdleHandler * | h | ) |
Add handler for idle events.
Definition at line 570 of file TGClient.cxx.
void TGClient::AddUnknownWindowHandler | ( | TGUnknownWindowHandler * | h | ) |
Add handler for unknown (i.e. unregistered) windows.
Definition at line 549 of file TGClient.cxx.
Definition at line 383 of file TGClient.cxx.
|
protected |
Redraw all windows that need redrawing.
Returns kFALSE if no redraw was needed, kTRUE otherwise. Only redraw the application's windows when the event queue does not contain expose event anymore.
Definition at line 792 of file TGClient.cxx.
|
inline |
Definition at line 107 of file TGClient.h.
Free color.
Definition at line 501 of file TGClient.cxx.
Free a font.
Definition at line 362 of file TGClient.cxx.
Free a graphics context.
Definition at line 326 of file TGClient.cxx.
void TGClient::FreeGC | ( | GContext_t | gc | ) |
Free a graphics context.
Definition at line 334 of file TGClient.cxx.
Free picture resource.
Definition at line 306 of file TGClient.cxx.
Get a color by name.
If color is found return kTRUE and pixel is set to the color's pixel value, kFALSE otherwise.
Definition at line 392 of file TGClient.cxx.
|
inline |
Definition at line 154 of file TGClient.h.
const TGWindow * TGClient::GetDefaultRoot | ( | ) | const |
Returns the root (i.e.
desktop) window. Should only be used as parent for frames that will never be embedded, like popups, message boxes, etc. (like TGToolTips, TGMessageBox, etc.).
Definition at line 232 of file TGClient.cxx.
UInt_t TGClient::GetDisplayHeight | ( | ) | const |
Get display height.
Definition at line 273 of file TGClient.cxx.
UInt_t TGClient::GetDisplayWidth | ( | ) | const |
Get display width.
Definition at line 260 of file TGClient.cxx.
Get a font from the font pool.
Fonts must be freed via TGClient::FreeFont(). Returns 0 in case of error or if font does not exist. If fixedDefault is false the "fixed" font will not be substituted as fallback when the asked for font does not exist.
Definition at line 346 of file TGClient.cxx.
Get again specified font. Will increase its usage count.
Definition at line 354 of file TGClient.cxx.
FontStruct_t TGClient::GetFontByName | ( | const char * | name, |
Bool_t | fixedDefault = kTRUE |
||
) | const |
Get a font by name.
If font is not found, fixed font is returned, if fixed font also does not exist return 0 and print error. The loaded font needs to be freed using TVirtualX::DeleteFont(). If fixedDefault is false the "fixed" font will not be substituted as fallback when the asked for font does not exist.
Definition at line 422 of file TGClient.cxx.
|
inline |
Definition at line 145 of file TGClient.h.
TGGC * TGClient::GetGC | ( | GCValues_t * | values, |
Bool_t | rw = kFALSE |
||
) |
Get graphics context from the gc pool.
Context must be freed via TGClient::FreeGC(). If rw is true a new read/write-able GC is returned, otherwise a shared read-only context is returned. For historical reasons it is also possible to create directly a TGGC object, but it is advised to use this new interface only.
Definition at line 318 of file TGClient.cxx.
|
inline |
Definition at line 140 of file TGClient.h.
Return pixel value of hilite color based on base_color.
Definition at line 447 of file TGClient.cxx.
|
inline |
Definition at line 158 of file TGClient.h.
|
inline |
Definition at line 157 of file TGClient.h.
|
inline |
Definition at line 155 of file TGClient.h.
const TGPicture * TGClient::GetPicture | ( | const char * | name | ) |
Get picture from the picture pool.
Picture must be freed using TGClient::FreePicture(). If picture is not found 0 is returned.
Definition at line 287 of file TGClient.cxx.
Get picture with specified size from pool (picture will be scaled if necessary).
Picture must be freed using TGClient::FreePicture(). If picture is not found 0 is returned.
Definition at line 297 of file TGClient.cxx.
|
inline |
Definition at line 135 of file TGClient.h.
|
inline |
Definition at line 133 of file TGClient.h.
const TGWindow * TGClient::GetRoot | ( | ) | const |
Returns current root (i.e.
base) window. By changing the root window one can change the window hierarchy, e.g. a top level frame (TGMainFrame) can be embedded in another window.
Definition at line 222 of file TGClient.cxx.
Return pixel value of shadow color based on base_color.
Shadow is 60% of base_color intensity.
Definition at line 478 of file TGClient.cxx.
|
inline |
Definition at line 150 of file TGClient.h.
|
inline |
Definition at line 123 of file TGClient.h.
|
inline |
Definition at line 124 of file TGClient.h.
Find a TGWindow via its handle. If window is not found return 0.
Definition at line 591 of file TGClient.cxx.
TGWindow * TGClient::GetWindowByName | ( | const char * | name | ) | const |
Find a TGWindow via its name (unique name used in TGWindow::SavePrimitive).
If window is not found return 0.
Definition at line 602 of file TGClient.cxx.
Handle a GUI event.
Definition at line 816 of file TGClient.cxx.
Bool_t TGClient::HandleInput | ( | ) |
Handles input from the display server.
Returns kTRUE if one or more events have been processed, kFALSE otherwise.
Definition at line 694 of file TGClient.cxx.
Handle masked events only if window wid is the window for which the event was reported or if wid is a parent of the event window.
The not masked event are handled directly. The masked events are: kButtonPress, kButtonRelease, kKeyPress, kKeyRelease, kEnterNotify, kLeaveNotify, kMotionNotify.
Definition at line 853 of file TGClient.cxx.
|
static |
Returns global gClient (initialize graphics first, if not already done)
Definition at line 89 of file TGClient.cxx.
|
inline |
Definition at line 98 of file TGClient.h.
Bool_t TGClient::IsEditDisabled | ( | ) | const |
Returns kTRUE if edit/guibuilding is forbidden.
Definition at line 932 of file TGClient.cxx.
Set redraw flags.
Definition at line 370 of file TGClient.cxx.
Emits a signal when an event has been processed.
Used in TRecorder.
Definition at line 949 of file TGClient.cxx.
Like gSystem->ProcessEvents() but then only allow events for w to be processed.
For example to interrupt the processing and destroy the window, call gROOT->SetInterrupt() before destroying the window.
Definition at line 770 of file TGClient.cxx.
|
protected |
Process one idle event.
Definition at line 677 of file TGClient.cxx.
Execute string "cmd" via the interpreter.
Before executing replace in the command string the token $MSG, $PARM1 and $PARM2 by msg, parm1 and parm2, respectively. The function in cmd string must accept these as longs.
Definition at line 911 of file TGClient.cxx.
|
protected |
Process one event.
This method should only be called when there is a GUI event ready to be processed. If event has been processed kTRUE is returned. If processing of a specific event type for a specific window was requested kFALSE is returned when specific event has been processed, kTRUE otherwise. If no more pending events return kFALSE.
Definition at line 643 of file TGClient.cxx.
Emits a signal when a Window has been registered in TGClient.
Used in TRecorder.
Definition at line 962 of file TGClient.cxx.
Add a popup menu to the list of popups.
This list is used to pass events to popup menus that are popped up over a transient window which is waited for (see WaitFor()).
Definition at line 530 of file TGClient.cxx.
Add a TGWindow to the clients list of windows.
Definition at line 509 of file TGClient.cxx.
void TGClient::RemoveIdleHandler | ( | TGIdleHandler * | h | ) |
Remove handler for idle events.
Definition at line 583 of file TGClient.cxx.
void TGClient::RemoveUnknownWindowHandler | ( | TGUnknownWindowHandler * | h | ) |
Remove handler for unknown (i.e. unregistered) windows.
Definition at line 562 of file TGClient.cxx.
reset waiting
Definition at line 760 of file TGClient.cxx.
If on is kTRUE editting/guibuilding is forbidden.
Definition at line 940 of file TGClient.cxx.
Sets the current root (i.e.
base) window. By changing the root window one can change the window hierarchy, e.g. a top level frame (TGMainFrame) can be embedded in another window.
Definition at line 242 of file TGClient.cxx.
Definition at line 151 of file TGClient.h.
void TGClient::SetStyle | ( | const char * | style | ) |
Set the button style (modern or classic).
Definition at line 250 of file TGClient.cxx.
Definition at line 125 of file TGClient.h.
Remove a popup menu from the list of popups.
Definition at line 541 of file TGClient.cxx.
Remove a TGWindow from the list of windows.
Definition at line 520 of file TGClient.cxx.
Wait for window to be destroyed.
Definition at line 706 of file TGClient.cxx.
Wait for window to be unmapped.
Definition at line 734 of file TGClient.cxx.
|
friend |
Definition at line 48 of file TGClient.h.
|
protected |
Definition at line 51 of file TGClient.h.
|
protected |
Definition at line 58 of file TGClient.h.
|
protected |
Definition at line 67 of file TGClient.h.
|
protected |
Definition at line 59 of file TGClient.h.
|
protected |
Definition at line 64 of file TGClient.h.
|
protected |
Definition at line 69 of file TGClient.h.
|
protected |
Definition at line 52 of file TGClient.h.
|
protected |
Definition at line 63 of file TGClient.h.
|
protected |
Definition at line 68 of file TGClient.h.
|
protected |
Definition at line 53 of file TGClient.h.
|
protected |
Definition at line 73 of file TGClient.h.
|
protected |
Definition at line 66 of file TGClient.h.
|
protected |
Definition at line 65 of file TGClient.h.
|
protected |
Definition at line 71 of file TGClient.h.
|
protected |
Definition at line 62 of file TGClient.h.
|
protected |
Definition at line 60 of file TGClient.h.
|
protected |
Definition at line 55 of file TGClient.h.
|
protected |
Definition at line 56 of file TGClient.h.
|
protected |
Definition at line 54 of file TGClient.h.
|
protected |
Definition at line 76 of file TGClient.h.
|
protected |
Definition at line 72 of file TGClient.h.
|
protected |
Definition at line 74 of file TGClient.h.
|
protected |
Definition at line 75 of file TGClient.h.
|
protected |
Definition at line 57 of file TGClient.h.
|
protected |
Definition at line 70 of file TGClient.h.
|
protected |
Definition at line 61 of file TGClient.h.