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