It seems like the constructor taking Gtk::Orientation
has a default value for that parameter, therefore it can also be called with no arguments:
public:
Scale();
explicit Scale(Orientation orientation = ORIENTATION_HORIZONTAL);
The keyword explicit
here does not help, it only possibly disallows converting anything passed in to the Orientation
type for it to match.
I say just provide the orientation value, it will at least be explicitly apparent which kind of Scale widget you are creating for anyone else reading the code.