library: libGui
#include "TGFrame.h"

TGCompositeFrame


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

class TGCompositeFrame: public TGFrame

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGCompositeFrame(TGClient* c, Window_t id, const TGWindow* parent = 0)
TGCompositeFrame(const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
virtual~TGCompositeFrame()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidAddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidChangeOptions(UInt_t options)
virtual voidChangeSubframesBackground(Pixel_t back)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidCleanup()
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_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
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 voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() 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_tTGFrame::GetBackground() const
static const TGGC&TGFrame::GetBckgndGC()
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGClient*TGObject::GetClient() const
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tGetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionGetDefaultSize() const
virtual UInt_tGetDefaultWidth() const
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
virtual TGLayoutManager*GetLayoutManager() const
virtual TList*GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() 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_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tGetState(TGFrame* f) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tHandleButton(Event_t*)
virtual Bool_tTGFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tHandleCrossing(Event_t*)
virtual Bool_tHandleDoubleClick(Event_t*)
virtual Bool_tHandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tHandleDragEnter(TGFrame*)
virtual Bool_tHandleDragLeave(TGFrame*)
virtual Bool_tHandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(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_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual voidHideFrame(TGFrame* f)
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 voidTGFrame::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tIsArranged(TGFrame* f) const
Bool_tIsArranged(TGFrameElement* ptr) 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_tIsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsVisible(TGFrame* f) const
Bool_tIsVisible(TGFrameElement* ptr) 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 voidTGFrame::MapRaised()
virtual voidMapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tMustCleanup() 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 voidTGFrame::ProcessedEvent(Event_t* event)
virtual Bool_tProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidRemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(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 = "")
virtual voidSavePrimitiveSubframes(ostream& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGFrame::SetBackgroundColor(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 mode = kLocalCleanup)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetEditable(Bool_t on = kTRUE)
virtual voidSetEditDisabled(UInt_t on = 1)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidSetLayoutBroken(Bool_t on = kTRUE)
virtual voidSetLayoutManager(TGLayoutManager* l)
virtual voidSetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = "0")
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidShowFrame(TGFrame* f)
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 Bool_tTranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
virtual voidTGFrame::UnmapWindow()
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
protected:
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 voidTGFrame::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tTGFrame::GetLastClick()
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
private:
TGCompositeFrame(const TGCompositeFrame&)
TGCompositeFrame&operator=(const TGCompositeFrame&)

Data Members

public:
enum TGWindow::EEditMode { kEditEnable
kEditDisable
kEditDisableEvents
kEditDisableGrab
kEditDisableLayout
kEditDisableResize
kEditDisableHeight
kEditDisableWidth
kEditDisableBtnEnable
kEditDisableKeyEnable
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TGLayoutManager*fLayoutManagerlayout manager
TList*fListcontainer of frame elements
Bool_tfLayoutBrokenno layout manager is used
Int_tfMustCleanupcleanup mode (see EFrameCleanup)
Bool_tfMapSubwindowskTRUE - map subwindows
static TGLayoutHints*fgDefaultHintsdefault hints used by AddFrame()
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
UInt_tTGFrame::fWidthframe width
UInt_tTGFrame::fHeightframe height
UInt_tTGFrame::fMinWidthminimal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMaxHeightmaximal frame height
Int_tTGFrame::fBorderWidthframe border width
UInt_tTGFrame::fOptionsframe options
Pixel_tTGFrame::fBackgroundframe background color
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
static Bool_tTGFrame::fgInit
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static Pixel_tTGFrame::fgWhitePixel
static Pixel_tTGFrame::fgBlackPixel
static const TGGC*TGFrame::fgBlackGC
static const TGGC*TGFrame::fgWhiteGC
static const TGGC*TGFrame::fgHilightGC
static const TGGC*TGFrame::fgShadowGC
static const TGGC*TGFrame::fgBckgndGC
static Time_tTGFrame::fgLastClick
static UInt_tTGFrame::fgLastButton
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Window_tTGFrame::fgDbw
static UInt_tTGFrame::fgUserColor
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.                                                   
                                                                      
/* */

TGCompositeFrame(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, Pixel_t back)
 Create a composite frame. A composite frame has in addition to a TGFrame
 also a layout manager and a list of child frames.
TGCompositeFrame(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 TVirtualX::GetWindowID()).
~TGCompositeFrame()
 Delete a composite frame.
Bool_t IsEditable()
 Return kTRUE if frame is being edited.
void SetEditable(Bool_t on)
 Switch ON/OFF edit mode.
 If edit mode is ON it is possible:

  1. embed other ROOT GUI application (a la ActiveX)

  For example:
    TGMainFrame *m = new TGMainFrame(gClient->GetRoot(), 500, 500);
    m->SetEditable();
    gSystem->Load("$ROOTSYS/test/Aclock"); // load Aclock demo
    Aclock a;
    gROOT->Macro("$ROOTSYS/tutorials/gui/guitest.C");
    m->SetEditable(0);
    m->MapWindow();

void Cleanup()
 Cleanup and delete all objects contained in this composite frame.
 This will delete all objects added via AddFrame().
 CAUTION: all objects (frames and layout hints) must be unique, i.e.
 cannot be shared.
void SetLayoutManager(TGLayoutManager *l)
 Set the layout manager for the composite frame.
 The layout manager is adopted by the frame and will be deleted
 by the frame.
void SetLayoutBroken(Bool_t on)
 Set broken layout. No Layout method is called.
void SetEditDisabled(UInt_t on)
 Set edit disable flag for this frame and subframes

  - if (on & kEditDisable) - disable edit for this frame and all subframes.
void ChangeOptions(UInt_t options)
 Change composite frame options. Options is an OR of the EFrameTypes.
void SetCleanup(Int_t mode)
 Turn on automatic cleanup of child frames in dtor.

 if mode = kNoCleanup    - no automatic cleanup
 if mode = kLocalCleanup - automatic cleanup in this composite frame only
 if mode = kDeepCleanup  - automatic deep cleanup in this composite frame
                           and all child composite frames (hierarchical)

 Attention!
    Hierarchical cleaning is dangerous and must be used with caution.
    There are many GUI components (in ROOT and in user code) which do not
    use Clean method in destructor ("custom deallocation").
    Adding such component to GUI container which is using hierarchical
    cleaning will produce seg. violation when container is deleted.
    The reason is double deletion: first whem Clean method is invoked,
    then at "custom deallocation".
    We are going to correct all ROOT code to make it to be
    consitent with hierarchical cleaning scheeme.
void AddFrame(TGFrame *f, TGLayoutHints *l)
 Add frame to the composite frame using the specified layout hints.
 If no hints are specified default hints TGLayoutHints(kLHintsNormal,0,0,0,0)
 will be used. Most of the time, however, you will want to provide
 specific hints. User specified hints can be reused many times
 and need to be destroyed by the user. The added frames cannot not be
 added to different composite frames but still need to be deleted by
 the user.
void RemoveFrame(TGFrame *f)
 Remove frame from composite frame.
void MapSubwindows()
 Map all sub windows that are part of the composite frame.
void HideFrame(TGFrame *f)
 Hide sub frame.
void ShowFrame(TGFrame *f)
 Show sub frame.
Int_t GetState(TGFrame *f)
 Get state of sub frame.
Bool_t IsVisible(TGFrame *f)
 Get state of sub frame.
Bool_t IsArranged(TGFrame *f)
 Get state of sub frame.
void Layout()
 Layout the elements of the composite frame.
void Print(Option_t *option)
 Print all frames in this composite frame.
void ChangeSubframesBackground(Pixel_t back)
 Change background color for this frame and all subframes.
TGFrame * GetFrameFromPoint(Int_t x, Int_t y)
 Get frame located at specified point.
Bool_t TranslateCoordinates(TGFrame *child, Int_t x, Int_t y, Int_t &fx, Int_t &fy)
 Translate coordinates to child frame.
Bool_t HandleDragEnter(TGFrame *)
 Handle drag enter event.
Bool_t HandleDragLeave(TGFrame *)
 Handle drag leave event.
Bool_t HandleDragMotion(TGFrame *)
 Handle drag motion event.
Bool_t HandleDragDrop(TGFrame *frame, Int_t x, Int_t y, TGLayoutHints *lo)
 Handle drop event.
void SavePrimitiveSubframes(ostream &out, Option_t *option /*= ""*/)
 Auxilary protected method  used to save subframes.
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a composite frame widget as a C++ statement(s) on output stream out.
TGFrame& operator=(const TGFrame&)
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 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; }
Bool_t IsComposite()
{ return kFALSE; }
Bool_t IsLayoutBroken()
{ return kFALSE; }
TGCompositeFrame(const TGCompositeFrame&)
TList * GetList()
{ return fList; }
TGLayoutManager * GetLayoutManager()
{ return fLayoutManager; }
Bool_t IsVisible(TGFrame *f)
Bool_t IsArranged(TGFrame *f)
Int_t MustCleanup()
{ return fMustCleanup; }
void SetMapSubwindows(Bool_t on)
{ fMapSubwindows = on; }
Bool_t IsMapSubwindows()
{ return fMapSubwindows; }

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.