91 fBmode->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
92 fBmode0->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
93 fBmode1->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
94 fBsize->
Connect(
"Selected(Int_t)",
"TFrameEditor",
this,
"DoBorderSize(Int_t)");
114 if (par < 1) par = 1;
115 if (par > 16) par = 16;
ULong_t Pixel_t
Pixel value.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
TGRadioButton * fBmode
set sinken frame border mode
TGLineWidthComboBox * fBsize
set frame border size
virtual void DoBorderMode()
Slot connected to the border mode settings.
virtual void DoBorderSize(Int_t size)
Slot connected to the border size settings.
virtual ~TFrameEditor()
Destructor of frame editor.
TGRadioButton * fBmode0
set no border
virtual void SetModel(TObject *obj)
Pick up the frame attributes.
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 Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual void SetEnabled(Bool_t on=kTRUE)
Set state of combo box. If kTRUE=enabled, kFALSE=disabled.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void ChangeOptions(UInt_t options) override
Change composite frame options. Options is an OR of the EFrameTypes.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
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.
Base frame for implementing GUI - a service class.
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.
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.
Short_t GetBorderSize() const
Short_t GetBorderMode() const
virtual void SetBorderMode(Short_t bordermode)
virtual void SetBorderSize(Short_t bordersize)