library: libGui
#include "TGFrame.h"


class description - header file - source file
viewCVS header - viewCVS source

class TGFrame: public TGWindow, public TQObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TGFrame(TGClient* c, Window_t id, const TGWindow* parent = 0)
TGFrame(const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
voidTObject::AbstractMethod(const char* method) const
virtual voidActivate(Bool_t)
voidAddInput(UInt_t emask)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidChangeOptions(UInt_t options)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tContains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual voidDelete(Option_t* = "")
virtual voidDeleteWindow()
virtual voidTQObject::Destroyed()
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = "0")
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidDrawBorder()
virtual voidDrawClass() const
virtual TObject*DrawClone(Option_t* = "") const
virtual voidDrawCopy(Handle_t, Int_t, Int_t)
virtual voidDump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Pixel_tGetBackground() const
static const TGGC&GetBckgndGC()
static const TGGC&GetBlackGC()
static Pixel_tGetBlackPixel()
Int_tGetBorderWidth() const
TGClient*TGObject::GetClient() const
static Int_tTGWindow::GetCounter()
static Pixel_tGetDefaultFrameBackground()
virtual UInt_tGetDefaultHeight() const
static Pixel_tGetDefaultSelectedBackground()
virtual TGDimensionGetDefaultSize() const
virtual UInt_tGetDefaultWidth() const
virtual Int_tGetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tGetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tGetEventMask() const
virtual Pixel_tGetForeground() const
TGFrameElement*GetFrameElement() const
virtual TGFrame*GetFrameFromPoint(Int_t x, Int_t y)
UInt_tGetHeight() const
static const TGGC&GetHilightGC()
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tGetMaxHeight() const
UInt_tGetMaxWidth() const
UInt_tGetMinHeight() const
UInt_tGetMinWidth() const
virtual const char*TGWindow::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tGetOptions() const
const TGWindow*TGWindow::GetParent() const
static const TGGC&GetShadowGC()
TGDimensionGetSize() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static const TGGC&GetWhiteGC()
static Pixel_tGetWhitePixel()
UInt_tGetWidth() const
Int_tGetX() const
Int_tGetY() const
virtual Bool_tHandleButton(Event_t*)
virtual Bool_tHandleClientMessage(Event_t* event)
virtual Bool_tHandleColormapChange(Event_t*)
virtual Bool_tHandleConfigureNotify(Event_t* event)
virtual Bool_tHandleCrossing(Event_t*)
virtual Bool_tHandleDoubleClick(Event_t*)
virtual Bool_tHandleDragDrop(TGFrame*, Int_t, Int_t, TGLayoutHints*)
virtual Bool_tHandleDragEnter(TGFrame*)
virtual Bool_tHandleDragLeave(TGFrame*)
virtual Bool_tHandleDragMotion(TGFrame*)
virtual Bool_tHandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tHandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tHandleKey(Event_t*)
virtual Bool_tHandleMotion(Event_t*)
virtual Bool_tHandleSelection(Event_t*)
virtual Bool_tHandleSelectionClear(Event_t*)
virtual Bool_tHandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tIsActive() const
virtual Bool_tIsComposite() const
virtual Bool_tIsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tIsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGWindow::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidLayout()
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTObject::ls(Option_t* option = "") const
virtual voidMapRaised()
virtual voidMapSubwindows()
virtual voidMapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual voidMove(Int_t x, Int_t y)
virtual voidMoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tTGWindow::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual voidProcessedEvent(Event_t* event)
virtual Bool_tProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRemoveInput(UInt_t emask)
virtual voidReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidResize(TGDimension size)
virtual voidResize(UInt_t w = 0, UInt_t h = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
voidSaveUserColor(ostream& out, Option_t*)
virtual voidSendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidSetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetCleanup(Int_t = kLocalCleanup)
virtual voidSetDragType(Int_t type)
virtual voidSetDrawOption(Option_t* = "")
virtual voidSetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetEditable(Bool_t)
virtual voidTGWindow::SetEditDisabled(UInt_t on = kEditDisable)
virtual voidSetForegroundColor(Pixel_t)
voidSetFrameElement(TGFrameElement* fe)
virtual voidSetHeight(UInt_t h)
virtual voidSetLayoutBroken(Bool_t = kTRUE)
virtual voidTGWindow::SetMapSubwindows(Bool_t)
virtual voidSetMaxHeight(UInt_t h)
virtual voidSetMaxWidth(UInt_t w)
virtual voidSetMinHeight(UInt_t h)
virtual voidSetMinWidth(UInt_t w)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = "0")
virtual voidSetX(Int_t x)
virtual voidSetY(Int_t y)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidUnmapWindow()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidDoRedraw()
virtual voidDraw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tGetLastClick()
TStringGetOptionString() const
const TGResourcePool*GetResourcePool() const
virtual void*GetSender()
virtual const char*TQObject::GetSenderClassName() const
virtual voidStartGuiBuilding(Bool_t on = kTRUE)
TGFrame(const TGFrame&)
TGFrame&operator=(const TGFrame&)

