96 fBmode->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
97 fBmode0->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
98 fBmode1->
Connect(
"Toggled(Bool_t)",
"TFrameEditor",
this,
"DoBorderMode()");
99 fBsize->
Connect(
"Selected(Int_t)",
"TFrameEditor",
this,
"DoBorderSize(Int_t)");
119 if (par < 1) par = 1;
120 if (par > 16) par = 16;
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual ~TFrameEditor()
Destructor of frame editor.
virtual void SetBorderMode(Short_t bordermode)
virtual void SetModel(TObject *obj)
Pick up the frame attributes.
virtual void DoBorderMode()
Slot connected to the border mode settings.
TFrameEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TFrame editor GUI.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
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...
TGCompositeFrame(const TGCompositeFrame &)
virtual void SetBorderSize(Short_t bordersize)
ClassImp(TFrameEditor) enum EFrameWid
TGLineWidthComboBox * fBsize
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...
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual void SetEnabled(Bool_t on=kTRUE)
Set state of combo box. If kTRUE=enabled, kFALSE=disabled.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void DoBorderSize(Int_t size)
Slot connected to the border size settings.
Mother of all ROOT objects.
double f2(const double *x)
Short_t GetBorderMode() const
Short_t GetBorderSize() const