[Vala] How to use [ModuleInit] and GTypeModule?



The sample here did not mention GTypeModule and did not contain
[ModuleInit], either.
https://live.gnome.org/Vala/TypeModules
Though its title is TypeModules, it did not show how to use GTypeModule.
I tried to google for some exmples and found that three is an undocumented
attribute [ModuleInit].
http://swik.net/GNOME/Planet+GNOME/Abderrahim+Kitouni:+Writing+Anjuta+plugins+in+Vala
How to use this correctly? Or should it be used?
Please help. Thank you all!


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