Re: [gtkmm] Gtk::Style virtual draw_ methods timeline?
- From: Murray Cumming <murrayc usa net>
- To: Patrick Crosby <pcrosby pobox com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Gtk::Style virtual draw_ methods timeline?
- Date: 11 Sep 2002 08:55:25 +0100
On Wed, 2002-09-11 at 08:40, Patrick Crosby wrote:
> Murray Cumming (murrayc usa net) wrote:
> > On Sun, 2002-09-08 at 05:41, Patrick Crosby wrote:
> > > in looking at gtkmm/style.h, i noticed the following comment:
> > >
> > > // This wrapper is very temporary. There should be a new
> > > // replacement for this at some point when gtk+ adds a data
> > > // field. For now only setting the colors works. When
> > > // gtk+ gets field, all draw_* become virtual and one can define
> > > // their own style in C++.
> > > class Style : public Glib::Object
> > >
> > > any idea when gtk+ is going to have the data field and thus when this
> > > will have virtual draw_* methods?
> > I don't see that comment in the current sources, so I doubt that it's
> > relevant.
> the comment might be gone, but the methods are still not virtual and
> there are no (public) constructors.
Methods derived from Glib::Object (and not Gtk::Object) never have
public constructors. That shouldn't prevent you from deriving fro them,
unless they have private constructors.
> so i guess one can't define their
> own gtk style in C++...
Can you show me an example of this technique in GTK+? I'm not sure what
murrayc usa net
] [Thread Prev