64 fNEWidth->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldGeometryFrame",
65 this,
"ResizeSelected()");
66 fNEWidth->Connect(
"ValueSet(Long_t)",
"TGuiBldGeometryFrame",
this,
68 fNEHeight->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldGeometryFrame",
69 this,
"ResizeSelected()");
70 fNEHeight->Connect(
"ValueSet(Long_t)",
"TGuiBldGeometryFrame",
this,
74 fNEWidth->SetNumber(0);
75 fNEHeight->SetNumber(0);
99 if ((w > 0) && (h > 0)) {
TGFrame * GetSelected() const
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
const TGWindow * GetRoot() const
Returns current root (i.e.
virtual void SetNumber(Double_t val)
R__EXTERN TVirtualDragManager * gDragManager
TGNumberEntry * fNEHeight
void ChangeSelected(TGFrame *frame)
Update number entries when new frame selected.
TRootGuiBuilder * fBuilder
virtual void SetCleanup(Int_t=kLocalCleanup)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
void DrawGrabRectangles(TGWindow *win=0)
Draw small grab rectangles around grabbed/selected/frame.
static TGuiBuilder * Instance()
return an instance of TGuiBuilder object
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual Long_t GetIntNumber() const
ClassImp(TGuiBldGeometryFrame) TGuiBldGeometryFrame
Constructor.
TGuiBldDragManager * fDragManager
void ResizeSelected()
Resize and redraw selected frame.
TRootGuiBuilder * fBuilder