[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Vala] using IOChannel.add_watch in a class
- From: "Sudharshan S" <sudharsh gmail com>
- To: vala-list gnome org
- Subject: [Vala] using IOChannel.add_watch in a class
- Date: Wed, 6 Aug 2008 16:44:15 +0530
Hi everyone,
I am having a peculiar problem. In python, we add a watch using
gobject.io_add_watch (..., ..., self.callbackFunc)
and the callback would be defined as follows
def callbackFunc (*self*, ..., ....):
The IOFunc? callback takes a reference to the current object as part of its
arguments. But its not the same with the IOFunc definition in vala
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]