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));
FWStringParameterSetter()
FWParameterSetterEditorBase * frame() const
FWStringParameter * m_param
void attach(FWParameterBase *) override
~FWStringParameterSetter() override
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
const std::string & name() const