0
I’m starting a Gtkmm app with Glade. I want to put all event handling functions in a separate class from which the Glade file is being instantiated. Following the example of the book Programming with Gtkmm 3 in the section Glade and Gtk::Builder, I can easily display the window. The problem occurs when I try to access a member of the class using Glade in the event handler class.
Follow the classes:
gtimer-Gui. h gtimer-Gui.cpp main.cpp gtimer-controller. h gtimer-controller.cppWhen trying to access the p_new button to link the event handler I get the following message:
request for Member 'p_new' in 'gtimergui' which is of Pointer type 'Gtimergui' (Maybe you Meant to use ' -> ' ?)
What may be going wrong if I am already using the correct symbol to manipulate members of a pointer?