Re: [[gtkmm] Convert Enum to GType]



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]