[GtkGLExt] Using gtkglextmm widgets and libglademm



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

Hi all

I want to know the correct way to load a widget (derived from
Gtk::GL::DrawingArea) from my .glade file

I have a class like this:

class MySceneClass : public Gtk::GL::DrawingArea
{
~  ...
};

(and Gtk::GL::DrawingArea derives from Gtk::DrawingArea)

But Glade (the interface designer) doesn't have any Gtk::GL::DrawingArea.

So, I think (me noob) I must use Gtk::DrawingArea in .glade file, and
then load it using Gnome::Glade::Xml::get_widget_derived to get a
MySceneClass*.

I'm gonna try this but I want to know if is there any better approach on
doing this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB8ry7ZSBU6dC79g0RAqjPAJ98Dqpn59ovh+4uZ8psdLiAiW05oQCaA2hp
e5aioeKlluCOnhTS9YAYQ5Q=
=1HzE
-----END PGP SIGNATURE-----



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