77 b->Connect(
"Clicked()",
"TGLLightSetSubEditor",
this,
"DoButton()");
138 fSE->
Connect(
"Changed()",
"TGLLightSetEditor",
this,
"Update()");
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN void * gTQSender
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void SetTitlePos(ETitlePos pos=kLeft)
virtual void SetModel(TObject *obj)
SetModel ... forward to sub-editor.
TGLLightSetEditor(const TGLLightSetEditor &)
virtual ~TGLLightSetEditor()
Destructor.
TGLLightSetSubEditor * fSE
Sub-editor for TGLLightSet.
void SetModel(TGLLightSet *m)
New model was set, refresh data.
TGGroupFrame * fLightFrame
void DoButton()
Lights radio button was clicked.
TGButton * MakeLampButton(const char *name, Int_t wid, TGCompositeFrame *parent)
Create a button for given lamp and set it up.
TGButton * fSpecularLight
TGLLightSetSubEditor(const TGLLightSetSubEditor &)
void Changed()
Data in sub-editor has been changed, emit "Changed()" signal.
Encapsulates a set of lights for OpenGL.
Bool_t GetUseSpecular() const
void SetLight(ELight light, Bool_t on)
Set a light on/off.
virtual void MakeTitle(const char *title)
Create attribute frame title.
Mother of all ROOT objects.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
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.