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

[Vala] using IOChannel.add_watch in a class



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]