I am using the library gtkmm in C++. This is the part of the code where I define "Open":
Gtk::ImageMenuItem *menuOpen = Gtk::manage(new Gtk::ImageMenuItem(Gtk::Stock::OPEN));
menuFile->append(*menuOpen);
I want "Open" to be greyed out if I cannot click on it, but I don't know the method which allows to do that. Any suggestions?
Thank you for your help.