Data Members

enum TGWindow::EEditMode { kEditEnable
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Int_tfXframe x position
Int_tfYframe y position
UInt_tfWidthframe width
UInt_tfHeightframe height
UInt_tfMinWidthminimal frame width
UInt_tfMinHeightminimal frame height
UInt_tfMaxWidthmaximal frame width
UInt_tfMaxHeightmaximal frame height
Int_tfBorderWidthframe border width
UInt_tfOptionsframe options
Pixel_tfBackgroundframe background color
UInt_tfEventMaskcurrenty active event mask
TGFrameElement*fFEpointer to frame element
static Bool_tfgInit
static Pixel_tfgDefaultFrameBackground
static Pixel_tfgDefaultSelectedBackground
static Pixel_tfgWhitePixel
static Pixel_tfgBlackPixel
static const TGGC*fgBlackGC
static const TGGC*fgWhiteGC
static const TGGC*fgHilightGC
static const TGGC*fgShadowGC
static const TGGC*fgBckgndGC
static Time_tfgLastClick
static UInt_tfgLastButton
static Int_tfgDbx
static Int_tfgDby
static Window_tfgDbw
static UInt_tfgUserColor
const TGWindow*TGWindow::fParentParent window
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
TStringTGWindow::fNamename of the window used in SavePrimitive()
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
Handle_tTGObject::fIdX11/Win32 Window identifier
TGClient*TGObject::fClientConnection to display server
TList*TQObject::fListOfSignals! list of signals from this object
TList*TQObject::fListOfConnections! list of connections to this object

Class Description

