Re: [Vala] how to register new glib type without creating an instance?
- From: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- To: <vala-list gnome org>
- Subject: Re: [Vala] how to register new glib type without creating an instance?
- Date: Mon, 25 Apr 2011 15:20:42 +0800
On Mon, 2011-04-25 at 15:14 +0800, Nor Jaidi Tuah wrote:
Is there any way to get /*1*/ to work without preceded by /*2*/ ?
SomeClassName.get_type().name();
get_type requires an instance. So that still requires /*2*/. i.e.,
new SomeClassName().get_type().name()
Got it finally. It's
typeof (SomeClassName) .name ()
hand
Nor Jaidi Tuah
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]