Gtkmm must be initialized before a gtk+ object can be wrapped
in a gtkmm object. This is handled by Gtk::Application::create().
If someone else creates the application in your case, and you
won't call Gtk::Application::create(), I think the only way to
initialize gtkmm (except creating a deprecated Gtk::Main object)
is to call the static Gtk::Main::init_gtkmm_internals() function. Den 2015-03-22 13:02, 张海 skrev:
|