15 #include "TGTextEntry.h" 75 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent,180,20,kFixedWidth);
79 m_widget->Connect(
"ReturnPressed()",
"FWStringParameterSetter",
this,
"doUpdate()");
84 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsExpandX|kLHintsCenterY,2,2,1,1));
85 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY,4,2,1,1) );
89 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY) );
90 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