Re: [[gtkmm] Convert Enum to GType]
- From: Murray Cumming <murrayc usa net>
- To: Bryan Forbes <mxpxfifws yahoo com>, Gtkmm List <gtkmm-list gnome org>
- Subject: Re: [[gtkmm] Convert Enum to GType]
- Date: Mon, 19 Jan 2004 11:34:32 +0100
Bryan Forbes <mxpxfifws yahoo com> wrote:
> Is there a way to take a typedef'd enum and turn it into a GType? The
reason I ask
> is I'm deriving a class from Gtk::TreeStore, but my derived TreeModel uses
an enum I made
> up.
By the way, I will check in some derived-treemodel changes today, to gtkmm
2.4. It's a lot more C++-like. It should help here, because it uses
Glib::Value instead of GValue, and Glib::Value does all that
enum/whatever-GType stuff for you.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]