You should get the settings object (adjustment, adjustment), and then call the methods on them. Assuming gtkmm, as you noted this with C ++, something like this:
Glib::RefPtr<Adjustment> adj = win->get_vadjustment();
adj->set_value(adj->get_upper());
source
share