[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

iD8DBQFB8rucZSBU6dC79g0RAjVAAJ9nCiQza9eALNjk+rM1vd1jdP1YlwCeJVom
vS8QG7xuGQunVVJpIUW9jl8=
=xT9z
-----END PGP SIGNATURE-----



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