Definition at line 46 of file TGClient.h.
Public Member Functions | |
TGClient (const char *dpyName=nullptr) | |
Create a connection with the display sever on host dpyName and setup the complete GUI system, i.e., graphics contexts, fonts, etc. | |
virtual | ~TGClient () |
Closing down client: cleanup and close X connection. | |
void | AddIdleHandler (TGIdleHandler *h) |
Add handler for idle events. | |
void | AddUnknownWindowHandler (TGUnknownWindowHandler *h) |
Add handler for unknown (i.e. unregistered) windows. | |
void | CancelRedraw (TGWindow *w) |
void | ForceRedraw () |
void | FreeColor (Pixel_t color) const |
Free color. | |
void | FreeFont (const TGFont *font) |
Free a font. | |
void | FreeGC (const TGGC *gc) |
Free a graphics context. | |
void | FreeGC (GContext_t gc) |
Free a graphics context. | |
void | FreePicture (const TGPicture *pic) |
Free picture resource. | |
Bool_t | GetColorByName (const char *name, Pixel_t &pixel) const |
Get a color by name. | |
Colormap_t | GetDefaultColormap () const |
const TGWindow * | GetDefaultRoot () const |
Returns the root (i.e. | |
UInt_t | GetDisplayHeight () const |
Get display height. | |
UInt_t | GetDisplayWidth () const |
Get display width. | |
TGFont * | GetFont (const char *font, Bool_t fixedDefault=kTRUE) |
Get a font from the font pool. | |
TGFont * | GetFont (const TGFont *font) |
Get again specified font. Will increase its usage count. | |
FontStruct_t | GetFontByName (const char *name, Bool_t fixedDefault=kTRUE) const |
Get a font by name. | |
TGFontPool * | GetFontPool () const |
TGGC * | GetGC (GCValues_t *values, Bool_t rw=kFALSE) |
Get graphics context from the gc pool. | |
TGGCPool * | GetGCPool () const |
Pixel_t | GetHilite (Pixel_t base_color) const |
Return pixel value of hilite color based on base_color. | |
TList * | GetListOfPopups () const |
THashList * | GetListOfWindows () const |
TGMimeTypes * | GetMimeTypeList () const |
const TGPicture * | GetPicture (const char *name) |
Get picture from the picture pool. | |
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). | |
TGPicturePool * | GetPicturePool () const |
const TGResourcePool * | GetResourcePool () const |
const TGWindow * | GetRoot () const |
Returns current root (i.e. | |
Pixel_t | GetShadow (Pixel_t base_color) const |
Return pixel value of shadow color based on base_color. | |
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. | |
TGWindow * | GetWindowByName (const char *name) const |
Find a TGWindow via its name (unique name used in TGWindow::SavePrimitive). | |
Bool_t | HandleEvent (Event_t *event) |
Handle a GUI event. | |
Bool_t | HandleInput () |
Handles input from the display server. | |
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. | |
Bool_t | IsEditable () const |
Bool_t | IsEditDisabled () const |
Returns kTRUE if edit/guibuilding is forbidden. | |
void | NeedRedraw (TGWindow *w, Bool_t force=kFALSE) |
Set redraw flags. | |
void | ProcessedEvent (Event_t *event, Window_t wid) |
Emits a signal when an event has been processed. | |
Bool_t | ProcessEventsFor (TGWindow *w) |
Like gSystem->ProcessEvents() but then only allow events for w to be processed. | |
void | ProcessLine (TString cmd, Long_t msg, Long_t parm1, Long_t parm2) |
Execute string "cmd" via the interpreter. | |
void | RegisteredWindow (Window_t w) |
Emits a signal when a Window has been registered in TGClient. | |
void | RegisterPopup (TGWindow *w) |
Add a popup menu to the list of popups. | |
void | RegisterWindow (TGWindow *w) |
Add a TGWindow to the clients list of windows. | |
void | RemoveIdleHandler (TGIdleHandler *h) |
Remove handler for idle events. | |
void | RemoveUnknownWindowHandler (TGUnknownWindowHandler *h) |
Remove handler for unknown (i.e. unregistered) windows. | |
void | ResetWaitFor (TGWindow *w) |
reset waiting | |
void | SetEditDisabled (Bool_t on=kTRUE) |
If on is kTRUE editting/guibuilding is forbidden. | |
void | SetRoot (TGWindow *root=nullptr) |
Sets the current root (i.e. | |
void | SetStyle (const char *style) |
Set the button style (modern or classic). | |
void | SetStyle (UInt_t newstyle) |
void | SetWaitForWindow (Window_t wid) |
void | UnregisterPopup (TGWindow *w) |
Remove a popup menu from the list of popups. | |
void | UnregisterWindow (TGWindow *w) |
Remove a TGWindow from the list of windows. | |
void | WaitFor (TGWindow *w) |
Wait for window to be destroyed. | |
void | WaitForUnmap (TGWindow *w) |
Wait for window to be unmapped. | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. | |
virtual void | Copy (TObject &object) const |
Copy this to obj. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
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. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual const char * | GetName () const |
Returns name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
virtual ULong_t | Hash () const |
Return hash value for this object. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
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). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. | |
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). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
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. | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE 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. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Public Member Functions inherited from TQObject | |
TQObject () | |
TQObject Constructor. | |
virtual | ~TQObject () |
TQObject Destructor. | |
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. | |
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. | |
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. | |
virtual void | Disconnected (const char *) |
void | Emit (const char *signal) |
Activate signal without args. | |
template<typename T > | |
void | Emit (const char *signal, const T &arg) |
Activate signal with single parameter. | |
template<typename... T> | |
void | EmitVA (const char *signal_name, Int_t, const T &... params) |
Emit a signal with a varying number of arguments. | |
TList * | GetListOfClassSignals () const |
Returns pointer to list of signals of this class. | |
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. | |
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. | |
virtual Int_t | NumberOfSignals () const |
Return number of signals for this object. | |
Static Public Member Functions | |
static TGClient * | Instance () |
Returns global gClient (initialize graphics first, if not already done) | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Static Public Member Functions inherited from TQObject | |
static Bool_t | AreAllSignalsBlocked () |
Returns true if all signals are blocked. | |
static Bool_t | BlockAllSignals (Bool_t b) |
Block or unblock all signals. Returns the previous block status. | |
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. | |
static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. | |
static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0) |
Disconnects "class signal". | |
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. | |
Protected Member Functions | |
TGClient (const TGClient &)=delete | |
Bool_t | DoRedraw () |
Redraw all windows that need redrawing. | |
TGClient & | operator= (const TGClient &)=delete |
Bool_t | ProcessIdleEvent () |
Process one idle event. | |
Bool_t | ProcessOneEvent () |
Process one event. | |
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). | |
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 | |
TList * | fListOfSignals |
Bool_t | fSignalsBlocked |
list of connections to this object | |
Friends | |
class | TGCocoa |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) } |
enum | EDeprecatedStatusBits { kObjInCanvas = BIT(3) } |
enum | EStatusBits { kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) , kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13) } |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = BIT(3) } |
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 consistency of sender/receiver methods/arguments. | |
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. | |
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. | |
static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
Create connection between sender and receiver. | |
Static Protected Attributes inherited from TQObject | |
static Bool_t | fgAllSignalsBlocked = kFALSE |
flag used for suppression of signals | |
#include <TGClient.h>
|
protecteddelete |
TGClient::TGClient | ( | const char * | dpyName = nullptr | ) |
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 127 of file TGClient.cxx.
|
virtual |
Closing down client: cleanup and close X connection.
Definition at line 621 of file TGClient.cxx.
void TGClient::AddIdleHandler | ( | TGIdleHandler * | h | ) |
Add handler for idle events.
Definition at line 572 of file TGClient.cxx.
void TGClient::AddUnknownWindowHandler | ( | TGUnknownWindowHandler * | h | ) |
Add handler for unknown (i.e. unregistered) windows.
Definition at line 551 of file TGClient.cxx.
Definition at line 385 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 794 of file TGClient.cxx.
|
inline |
Definition at line 107 of file TGClient.h.
Free color.
Definition at line 503 of file TGClient.cxx.
Free a font.
Definition at line 363 of file TGClient.cxx.
Free a graphics context.
Definition at line 327 of file TGClient.cxx.
void TGClient::FreeGC | ( | GContext_t | gc | ) |
Free a graphics context.
Definition at line 335 of file TGClient.cxx.
Free picture resource.
Definition at line 307 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 394 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 233 of file TGClient.cxx.
UInt_t TGClient::GetDisplayHeight | ( | ) | const |
Get display height.
Definition at line 274 of file TGClient.cxx.
UInt_t TGClient::GetDisplayWidth | ( | ) | const |
Get display width.
Definition at line 261 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 347 of file TGClient.cxx.
Get again specified font. Will increase its usage count.
Definition at line 355 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 424 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 319 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 449 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 288 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 298 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 223 of file TGClient.cxx.
Return pixel value of shadow color based on base_color.
Shadow is 60% of base_color intensity.
Definition at line 480 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 593 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 604 of file TGClient.cxx.
Handle a GUI event.
Definition at line 818 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 696 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 855 of file TGClient.cxx.
|
static |
Returns global gClient (initialize graphics first, if not already done)
Definition at line 92 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 934 of file TGClient.cxx.
Set redraw flags.
Definition at line 371 of file TGClient.cxx.
Emits a signal when an event has been processed.
Used in TRecorder.
Definition at line 951 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 772 of file TGClient.cxx.
|
protected |
Process one idle event.
Definition at line 679 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 913 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 645 of file TGClient.cxx.
Emits a signal when a Window has been registered in TGClient.
Used in TRecorder.
Definition at line 964 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 532 of file TGClient.cxx.
Add a TGWindow to the clients list of windows.
Definition at line 511 of file TGClient.cxx.
void TGClient::RemoveIdleHandler | ( | TGIdleHandler * | h | ) |
Remove handler for idle events.
Definition at line 585 of file TGClient.cxx.
void TGClient::RemoveUnknownWindowHandler | ( | TGUnknownWindowHandler * | h | ) |
Remove handler for unknown (i.e. unregistered) windows.
Definition at line 564 of file TGClient.cxx.
reset waiting
Definition at line 762 of file TGClient.cxx.
If on is kTRUE editting/guibuilding is forbidden.
Definition at line 942 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 243 of file TGClient.cxx.
void TGClient::SetStyle | ( | const char * | style | ) |
Set the button style (modern or classic).
Definition at line 251 of file TGClient.cxx.
Definition at line 151 of file TGClient.h.
Definition at line 125 of file TGClient.h.
Remove a popup menu from the list of popups.
Definition at line 543 of file TGClient.cxx.
Remove a TGWindow from the list of windows.
Definition at line 522 of file TGClient.cxx.
Wait for window to be destroyed.
Definition at line 708 of file TGClient.cxx.
Wait for window to be unmapped.
Definition at line 736 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.