According to Gtkmm docs Gtk::Scale::Scale
is overloaded constructor and can take nothing or Gtk::Orientation
.
I created object:
Gtk::Scale m_scale;
And added it to Gtk::HBox
hbox.pack_start(m_scale, false, 0);
But it produces error:
error: call of overloaded ‘Scale()’ is ambiguous
And it tells me that candidates are Gtk::Scale without any parameter and one with Gtk::Orientation.
How should I force to use Gtk::Scale constructor without parameters?
Thanks, S.