17 #include "TGComboBox.h"
58 m_param = dynamic_cast<FWEnumParameter*>(iParam);
63 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent);
69 m_widget->AddEntry(
me->second.c_str(), static_cast<Int_t>(
me->first));
70 if (
me->second.length() > max_len)
71 max_len =
me->second.length();
74 m_widget->Resize(8 * max_len + 20, 20);
77 m_widget->Connect(
"Selected(Int_t)",
"FWEnumParameterSetter",
this,
"doUpdate(Int_t)");
82 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 6, 2, 2));
83 frame->AddFrame(
label,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 4, 0, 0));
85 frame->AddFrame(
label,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY));
86 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 8, 2, 2));