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

Christian Nolte <[email protected]> Fri, 20 Jan 2006 20:59:56 +0100
Newsgroups gmane.comp.gnome.gnomemm
Organization University Of Applied Sciences
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Ferrer Ib=E1=F1ez wrote:
> I've done a plugin for nautilus using gtkmm and it was necessary to do
>=20
> Gtk::Main::init_gtkmm_internals();
>=20
> before doing anything with gtkmmm. Don't know if this is the correct wa=
y
> 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=3D
=3DXCHh
-----END PGP SIGNATURE-----