Re: Loading a derived widget from .glade
- From: "Damon Oberholster" <damon websurfer co za>
- To: Miguel Angel Polo <miguel polo telefonica net>
- Cc: gtkmm-list gnome org
- Subject: Re: Loading a derived widget from .glade
- Date: Mon, 24 Jan 2005 13:28:22 +0200
Hey there
>
> I want to know the correct way to load a widget derived
> from
> Gtk::GL::DrawingArea (from gtkglextmm)
>
> I have a class like this:
>
> class MySceneClass : public Gtk::GL::DrawingArea
> {
> ~ ...
> };
I've asked a question kinda similar to this before. I was
told that it's probably a good idea to derive the widget
from the Gtk::Widget class.
> But Glade (the interface designer) doesn't have any
> Gtk::GL::DrawingArea.
>
I used a normal DrawingArea in glade and my custom widget
seemed to work fine, but I wasn't using any OpenGL stuff in
my custom widget. (not sure if this is a problem tho)
Dunno if this helps...
Cheerz
_____________________________________________________________________
For super low premiums, click here http://www.dialdirect.co.za/quote
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]