Can anyone see anything wrong with this?
I am attempting to replace the existing notebook in glade with a code built one.
Here are the error messages:
So from what I understand Viewports don't have a call for attach or remove.. so how can I achieve what I want to do?
main.cc: In member function ‘Gtk::Window* mainWindow::init()’:
main.cc:103:2: error: expected initializer before ‘refBuilder’
main.cc:108:23: error: no matching function for call to ‘Gtk::Viewport::remove(Gtk::Notebook&)’
main.cc:108:23: note: candidate is:
/usr/include/gtkmm-3.0/gtkmm/bin.h:140:8: note: void Gtk::Bin::remove()
/usr/include/gtkmm-3.0/gtkmm/bin.h:140:8: note: candidate expects 0 arguments, 1 provided
main.cc:110:8: error: ‘class Gtk::Viewport’ has no member named ‘attach’