49 virtual ~TGuiBldHintsManager() { }
50 void ChangeSelected(
TGFrame *frame);
86 fAppButton->
Connect(
"Clicked()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
89 fRows->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
90 fColumns->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor", fHints,
"MatrixLayout()");
107 void TGuiBldHintsManager::ChangeSelected(
TGFrame *frame)
113 fHints->fLayButton->SetEnabled(
kFALSE);
114 fHints->fLayButton->SetDown(
kFALSE);
116 fColumns->SetNumber(0);
125 fHints->fLayButton->SetEnabled(
kFALSE);
126 fHints->fLayButton->SetDown(
kFALSE);
128 fColumns->SetNumber(0);
139 fHints->fLayButton->SetEnabled(
kTRUE);
140 fHints->fLayButton->SetDown(
kFALSE);
144 fColumns->SetNumber(1);
146 fColumns->SetNumber(n);
151 fColumns->SetNumber(fMatrix->fColumns);
152 fRows->SetNumber(fMatrix->fRows);
180 fLayButton->
Connect(
"Toggled(Bool_t)",
"TGuiBldHintsEditor",
this,
"LayoutSubframes(Bool_t)");
272 fCbTop->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
273 fCbBottom->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
274 fCbRight->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
275 fCbLeft->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
281 fPadTop->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
282 fPadLeft->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
283 fPadRight->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
284 fPadBottom->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetPadBottom(Int_t v)
TGCheckButton * fCbBottom
virtual void MapSubwindows()
virtual UInt_t GetEditDisabled() const
TGCheckButton * fLayButton
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
TGNumberEntry * fPadBottom
TGGroupFrame * fHintsFrame
ULong_t GetLayoutHints() const
void ChangeSelected(TGFrame *)
Change selected.
R__EXTERN void * gTQSender
const TGWindow * GetRoot() const
Returns current root (i.e.
void MatrixLayout()
Apply matrix layout.
virtual Int_t GetEntries() const
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
TGGroupFrame * fPaddingFrame
TGFrame * GetSelected() const
virtual void Layout()
Layout the elements of the composite frame.
virtual Long_t GetIntNumber() const
virtual TList * GetList() const
TGuiBldHintsEditor(const TGWindow *p, TGuiBldEditor *e)
ctor.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void SetPadRight(Int_t v)
virtual void SetLayoutBroken(Bool_t on=kTRUE)
Set broken layout. No Layout method is called.
void LayoutSubframes(Bool_t on=kTRUE)
Layout subframes.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
UInt_t References() const
TGVerticalFrame(const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void SetIntNumber(Long_t val)
TGCheckButton * fCbExpandX
virtual void SetEditDisabled(UInt_t on=1)
Set edit disable flag for this frame and subframes.
virtual void SetLayoutHints(ULong_t lh)
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
void SetMatrixSep()
Set matrix layout separator.
Int_t GetPadRight() const
void SetPosition()
Set the position of selected frame when adjusted by the right panel input.
TGNumberEntry * fPadRight
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
virtual void SetCleanup(Int_t=kLocalCleanup)
void UpdateState()
Update state.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
const TGWindow * GetParent() const
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
TRootGuiBuilder * fBuilder
void UpdateSelected(TGFrame *=0)
Update selected frame.
virtual TGLayoutManager * GetLayoutManager() const
virtual void UnmapWindow()
virtual void SetPadTop(Int_t v)
TGuiBldHintsManager * fHintsManager
TGNumberEntryField * GetNumberEntry() const
static TGuiBuilder * Instance()
return an instance of TGuiBuilder object
virtual void SetLayoutBroken(Bool_t=kTRUE)
TGFrameElement * GetFrameElement() const
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
TGCheckButton * fCbCenterX
virtual void SetPadLeft(Int_t v)
TGCheckButton * fCbExpandY
TGCheckButton * fCbCenterY
Int_t GetPadBottom() const