Re: [Vala] Getting type name for GType based classes?



On Sat, 2009-08-22 at 22:14 -0400, Yu Feng wrote:
Dear List,

Is it possible to get the type name of GType based classes at runtime ?

I know it is possible to do this with GObject based classes with
Object.get_type(). But is this function useful with GType based classes?

This might be relevant to my suggestion on `typeof` operator with type
instances.

Regards,

Yu
My bad. A workaround is at

http://bugzilla.gnome.org/show_bug.cgi?id=573075#c1








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