Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TGClient Class Reference

#include <TGClient.h>

Inheritance diagram for TGClient:

Inheritance graph
[legend]
Collaboration diagram for TGClient:

Collaboration graph
[legend]
List of all members.

Public Methods

 TGClient (const char *dpyName=0)
virtual ~TGClient ()
const TGWindowGetRoot () const
TGWindowGetWindowById (Window_t sw) const
FontStruct_t GetFontByName (const char *name) const
Bool_t GetColorByName (const char *name, Pixel_t &pixel) const
Pixel_t GetHilite (Pixel_t base_color) const
Pixel_t GetShadow (Pixel_t base_color) const
void FreeColor (Pixel_t color) const
void ForceRedraw ()
void NeedRedraw (TGWindow *w)
void RegisterWindow (TGWindow *w)
void UnregisterWindow (TGWindow *w)
void RegisterPopup (TGWindow *w)
void UnregisterPopup (TGWindow *w)
void AddUnknownWindowHandler (TGUnknownWindowHandler *h)
void RemoveUnknownWindowHandler (TGUnknownWindowHandler *h)
Bool_t HandleInput ()
void ProcessLine (TString cmd, Long_t msg, Long_t parm1, Long_t parm2)
void WaitFor (TGWindow *w)
void WaitForUnmap (TGWindow *w)
Bool_t ProcessEventsFor (TGWindow *w)
const TGResourcePoolGetResourcePool () const
TGPicturePoolGetPicturePool () const
const TGPictureGetPicture (const char *name)
const TGPictureGetPicture (const char *name, UInt_t new_width, UInt_t new_height)
void FreePicture (const TGPicture *pic)
TGGCPoolGetGCPool () const
TGGCGetGC (GCValues_t *values, Bool_t rw=kFALSE)
void FreeGC (const TGGC *gc)
void FreeGC (GContext_t gc)
TGFontPoolGetFontPool () const
TGFontGetFont (const char *font)
TGFontGetFont (const TGFont *font)
void FreeFont (const TGFont *font)
Colormap_t GetDefaultColormap () const
TGMimeTypesGetMimeTypeList () const

Protected Methods

Bool_t ProcessOneEvent ()
Bool_t HandleEvent (Event_t *event)
Bool_t HandleMaskEvent (Event_t *event, Window_t wid)
Bool_t DoRedraw ()

Protected Attributes

Pixel_t fBackColor
Pixel_t fForeColor
Pixel_t fHilite
Pixel_t fShadow
Pixel_t fSelBackColor
Pixel_t fSelForeColor
Pixel_t fWhite
Pixel_t fBlack
TGWindowfRoot
Int_t fXfd
TGResourcePoolfResourcePool
TGGCPoolfGCPool
TGFontPoolfFontPool
TGPicturePoolfPicturePool
TGMimeTypesfMimeTypeList
Colormap_t fDefaultColormap
Bool_t fGlobalNeedRedraw
Bool_t fForceRedraw
THashListfWlist
TListfPlist
TListfUWHandlers
EGEventType fWaitForEvent
Window_t fWaitForWindow

Constructor & Destructor Documentation

TGClient::TGClient const char *    dpyName = 0
 

virtual TGClient::~TGClient   [virtual]
 


Member Function Documentation

Bool_t TGClient::ProcessOneEvent   [protected]
 

Bool_t TGClient::HandleEvent Event_t *    event [protected]
 

Bool_t TGClient::HandleMaskEvent Event_t *    event,
Window_t    wid
[protected]
 

Bool_t TGClient::DoRedraw   [protected]
 

const TGWindow* TGClient::GetRoot   const
 

Definition at line 86 of file TGClient.h.

Referenced by TGWindow::GetMainFrame().

TGWindow* TGClient::GetWindowById Window_t    sw const
 

FontStruct_t TGClient::GetFontByName const char *    name const
 

Bool_t TGClient::GetColorByName const char *    name,
Pixel_t &    pixel
const
 

Pixel_t TGClient::GetHilite Pixel_t    base_color const
 

Pixel_t TGClient::GetShadow Pixel_t    base_color const
 

void TGClient::FreeColor Pixel_t    color const
 

void TGClient::ForceRedraw  
 

Definition at line 94 of file TGClient.h.

References fForceRedraw.

void TGClient::NeedRedraw TGWindow   w
 

Referenced by TGWindow::HandleExpose(), TGColorFrame::SetActive(), TGSlider::SetPosition(), and TGDoubleSlider::SetPosition().

void TGClient::RegisterWindow TGWindow   w
 

void TGClient::UnregisterWindow TGWindow   w
 

