i am using the gtkmm library with C++ and i am trying to create a signal wich allow to change of tab but it does not work. Actually i think the problem comes from this line :
menuit->signal_activate().connect([&bo]() {bo->next_page();});
where
menuit = Gtk::MenuItem
bo = Gtk::Notebook
When i compile it is perfect but when i execute the file i have this line :
Segmentation fault
(program exited with code: 139)
Thank you a lot for your help !
Aucun commentaire:
Enregistrer un commentaire