16 #include "TGTextEntry.h"
76 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent,180,20,kFixedWidth);
80 m_widget->Connect(
"ReturnPressed()",
"FWStringParameterSetter",
this,
"doUpdate()");
85 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsExpandX|kLHintsCenterY,2,2,1,1));
86 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY,4,2,1,1) );
90 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY) );
91 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,8,2,2));
virtual ~FWStringParameterSetter()
FWStringParameterSetter()
FWParameterSetterEditorBase * frame() const
virtual void attach(FWParameterBase *)
FWStringParameter * m_param
virtual TGFrame * build(TGFrame *iParent, bool labelBack=true)
const std::string & name() const