I have been trying to do something simple with Gtk:Notebook. All I want to do for starters is get the number ID of the current tab.
I have the following code:
However I get the following error, which to me doesn't mean much:
int count = notebook.get_current_page();
std::cerr << "TAB COUNT" + count << std::endl;
Does anyone understand this?
error: request for member ‘get_current_page’ in ‘notebook’, which is of non-class type ‘Gtk::Notebook*’