87 fAppButton->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
fHints,
"MatrixLayout()");
90 fRows->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
fHints,
"MatrixLayout()");
91 fColumns->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
fHints,
"MatrixLayout()");
181 fLayButton->Connect(
"Toggled(Bool_t)",
"TGuiBldHintsEditor",
this,
"LayoutSubframes(Bool_t)");
268 fCbTop->Connect(
"Clicked()",
"TGButton",
fCbBottom,
"SetDown(=kFALSE)");
269 fCbBottom->Connect(
"Clicked()",
"TGButton",
fCbTop,
"SetDown(=kFALSE)");
270 fCbRight->Connect(
"Clicked()",
"TGButton",
fCbLeft,
"SetDown(=kFALSE)");
271 fCbLeft->Connect(
"Clicked()",
"TGButton",
fCbRight,
"SetDown(=kFALSE)");
273 fCbTop->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
274 fCbBottom->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
275 fCbRight->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
276 fCbLeft->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
277 fCbExpandX->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
278 fCbCenterX->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
279 fCbExpandY->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
280 fCbCenterY->Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
282 fPadTop->Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
283 fPadLeft->Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
284 fPadRight->Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
285 fPadBottom->Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
287 fPadTop->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
288 fPadLeft->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
289 fPadRight->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
290 fPadBottom->GetNumberEntry()->Connect(
"ReturnPressed()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
424 if (
fPadTop->GetIntNumber() >=0) {
440 fEditor->UpdateSelected(frame);
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
bool Bool_t
Boolean (0=false, 1=true) (bool).
virtual Int_t GetEntries() const
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual TList * GetList() const
virtual TGLayoutManager * GetLayoutManager() const
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
TGCompositeFrame(const TGCompositeFrame &)=delete
void Layout() override
Layout the elements of the composite frame.
void SetCleanup(Int_t mode=kLocalCleanup) override
Turn on automatic cleanup of child frames in dtor.
void SetEditDisabled(UInt_t on=1) override
Set edit disable flag for this frame and subframes.
void SetLayoutBroken(Bool_t on=kTRUE) override
Set broken layout. No Layout method is called.
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
Move and/or resize the frame.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
TGFrame(const TGFrame &)=delete
void DoRedraw() override
Redraw the frame.
void MapWindow() override
map window
TGFrameElement * GetFrameElement() const
virtual void SetLayoutBroken(Bool_t=kTRUE)
void UnmapWindow() override
unmap window
A composite frame with a border and a title.
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
Int_t GetPadRight() const
Int_t GetPadBottom() const
ULong_t GetLayoutHints() const
virtual void SetPadRight(Int_t v)
virtual void SetPadLeft(Int_t v)
virtual void SetPadTop(Int_t v)
virtual void SetPadBottom(Int_t v)
virtual void SetLayoutHints(ULong_t lh)
TClass * IsA() const override
This layout managers does not make use of TGLayoutHints.
TGNumberEntry is a number entry input widget with up/down buttons.
virtual Long_t GetIntNumber() const
TGClient * fClient
Connection to display server.
This class describes layout hints used by the TGTableLayout class.
A layout manager, which places child frames in a table arranged in rows and columns,...
Yield an action as soon as it is clicked.
TGVerticalFrame(const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
ROOT GUI Window base class.
virtual UInt_t GetEditDisabled() const
@ kEditDisableHeight
window height cannot be edited
@ kEditDisableLayout
window layout cannot be edited
@ kEditDisableWidth
window width cannot be edited
@ kEditDisable
disable edit of this window
const TGWindow * GetParent() const
UInt_t fEditDisabled
flags used for "guibuilding"
Editor of widget's layout hints used by the ROOT GUI builder.
void MatrixLayout()
Apply matrix layout.
void LayoutSubframes(Bool_t on=kTRUE)
Layout subframes.
TGCheckButton * fLayButton
TGGroupFrame * fHintsFrame
TGNumberEntry * fPadBottom
TRootGuiBuilder * fBuilder
TGuiBldHintsManager * fHintsManager
TGNumberEntry * fPadRight
void ChangeSelected(TGFrame *)
Change selected.
TGuiBldHintsEditor(const TGWindow *p, TGuiBldEditor *e)
ctor.
TGGroupFrame * fPaddingFrame
TGCheckButton * fCbExpandY
void SetMatrixSep()
Set matrix layout separator.
TGCheckButton * fCbCenterX
TGCheckButton * fCbExpandX
void UpdateState()
Update state.
TGCheckButton * fCbCenterY
void SetPosition()
Set the position of selected frame when adjusted by the right panel input.
TGCheckButton * fCbBottom
TGuiBldHintsEditor * fHints
~TGuiBldHintsManager() override
TGuiBldHintsManager(const TGWindow *p, TGuiBldEditor *editor, TGuiBldHintsEditor *hints)
Constructor.
void ChangeSelected(TGFrame *frame)
action when selected/grabbed frame was changed
static TGuiBuilder * Instance()
return an instance of TGuiBuilder object
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
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.
UInt_t References() const