88 fAppButton->
Connect(
"Clicked()",
"TGuiBldHintsEditor",
fHints,
"MatrixLayout()");
144 if (lm->IsA() == TGVerticalLayout::Class()) {
147 }
else if (lm->IsA() == TGHorizontalLayout::Class()) {
150 }
else if (lm->IsA() == TGMatrixLayout::Class()) {
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;
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 SetLayoutBroken(Bool_t on=kTRUE)
Set broken layout. No Layout method is called.
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual TList * GetList() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual TGLayoutManager * GetLayoutManager() const
virtual void Layout()
Layout the elements of the composite frame.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void SetEditDisabled(UInt_t on=1)
Set edit disable flag for this frame and subframes.
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
virtual void DoRedraw()
Redraw the frame.
TGFrameElement * GetFrameElement() const
virtual void SetLayoutBroken(Bool_t=kTRUE)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
virtual void MapWindow()
map window
virtual void UnmapWindow()
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)
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
virtual void Layout()
Make a matrix layout of all frames in the list.
TGNumberEntry is a number entry input widget with up/down buttons.
TGNumberEntryField * GetNumberEntry() const
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"
TGFrame * GetSelected() const
void UpdateSelected(TGFrame *=0)
Update selected frame.
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
virtual ~TGuiBldHintsManager()
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