class TGuiBldDragManager: public TVirtualDragManager, public TGFrame


 TGuiBldDragManager

 Drag and drop manager used by the ROOT GUI Builder.

Function Members (Methods)

public:
TGuiBldDragManager()
virtual~TGuiBldDragManager()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
voidTGFrame::AddInput(UInt_t emask)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
voidChangeBackgroundColor(TGListBox*)MENU
voidChangeBackgroundColor(TGCanvas*)MENU
voidChangeBackgroundColor(TGComboBox*)MENU
voidChangeBackgroundColor(TGFrame*)MENU
voidChangeBackgroundColor(TGCompositeFrame*)MENU
voidChangeBarColor(TGProgressBar*)MENU
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
voidChangeImage(TGIcon*)MENU
virtual voidTGFrame::ChangeOptions(UInt_t options)
voidChangePicture(TGPictureButton*)MENU
voidChangeProperties(TGLabel*)MENU
voidChangeProperties(TGTextButton*)MENU
voidChangeTextColor(TGGroupFrame*)MENU
voidChangeTextColor(TGLabel*)MENU
voidChangeTextColor(TGTextButton*)MENU
voidChangeTextColor(TGProgressBar*)MENU
voidChangeTextColor(TGTextEntry*)MENU
voidChangeTextFont(TGGroupFrame*)MENU
voidChangeTextFont(TGTextEntry*)MENU
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
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()SIGNAL
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)
voidDoClassMenu(Int_t)
voidDoDialogApply()
voidDoDialogCancel()
voidDoDialogOK()
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_tTGFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGFrame::GetDefaultSize() const
virtual UInt_tTGFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
EDragTypeTVirtualDragManager::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
Bool_tGetDropStatus() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
virtual Int_tGetEndDragX() const
virtual Int_tGetEndDragY() const
UInt_tTGFrame::GetEventMask() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGFrame::GetFrameFromPoint(Int_t x, Int_t y)
TGFrame*TVirtualDragManager::GetFrameUnder() const
UInt_tGetGridStep()
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::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_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
TGFrame*TVirtualDragManager::GetPasteFrame() const
TGFrame*GetSelected() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
TGFrame*TVirtualDragManager::GetSource() const
virtual Int_tGetStrartDragX() const
virtual Int_tGetStrartDragY() const
TGFrame*GetTarget() 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
voidHandleAction(Int_t act)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleCrossing(Event_t*)
virtual Bool_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGFrame::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual Bool_tTGFrame::HandleDragDrop(TGFrame*, Int_t, Int_t, TGLayoutHints*)
virtual Bool_tTGFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tHandleKey(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
voidHandleUpdateSelected(TGFrame*)
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 voidTGFrame::Inspect() const
static TVirtualDragManager*TVirtualDragManager::Instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
virtual Bool_tTGFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
Bool_tTVirtualDragManager::IsDragging() const
Bool_tTVirtualDragManager::IsDropping() const
virtual Bool_tTGFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGWindow::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
Bool_tTVirtualDragManager::IsPasting() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsStopped() const
Bool_tTObject::IsZombie() const
virtual voidTGFrame::Layout()
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 voidTGFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
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_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)
TVirtualDragManager&TVirtualDragManager::operator=(const TVirtualDragManager&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGFrame::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual Bool_tTGFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
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 voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGFrame::SavePrimitive(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)
voidSetBuilder(TRootGuiBuilder* b)
virtual voidTGFrame::SetCleanup(Int_t = kLocalCleanup)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
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 voidTGWindow::SetEditDisabled(UInt_t on = kEditDisable)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
voidSetGridStep(UInt_t step)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGFrame::SetLayoutBroken(Bool_t = kTRUE)
virtual voidTGWindow::SetMapSubwindows(Bool_t)
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 voidTVirtualDragManager::SetPasteFrame(TGFrame* f)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTVirtualDragManager::SetSource(TGFrame* f)
virtual voidTVirtualDragManager::SetTarget(TGFrame* f)
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 voidShowMembers(TMemberInspector& insp, char* parent)
voidSnap2Grid()
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 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::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
virtual voidTVirtualDragManager::Init()
voidTObject::MakeZombie()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
private:
voidAddClassMenuMethods(TGPopupMenu* menu, TObject* object)
voidAddDialogMethods(TGPopupMenu* menu, TObject* object)
voidBreakLayout()
virtual Bool_tCancel(Bool_t delSrc)
Bool_tCanChangeLayout(TGWindow* w) const
Bool_tCanChangeLayoutOrder(TGWindow* w) const
Bool_tCanCompact(TGWindow* w) const
voidChangeSelected(TGFrame* f)
Bool_tCheckDragResize(Event_t* event)
Bool_tCheckTargetAtPoint(Int_t x, Int_t y)
voidCheckTargetUnderGrab()
voidCloneEditable()
voidCloseMenus()
voidCompact(Bool_t global = kTRUE)
voidCreateListOfDialogs()
voidCreatePropertyEditor()
voidDeleteFrame(TGFrame* frame)
voidDeleteMenuDialog()
voidDeletePropertyEditor()
voidDoMove()
virtual voidDoRedraw()
voidDoReplace(TGFrame* frame)
voidDoResize()
voidDrawGrabRect(Int_t i, Int_t x, Int_t y)
voidDrawGrabRectangles(TGWindow* win = 0)
voidDrawLasso()
virtual Bool_tDrop()
voidDropCanvas(TGCanvas* canvas)
virtual Bool_tEndDrag()
TGCompositeFrame*FindCompositeFrame(Window_t id)
TGCompositeFrame*FindLayoutFrame(TGFrame* f)
TGFrame*FindMdiFrame(TGFrame* in)
TGFrame*GetBtnEnableParent(TGFrame* fr)
TGFrame*GetEditableParent(TGFrame* f)
TList*GetFramesInside(Int_t x0, Int_t y0, Int_t x, Int_t y)
static TGColorDialog*GetGlobalColorDialog(Bool_t create = kTRUE)
static TGFontDialog*GetGlobalFontDialog()
TGFrame*GetMovableParent(TGWindow* p)
TGWindow*GetResizableParent(TGWindow* p)
voidGrabFrame(TGFrame* frame)
voidHandleAlignment(Int_t to, Bool_t lineup = kFALSE)
voidHandleButon3Pressed(Event_t*, TGFrame* frame = 0)
virtual Bool_tHandleButton(Event_t*)
Bool_tHandleButtonPress(Event_t*)
Bool_tHandleButtonRelease(Event_t*)
virtual Bool_tHandleClientMessage(Event_t*)
virtual Bool_tHandleConfigureNotify(Event_t*)
voidHandleCopy(Bool_t brk_layout = kTRUE)
voidHandleCut()
voidHandleDelete(Bool_t crop = kFALSE)
Bool_tHandleDestroyNotify(Event_t*)
virtual Bool_tHandleDoubleClick(Event_t*)
virtual Bool_tHandleEvent(Event_t*)
virtual Bool_tHandleExpose(Event_t*)
voidHandleGrid()
voidHandleLayoutOrder(Bool_t forward = kTRUE)
virtual Bool_tHandleMotion(Event_t*)
voidHandlePaste()
voidHandleReplace()
voidHandleReturn(Bool_t on = kFALSE)
virtual Bool_tHandleSelection(Event_t*)
virtual Bool_tHandleSelectionRequest(Event_t*)
virtual Bool_tHandleTimer(TTimer*)
voidHideGrabRectangles()
voidHighlightCompositeFrame(Window_t)
virtual Bool_tIgnoreEvent(Event_t* e)
TGFrame*InEditable(Window_t id)
Bool_tIsEditDisabled(TGWindow* f) const
Bool_tIsEventsDisabled(TGWindow* f) const
Bool_tIsFixedH(TGWindow* f) const
Bool_tIsFixedLayout(TGWindow* f) const
Bool_tIsFixedSize(TGWindow* f) const
Bool_tIsFixedW(TGWindow* f) const
Bool_tIsGrabDisabled(TGWindow* f) const
Bool_tIsLassoDrawn() const
Bool_tIsMoveWaiting() const
Bool_tIsPasteFrameExist()
Bool_tIsPointVisible(Int_t x, Int_t y)
Bool_tIsSelectedVisible()
static voidMapGlobalDialog(TGMainFrame* dialog, TGFrame* fr)
voidMenu4Frame(TGFrame*, Int_t x, Int_t y)
voidMenu4Lasso(Int_t x, Int_t y)
voidPlaceFrame(TGFrame*, TGLayoutHints*)
voidPutToCanvas(TGCompositeFrame* cont)
voidRaiseMdiFrame(TGFrame* in)
Bool_tRecognizeGesture(Event_t*, TGFrame* frame = 0)
voidReparentFrames(TGFrame* newfr, TGCompositeFrame* oldfr)
voidReset1()
Bool_tSave(const char* file = "")
Bool_tSaveFrame(const char* file = 0)
voidSelectFrame(TGFrame* frame, Bool_t add = kFALSE)
voidSetCursorType(Int_t cur)
voidSetLassoDrawn(Bool_t on)
voidSetPropertyEditor(TGuiBldEditor* e)
virtual Bool_tStartDrag(TGFrame* src, Int_t x, Int_t y)
voidSwitchEditable(TGFrame* frame)
voidSwitchLayout()
voidToGrid(Int_t& x, Int_t& y)
voidUngrabFrame()
voidUnmapAllPopups()

Data Members

public:
enum TGFrame::[unnamed] { kDeleteWindowCalled
};
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:
Pixel_tTGFrame::fBackgroundframe background color
Int_tTGFrame::fBorderWidthframe border width
TGClient*TGObject::fClientConnection to display server
Int_tTGFrame::fDNDStateEDNDFlags
EDragTypeTVirtualDragManager::fDragTypedragging type
Bool_tTVirtualDragManager::fDraggingin dragging mode?
Bool_tTVirtualDragManager::fDroppingdrop is in progress
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
TGFrame*TVirtualDragManager::fFrameUnderframe under drag
UInt_tTGFrame::fHeightframe height
Handle_tTGObject::fIdX11/Win32 Window identifier
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMinWidthminimal frame width
Bool_tTVirtualDragManager::fMoveWaitingkTRUE if source is clicked but not moved
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
TGFrame*TVirtualDragManager::fPasteFrame
Bool_tTVirtualDragManager::fPastingpaste action is in progress
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
TGFrame*TVirtualDragManager::fSourceframe being dragged
TGFrame*TVirtualDragManager::fTargetdrop target
UInt_tTGFrame::fWidthframe width
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static const TGGC*TGFrame::fgShadowGC
static UInt_tTGFrame::fgUserColor
static const TGGC*TGFrame::fgWhiteGC
static Pixel_tTGFrame::fgWhitePixel
private:
TRootGuiBuilder*fBuilderpointer to gui builder
Bool_tfDropStatuskTRUE if drop was successfull
TGuiBldEditor*fEditorframe property editor
TGPopupMenu*fFrameMenucontext menu for frames
Bool_tfLassoDrawnkTRUE if lasso drawn
TGPopupMenu*fLassoMenucontext menu for lasso drawn
TList*fListOfDialogslist of dialog methods
TStringfPasteFileNamepaste_clippboard file name
TGuiBldDragManagerPimpl*fPimplprivate data
TGFrame*fSelectedselected frame. In most cases selected is
Bool_tfSelectionIsOnselection with Shift key pressed
Bool_tfStopkTRUE if stopped
Window_tfTargetIdan id of window where drop
TStringfTmpBuildFiletemporary file name
static TGColorDialog*fgGlobalColorDialogcolor dialog
static TGFontDialog*fgGlobalFontDialogfont dialog

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGuiBldDragManager()
 Constructor. Create "fantom window".
~TGuiBldDragManager()
 Destructor
void Reset1()
 Reset some parameters
void CreateListOfDialogs()
 Create a list of dialog methods
void Snap2Grid()
 Draw grid on editable frame and restore background on previuosly editted one
UInt_t GetGridStep()
 Return the grid step
void SetGridStep(UInt_t step)
 Set the grid step
Bool_t IgnoreEvent(Event_t* e)
 Return kTRUE if event is rejected for processing by drag manager
TGFrame* InEditable(Window_t id)
 Return a pointer to the parent window (which is being editted)
TGCompositeFrame * FindCompositeFrame(Window_t id)
 Find the first composite parent of window
void SetCursorType(Int_t cur)
 Set cursor for selcted/grabbed frame.
Bool_t CheckDragResize(Event_t* event)
 Check resize type event.
void DoRedraw()
 Redraw the editted window
void SwitchEditable(TGFrame* frame)
 Switch editable
void SelectFrame(TGFrame* frame, Bool_t add = kFALSE)
 Grab/Select frame
void ChangeSelected(TGFrame* f)
 Inform outside wold that selected frame was changed
void GrabFrame(TGFrame* frame)
 grab frame (see SelectFrame)
void UngrabFrame()
 Ungrab/Unselect selected/grabbed frame.
Bool_t IsPointVisible(Int_t x, Int_t y)
 Helper function for IsSelectedWindow method
Bool_t IsSelectedVisible()
 Return kTRUE if grabbed/selected frame is not overlapped by other windows.
void DrawGrabRectangles(TGWindow* win = 0)
 Draw small grab rectangles around grabbed/selected/frame
void DrawGrabRect(Int_t i, Int_t x, Int_t y)
 Helper method to draw grab rectangle at position x,y
void HighlightCompositeFrame(Window_t )
 Raise composite frame when mouse is moving over it.
 That allows to highlight position of "plain" composite frames.
Bool_t HandleTimer(TTimer* )
 The main event loop is  originated here
 It repeadeatly queries pointer state and position on the screen.
 From this info an Event_t structure is built.
Bool_t RecognizeGesture(Event_t* , TGFrame* frame = 0)
 Recognize what was done when mouse button pressed
void HandleButon3Pressed(Event_t* , TGFrame* frame = 0)
 Handle 3d mouse pressed (popup context menu)
Bool_t HandleButton(Event_t* )
 Handle button event occured in some ROOT frame
Bool_t HandleConfigureNotify(Event_t* )
 Resize events
Bool_t HandleExpose(Event_t* )
 Handle repaint event
Bool_t HandleEvent(Event_t* )
 Handle all events.
Bool_t HandleDoubleClick(Event_t* )
 Mouse double click handler (never should happen)
TGFrame * GetBtnEnableParent(TGFrame* fr)
 Return a parent which can handle button evevents.
void UnmapAllPopups()
 Unmap all popups
Bool_t HandleButtonPress(Event_t* )
 Handle button press event
Bool_t HandleButtonRelease(Event_t* )
 Handle button release event
Bool_t HandleKey(Event_t* )
 Handle key event
void ReparentFrames(TGFrame* newfr, TGCompositeFrame* oldfr)
 Reparent frames
TList * GetFramesInside(Int_t x0, Int_t y0, Int_t x, Int_t y)
 Return the list of frames inside of some area
void DropCanvas(TGCanvas* canvas)
 Drop canvas container
void PutToCanvas(TGCompositeFrame* cont)
 Create a new TGCanvas and place container into it
void HandleReturn(Bool_t on = kFALSE)
 Handling of  return/enter key pressing

 If on is kFALSE:
    If Return or Enter key was pressed - Grab Act
    If lasso is  drawn - new composite frame is created and
                         all frames inside lasso adopted as childrens.
    If lasso is not drawn and selected frame is composite one,
                       - new TGCanvas widget is created and selcted frmae became
                         container for this canvas.

 If on is kTRUE:
    If Return or Enter key was pressed with Control Key - Drop Act,
    The opposite action to the Grab Act.
    If selected/grabbed frame is not a TGCanvas widget -
          all frames inside the grabbed/selected frame are "dropped" into
          the underlying frame and the grabbed frame is deleted.

    If selected/grabbed frame is a TGCanvas widget -
          container frame "dropped" to editable frame
void HandleAlignment(Int_t to, Bool_t lineup = kFALSE)
 Align frames located inside lasso area.
void HandleDelete(Bool_t crop = kFALSE)
 Handle delete or crop action

 crop is kFALSE - delete action
   - if lasso is drawn -> all frames inside lasso area are deleted
   - if frame is grabbed/selected -> the frame is deleted
 crop is kTRUE - crop action
   - if lasso is drawn -> all frames outside of lasso area are deleted
   - if frame is grabbed/selected -> all frames except the grabbed frame are deleted
     In both cases the main frame is shrinked to the size of crop area.
void DeleteFrame(TGFrame* frame)
 Delete frame
void HandleCut()
 Handle cut action
void HandleCopy(Bool_t brk_layout = kTRUE)
 Handle copy. This method is also used by SaveFrame method.
 In later case  brk_layout == kFALSE
void HandlePaste()
 Handle paste action.
void DoReplace(TGFrame* frame)
 Replace frame (doesn't work yet properly)
void HandleReplace()
 Handle replace
void CloneEditable()
 Create a frame which is the same as currently editted frame
Bool_t Save(const char* file = "")
 Save an editted frame to the file
Bool_t SaveFrame(const char* file = 0)
 Save composite frame as macro
void DoResize()
 handle resize
void DoMove()
 Handle move
TGFrame * FindMdiFrame(TGFrame* in)
 Return a pointer to the parent mdi frame
void RaiseMdiFrame(TGFrame* in)
 Raise guibuilder's mdi frame.
void CheckTargetUnderGrab()
 Look for the drop target under grabbed/selected frame while moving
Bool_t CheckTargetAtPoint(Int_t x, Int_t y)
 Helper. Look for the drop target under grabbed/selected frame while moving.
Bool_t HandleMotion(Event_t* )
 Handle motion event
void PlaceFrame(TGFrame* , TGLayoutHints* )
 Put created frame at position of the last mouse click
void DrawLasso()
 Draw lasso for allocation new object
Bool_t HandleClientMessage(Event_t* )
 Handle client message
Bool_t HandleDestroyNotify(Event_t* )
 Handle destroy notify
Bool_t HandleSelection(Event_t* )
 not used yet.
Bool_t HandleSelectionRequest(Event_t* )
 not used yet.
TGFrame * GetMovableParent(TGWindow* p)
 Find parent frame which can be dragged
TGWindow * GetResizableParent(TGWindow* p)
 Find parent frame which can be resized
Bool_t StartDrag(TGFrame* src, Int_t x, Int_t y)
 Start dragging.
Bool_t EndDrag()
 End dragging.
Bool_t Cancel(Bool_t delSrc)
 Do cancel action.
Bool_t Drop()
 Drop grabbed frame
Bool_t IsMoveWaiting()
 Waits for either the mouse move from the given initial ButtonPress location
 or for the mouse button to be released. If mouse moves away from the initial
 ButtonPress location before the mouse button is released "IsMoveWaiting"
 returns kTRUE. If the mouse button released before the mose moved from the
 initial ButtonPress location, "IsMoveWaiting" returns kFALSE.
void Compact(Bool_t global = kTRUE)
 Layout and Resize frame.
 If global is kFALSE - compact selected frame
 If global is kFALSE - compact main frame of selected frame
void SetEditable(Bool_t on = kTRUE)
 Grab server.
void ToGrid(Int_t& x, Int_t& y)
 Return grid coordinates which are close to given
void HandleAction(Int_t act)
 Main handler of actions
Bool_t CanChangeLayout(TGWindow* w) const
  kTRUE - if it's possible to switch disable/enable layout
Bool_t CanChangeLayoutOrder(TGWindow* w) const
 kTRUE - if it's possible to change layout order in the parent's layout of window w
Bool_t CanCompact(TGWindow* w) const
 kTRUE is frame could be compacted/"layouted"
void CreatePropertyEditor()
 Create widget property editor (it could be located outside of guibuilder)
void SetPropertyEditor(TGuiBldEditor* e)
 Helper method
void HandleLayoutOrder(Bool_t forward = kTRUE)
 Change layout order
void HandleGrid()
 Switch on/of grid drawn.
TGCompositeFrame * FindLayoutFrame(TGFrame* f)
 Helper to find a frame which can be layouted
void HandleUpdateSelected(TGFrame* )
 When selected frame was changed by guibuilder editor -> update its appearence
void HideGrabRectangles()
 Hide/Unmap grab rectangles.
void DeletePropertyEditor()
 Delete widget property editor.
Int_t GetStrartDragX()
 Return the X coordinate where drag started
Int_t GetStrartDragY()
 Return the Y coordinate where drag started
Int_t GetEndDragX()
 Return the current X coordinate of the dragged frame
Int_t GetEndDragY()
 Returns the current Y coordinate of the dragged frame
void BreakLayout()
 Disable/Enable layout for selected/grabbed composite frame.
void SwitchLayout()
 Switch Horizontal/Vertical layout of selected/grabbed composite frame
TGFrame * GetSelected()
 Return the current grabbed/selected frame.
void CloseMenus()
 Helper to close all menus
TGFrame * GetEditableParent(TGFrame* f)
 Return the parent frame which can be editted.
void AddDialogMethods(TGPopupMenu* menu, TObject* object)
 Add DIALOG entries to the selected frame popup menu
void AddClassMenuMethods(TGPopupMenu* menu, TObject* object)
 Add entries with class //*MENU* methods
void DoClassMenu(Int_t )
 Process a method choosen via frame context menu
void DeleteMenuDialog()
 Delete dialog and trash
void DoDialogOK()
 Process dialog OK button pressed
void DoDialogApply()
 Process dialog Apply button pressed
void DoDialogCancel()
 Process dialog Cancel button pressed
void Menu4Frame(TGFrame* , Int_t x, Int_t y)
 Create and  place context menu for selected frame
void Menu4Lasso(Int_t x, Int_t y)
 Create context menu for lasso actions.
Bool_t IsPasteFrameExist()
 Return kTRUE if paste frame exist.
TGColorDialog * GetGlobalColorDialog(Bool_t create = kTRUE)
 Return pointer to global color dialog. If dialog is not yet created
 and input parameter is kTRUE - the dialog will be created.
TGFontDialog * GetGlobalFontDialog()
 Create global font dialog.
void MapGlobalDialog(TGMainFrame* dialog, TGFrame* fr)
 Map dialog and place it relative to selected frame.
void ChangeBackgroundColor(TGFrame *fr)
 Change background color via context menu.
void ChangeBackgroundColor(TGCompositeFrame *fr)
 Change background color via context menu for this frame and all subframes.
 This method is activated via context menu during guibuilding.
void ChangeTextColor(TGGroupFrame *fr)
 Change text color via color selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeTextFont(TGGroupFrame *fr)
 Change text font via font selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeProperties(TGTextButton *fr)
 Edit properties via font selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeTextColor(TGTextButton *fr)
 Change text color via color selection dialog. This method is activated
 via context menu during guibuilding.
void ChangePicture(TGPictureButton* )
 Invoke file dialog to assign a new picture.
 This method is activated via context menu during guibuilding.
void ChangeBackgroundColor(TGCanvas *fr)
 Change background color via context menu
void ChangeBackgroundColor(TGComboBox *fr)
 Change background color for list box entries. This method is invoked
 via context menu during guibuilding.
void ChangeProperties(TGLabel *fr)
 Edit properties via font selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeTextColor(TGLabel *fr)
 Change text color via color selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeBackgroundColor(TGListBox *fr)
 Set background color for list box entries. This method is invoked
 via context menu during  guibuilding.
void ChangeBarColor(TGProgressBar* )
 Set progress bar color via TGColorDialog.
 This method is activated via context menu during guibuilding.
void ChangeTextColor(TGProgressBar *fr)
 Change text color which displays position.
void ChangeTextColor(TGTextEntry *fr)
 Set text color. This method is invoked
 via context menu during  guibuilding.
void ChangeTextFont(TGTextEntry *fr)
 Change text font via font selection dialog. This method is activated
 via context menu during guibuilding.
void ChangeImage(TGIcon* )
 Invoke file dialog to assign a new image.
 This method is activated via context menu during guibuilding.
void SetLassoDrawn(Bool_t on)
 Set lasso drawn flag
Bool_t IsEditDisabled(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisable)); }
Bool_t IsGrabDisabled(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableGrab)); }
Bool_t IsEventsDisabled(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableEvents)); }
Bool_t IsFixedLayout(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableLayout)); }
Bool_t IsFixedH(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableHeight)); }
Bool_t IsFixedW(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableWidth)); }
Bool_t IsFixedSize(TGWindow* f) const
{ return (f && (f->GetEditDisabled() & kEditDisableResize)); }
Bool_t IsLassoDrawn()
{ return fLassoDrawn; }
TGFrame * GetTarget()
{ return fTarget; }
Bool_t GetDropStatus()
{ return fDropStatus; }
void SetBuilder(TRootGuiBuilder* b)
{ fBuilder = b; }
Bool_t IsStopped()
{ return fStop; }

Author: Valeriy Onuchin 12/09/04
Last change: root/guibuilder:$Id: TGuiBldDragManager.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:46
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.