Re: libglademm: mixing Gtk-C code with gtkmm-C++ code possible?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Ferrer Ibáñez wrote:
> I've done a plugin for nautilus using gtkmm and it was necessary to do
> 
> Gtk::Main::init_gtkmm_internals();
> 
> before doing anything with gtkmmm. Don't know if this is the correct way
> but it works. Failing to do that caused lots of stranges messages from
> gtkmm, crashes, and of course no widget appeared.

Thank you for this hint! It seems to be the correct way, at least it's
better than my latest try:

Gtk::Main kit(0,0);

which BTW works too but is very ugly...


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFD0UE8CNjA0nfhW7wRAnKWAJ9yaQkQIVKciwbQnyy8yF1fJy2vyACeMj2z
tBRurcU81gQ+/vOYjMySgQc=
=XCHh
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]