Re: [Vala] Generated code, GTK signals and prefixes.
- From: Moritz Bitsch <moritzbitsch googlemail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Generated code, GTK signals and prefixes.
- Date: Thu, 11 Feb 2010 10:53:54 +0100
Hello,
you can use something like this:
namespace MyNamespace {
class MyClass {
[CCode (cname = "G_MODULE_EXPORT on_button_any_clicked", instance_pos = -1)]
static void my_handler(Widget widget) { ... }
}
}
It is described here:
http://live.gnome.org/Vala/GTKSample#Loading_User_Interface_from_XML_File
--
Moritz Bitsch
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]