88 fAppButton->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
fHints,
"MatrixLayout()");
182 fLayButton->
Connect(
"Toggled(Bool_t)",
"TGuiBldHintsEditor",
this,
"LayoutSubframes(Bool_t)");
274 fCbTop->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
275 fCbBottom->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
276 fCbRight->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
277 fCbLeft->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
this,
"UpdateState()");
283 fPadTop->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
284 fPadLeft->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
285 fPadRight->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
286 fPadBottom->
Connect(
"ValueSet(Long_t)",
"TGuiBldHintsEditor",
this,
"UpdateState()");
370 lh &= ~kLHintsCenterX;
376 lh &= ~kLHintsCenterY;
382 lh &= ~kLHintsExpandX;
388 lh &= ~kLHintsExpandY;
393 lh &= ~kLHintsBottom;
402 lh &= ~kLHintsBottom;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
R__EXTERN void * gTQSender
virtual Int_t GetEntries() const
const TGWindow * GetRoot() const
Returns current root (i.e.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
The base class for composite widgets (menu bars, list boxes, etc.).
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.
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.
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.
UInt_t fRows
number of rows
Int_t fSep
interval between frames
UInt_t fColumns
number of columns
void Layout() override
Make a matrix layout of all frames in the list.
TGNumberEntry is a number entry input widget with up/down buttons.
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
virtual void SetIntNumber(Long_t val, Bool_t emit=kTRUE)
virtual Long_t GetIntNumber() const
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
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.
A composite frame that layout their children in vertical way.
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"
void UpdateSelected(TGFrame *=nullptr)
Update selected frame.
TGFrame * GetSelected() const
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