Re: [Vala] how to register new glib type without creating an instance?



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()

hand
Nor Jaidi Tuah





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