void TGClient::RegisterPopup TGWindow   w
 

void TGClient::UnregisterPopup TGWindow   w
 

void TGClient::AddUnknownWindowHandler TGUnknownWindowHandler   h
 

void TGClient::RemoveUnknownWindowHandler TGUnknownWindowHandler   h
 

Bool_t TGClient::HandleInput  
 

void TGClient::ProcessLine TString    cmd,
Long_t    msg,
Long_t    parm1,
Long_t    parm2
 

void TGClient::WaitFor TGWindow   w
 

void TGClient::WaitForUnmap TGWindow   w
 

Bool_t TGClient::ProcessEventsFor TGWindow   w
 

const TGResourcePool* TGClient::GetResourcePool   const
 

Definition at line 108 of file TGClient.h.

Referenced by TGFrame::GetResourcePool().

TGPicturePool* TGClient::GetPicturePool   const
 

Definition at line 110 of file TGClient.h.

const TGPicture* TGClient::GetPicture const char *    name
 

const TGPicture* TGClient::GetPicture const char *    name,
UInt_t    new_width,
UInt_t    new_height
 

void TGClient::FreePicture const TGPicture   pic
 

TGGCPool* TGClient::GetGCPool   const
 

Definition at line 115 of file TGClient.h.

TGGC* TGClient::GetGC GCValues_t *    values,
Bool_t    rw = kFALSE
 

void TGClient::FreeGC const TGGC   gc
 

void TGClient::FreeGC GContext_t    gc
 

TGFontPool* TGClient::GetFontPool   const
 

Definition at line 120 of file TGClient.h.

TGFont* TGClient::GetFont const char *    font
 

TGFont* TGClient::GetFont const TGFont   font
 

void TGClient::FreeFont const TGFont   font
 

Colormap_t TGClient::GetDefaultColormap   const
 

Definition at line 125 of file TGClient.h.

References fDefaultColormap.

TGMimeTypes* TGClient::GetMimeTypeList   const
 

Definition at line 126 of file TGClient.h.


Member Data Documentation

Pixel_t TGClient::fBackColor [protected]
 

Definition at line 53 of file TGClient.h.

Pixel_t TGClient::fForeColor [protected]
 

Definition at line 54 of file TGClient.h.

Pixel_t TGClient::fHilite [protected]
 

Definition at line 55 of file TGClient.h.

Pixel_t TGClient::fShadow [protected]
 

Definition at line 56 of file TGClient.h.

Pixel_t TGClient::fSelBackColor [protected]
 

Definition at line 57 of file TGClient.h.

Pixel_t TGClient::fSelForeColor [protected]
 

Definition at line 58 of file TGClient.h.

Pixel_t TGClient::fWhite [protected]
 

Definition at line 59 of file TGClient.h.

Pixel_t TGClient::fBlack [protected]
 

Definition at line 60 of file TGClient.h.

TGWindow* TGClient::fRoot [protected]
 

Definition at line 61 of file TGClient.h.

Int_t TGClient::fXfd [protected]
 

Definition at line 62 of file TGClient.h.

TGResourcePool* TGClient::fResourcePool [protected]
 

Definition at line 63 of file TGClient.h.

TGGCPool* TGClient::fGCPool [protected]
 

Definition at line 64 of file TGClient.h.

TGFontPool* TGClient::fFontPool [protected]
 

Definition at line 65 of file TGClient.h.

TGPicturePool* TGClient::fPicturePool [protected]
 

Definition at line 66 of file TGClient.h.

TGMimeTypes* TGClient::fMimeTypeList [protected]
 

Definition at line 67 of file TGClient.h.

Colormap_t TGClient::fDefaultColormap [protected]
 

Definition at line 68 of file TGClient.h.

Referenced by GetDefaultColormap().

Bool_t TGClient::fGlobalNeedRedraw [protected]
 

Definition at line 69 of file TGClient.h.

Bool_t TGClient::fForceRedraw [protected]
 

Definition at line 70 of file TGClient.h.

Referenced by ForceRedraw().

THashList* TGClient::fWlist [protected]
 

Definition at line 71 of file TGClient.h.

TList* TGClient::fPlist [protected]
 

Definition at line 72 of file TGClient.h.

TList* TGClient::fUWHandlers [protected]
 

Definition at line 73 of file TGClient.h.

EGEventType TGClient::fWaitForEvent [protected]
 

Definition at line 74 of file TGClient.h.

Window_t TGClient::fWaitForWindow [protected]
 

Definition at line 75 of file TGClient.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 14:58:08 2003 for ROOT by doxygen1.2.16