GNOME Bugzilla – Bug 443319
error: ‘class Gtk::Window’ has no member named ‘set_deletable’
Last modified: 2007-06-05 09:49:57 UTC
Please describe the problem: Compiler do not want to accept using method set_deletable in Gtk::Window class. error: ‘class Gtk::Window’ has no member named ‘set_deletable’ Steps to reproduce: #include <gtkmm.h> int main(int argc, char* argv[]) { Gtk::Main kit(argc,argv); Gtk::Window window; window.set_deletable(false); // <- generates error kit.run(window); //m_box.pack_start(m_Button1); //m_box.pack_start(m_Button2); return 0; } Actual results: Expected results: Does this happen every time? Other information:
You've filed this against version 2.4, is that the version you have installed? What's the output of the following command? $ pkg-config --modversion gtkmm-2.4 Because this function was added in gtkmm version 2.10, so if you need to use this function, you will have to use at least version 2.10 of gtkmm.
I have 2.8.3. So probably is the point. Thanks.
Hi! By the way a have tried to do workaround for that: gtk_window_set_deletable (mywindow.gobj(),false); and it behaves good on linux, but on windows it behaves strange - like default minimization. Regards.
if you have an issue with gtk_window_set_deletable(), you should probably file a request against GTK+.
Hi Of course, but I want to say just that it is possible to use workaround. Regards.