 TGFrame, TGCompositeFrame, TGVerticalFrame, TGHorizontalFrame,       
 TGMainFrame, TGTransientFrame and TGGroupFrame                       
 The frame classes describe the different "dressed" GUI windows.      
 The TGFrame class is a subclasses of TGWindow, and is used as base   
 class for some simple widgets (buttons, labels, etc.).               
 It provides:                                                         
  - position & dimension fields                                       
  - an 'options' attribute (see constant above)                       
  - a generic event handler                                           
  - a generic layout mechanism                                        
  - a generic border                                                  
 The TGCompositeFrame class is the base class for composite widgets   
 (menu bars, list boxes, etc.).                                       
 It provides:                                                         
  - a layout manager                                                  
  - a frame container (TList *)                                       
 The TGVerticalFrame and TGHorizontalFrame are composite frame that   
 layout their children in vertical or horizontal way.                 
 The TGMainFrame class defines top level windows that interact with   
 the system Window Manager.                                           
 The TGTransientFrame class defines transient windows that typically  
 are used for dialogs windows.                                        
 The TGGroupFrame is a composite frame with a border and a title.     
 It is typically used to group a number of logically related widgets  
 visually together.                                                   
/* */

TGFrame(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, Pixel_t back)
 Create a TGFrame object. Options is an OR of the EFrameTypes.
TGFrame(TGClient *c, Window_t id, const TGWindow *parent)
 Create a frame using an externally created window. For example
 to register the root window (called by TGClient), or a window
 created via TVirtualX::InitWindow() (id is obtained with
void DeleteWindow()
 Delete window. Use single shot timer to call final delete method.
 We use this indirect way since deleting the window in its own
 execution "thread" can cause side effects because frame methods
 can still be called while the window object has already been deleted.
void ChangeBackground(Pixel_t back)
 Change frame background color.
Pixel_t GetForeground()
 Return frame foreground color.
void SetBackgroundColor(Pixel_t back)
 Set background color (override from TGWindow base class).
 Same effect as ChangeBackground().
void ChangeOptions(UInt_t options)
 Change frame options. Options is an OR of the EFrameTypes.
void AddInput(UInt_t emask)
 Add events specified in the emask to the events the frame should handle.
void RemoveInput(UInt_t emask)
 Remove events specified in emask from the events the frame should handle.
void Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Draw 3D rectangle on the frame border.
void DrawBorder()
 Draw frame border.
void DoRedraw()
 Redraw the frame.
Bool_t HandleConfigureNotify(Event_t *event)
 This event is generated when the frame is resized.
Bool_t HandleEvent(Event_t *event)
 Handle all frame events. Events are dispatched to the specific
 event handlers.
void Move(Int_t x, Int_t y)
 Move frame.
void Resize(UInt_t w, UInt_t h)
 Resize the frame.
 If w=0 && h=0 - Resize to deafult size
void Resize(TGDimension size)
 Resize the frame.
void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Move and/or resize the frame.
 If w=0 && h=0 - Resize to deafult size
void SendMessage(const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
 Send message (i.e. event) to window w. Message is encoded in one long
 as message type and up to two long parameters.
Bool_t HandleClientMessage(Event_t *event)
 Handle a client message. Client messages are the ones sent via
 TGFrame::SendMessage (typically by widgets).
ULong_t GetDefaultFrameBackground()
 Get default frame background.
ULong_t GetDefaultSelectedBackground()
 Get default selected frame background.
ULong_t GetWhitePixel()
 Get white pixel value.
ULong_t GetBlackPixel()
 Get black pixel value.
const TGGC & GetBlackGC()
 Get black graphics context.
const TGGC & GetWhiteGC()
 Get white graphics context.
const TGGC & GetHilightGC()
 Get highlight color graphics context.
const TGGC & GetShadowGC()
 Get shadow color graphics context.
const TGGC & GetBckgndGC()
 Get background color graphics context.
Time_t GetLastClick()
 Get time of last mouse click.
void Print(Option_t *option)
 Print window id.
void SetDragType(Int_t)
void SetDropType(Int_t)
Int_t GetDragType()
 Returns drag source type.
 If frame is not "draggable" - return zero
Int_t GetDropType()
 Returns drop target type.
 If frame cannot accept drop - return zero
void StartGuiBuilding(Bool_t on)
 Go into GUI building mode.
void SaveUserColor(ostream &out, Option_t *option)
 Save a user color in a C++ macro file - used in SavePrimitive().
TString GetOptionString()
 Returns a frame option string - used in SavePrimitive().
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a frame widget as a C++ statement(s) on output stream out.
void * GetSender()
{ return this; }
const TGResourcePool * GetResourcePool()
{ return fClient->GetResourcePool(); }
TGFrame(const TGFrame&)
TGFrame& operator=(const TGFrame&)
void ReallyDelete()
{ delete this; }
UInt_t GetEventMask()
{ return fEventMask; }
Bool_t HandleButton(Event_t *)
{ return kFALSE; }
Bool_t HandleDoubleClick(Event_t *)
{ return kFALSE; }
Bool_t HandleCrossing(Event_t *)
{ return kFALSE; }
Bool_t HandleMotion(Event_t *)
{ return kFALSE; }
Bool_t HandleKey(Event_t *)
{ return kFALSE; }
Bool_t HandleFocusChange(Event_t *)
{ return kFALSE; }
Bool_t HandleSelection(Event_t *)
{ return kFALSE; }
Bool_t HandleSelectionRequest(Event_t *)
{ return kFALSE; }
Bool_t HandleSelectionClear(Event_t *)
{ return kFALSE; }
Bool_t HandleColormapChange(Event_t *)
{ return kFALSE; }
Bool_t HandleDragEnter(TGFrame *)
{ return kFALSE; }
Bool_t HandleDragLeave(TGFrame *)
{ return kFALSE; }
Bool_t HandleDragMotion(TGFrame *)
{ return kFALSE; }
Bool_t HandleDragDrop(TGFrame *, Int_t /*x*/, Int_t /*y*/, TGLayoutHints*)
{ return kFALSE; }
void ProcessedEvent(Event_t *event)
{ Emit("ProcessedEvent(Event_t*)", (Long_t)event); }
Bool_t ProcessMessage(Long_t, Long_t, Long_t)
{ return kFALSE; }
TGDimension GetDefaultSize()
{ return TGDimension(fWidth, fHeight); }
UInt_t GetDefaultWidth()
{ return GetDefaultSize().fWidth; }
UInt_t GetDefaultHeight()
{ return GetDefaultSize().fHeight; }
Pixel_t GetBackground()
{ return fBackground; }
void SetForegroundColor(Pixel_t /*fore*/)
{ }
UInt_t GetOptions()
{ return fOptions; }
void Layout()
{ }
void MapSubwindows()
 Redefine this in TGCompositeFrame!
{ }
void ReparentWindow(const TGWindow *p, Int_t x = 0, Int_t y = 0)
{ TGWindow::ReparentWindow(p, x, y); Move(x, y); }
void MapWindow()
{ TGWindow::MapWindow(); if (fFE) fFE->fState |= kIsVisible; }
void MapRaised()
{ TGWindow::MapRaised(); if (fFE) fFE->fState |= kIsVisible; }
void UnmapWindow()
{ TGWindow::UnmapWindow(); if (fFE) fFE->fState &= ~kIsVisible; }
void DrawCopy(Handle_t /*id*/, Int_t /*x*/, Int_t /*y*/)
{ }
void Activate(Bool_t)
{ }
Bool_t IsActive()
{ return kFALSE; }
Bool_t IsComposite()
{ return kFALSE; }
Bool_t IsEditable()
{ return kFALSE; }
void SetEditable(Bool_t)
void SetLayoutBroken(Bool_t = kTRUE)
Bool_t IsLayoutBroken()
{ return kFALSE; }
void SetCleanup(Int_t = kLocalCleanup)
{ /* backward compatebility */ }
UInt_t GetWidth()
{ return fWidth; }
UInt_t GetHeight()
{ return fHeight; }
UInt_t GetMinWidth()
{ return fMinWidth; }
UInt_t GetMinHeight()
{ return fMinHeight; }
UInt_t GetMaxWidth()
{ return fMaxWidth; }
UInt_t GetMaxHeight()
{ return fMaxHeight; }
TGDimension GetSize()
{ return TGDimension(fWidth, fHeight); }
Int_t GetX()
{ return fX; }
Int_t GetY()
{ return fY; }
Int_t GetBorderWidth()
{ return fBorderWidth; }
TGFrameElement * GetFrameElement()
{ return fFE; }
void SetFrameElement(TGFrameElement *fe)
{ fFE = fe; }
Bool_t Contains(Int_t x, Int_t y)
{ return ((x >= 0) && (x < (Int_t)fWidth) && (y >= 0) && (y < (Int_t)fHeight)); }
TGFrame * GetFrameFromPoint(Int_t x, Int_t y)
{ return (Contains(x, y) ? this : 0); }
void SetX(Int_t x)
 Modifiers (without graphic update)
{ fX = x; }
void SetY(Int_t y)
{ fY = y; }
void SetWidth(UInt_t w)
{ fWidth = w; }
void SetHeight(UInt_t h)
{ fHeight = h; }
void SetMinWidth(UInt_t w)
{ fMinWidth = w; }
void SetMinHeight(UInt_t h)
{ fMinHeight = h; }
void SetMaxWidth(UInt_t w)
{ fMaxWidth = w; }
void SetMaxHeight(UInt_t h)
{ fMaxHeight = h; }
void SetSize(const TGDimension &s)
{ fWidth = s.fWidth; fHeight = s.fHeight; }
void Delete(Option_t * /*option*/ ="")
 dummy to remove from context menu
{ }
TObject * DrawClone(Option_t * /*option */="")
{ return 0; }
void DrawClass()
{ }
void Dump()
{ }
void Inspect()
{ }
void SetDrawOption(Option_t * /*option*/="")
{ }

Author: Fons Rademakers 03/01/98
Last update: root/gui:$Name: $:$Id: TGFrame.cxx,v 1.143 2006/12/12 14:17:52 antcheva Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.