50 fBmode->SetToolTipText(
"Set a sunken border of the frame");
52 fBmode0->SetToolTipText(
"Set no border of the frame");
54 fBmode1->SetToolTipText(
"Set a raised border of the frame");
90 fBmode->Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
91 fBmode0->Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
92 fBmode1->Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
93 fBsize->Connect(
"Selected(Int_t)",
"TFrameEditor",
this,
"DoBorderSize(Int_t)");
107 par =
fFrame->GetBorderMode();
112 par =
fFrame->GetBorderSize();
113 if (par < 1) par = 1;
114 if (par > 16) par = 16;
135 fFrame->SetBorderMode(mode);
ULong_t Pixel_t
Pixel value.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
TGRadioButton * fBmode
set sinken frame border mode
TGLineWidthComboBox * fBsize
set frame border size
~TFrameEditor() override
Destructor of frame editor.
virtual void DoBorderMode()
Slot connected to the border mode settings.
virtual void DoBorderSize(Int_t size)
Slot connected to the border size settings.
void SetModel(TObject *obj) override
Pick up the frame attributes.
TGRadioButton * fBmode0
set no border
TFrameEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TFrame editor GUI.
TGLayoutHints * fBmodelh
layout hints for border mode buttons
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGRadioButton * fBmode1
set raised frame border mode
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
void ChangeOptions(UInt_t options) override
Change composite frame options. Options is an OR of the EFrameTypes.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
Bool_t fInit
init flag for setting signals/slots
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Mother of all ROOT objects.