Gtk--: Connecting to a static method?



Hi,

can I use connect_to_method to connect to a static 
class function? I'd like to do the following: 

class X {
        static int              foo();
        };

connect_to_method (GtkMain::timeout(50), X, &X::foo);

which unfortunateley doesn't work as I can't figure out 
how to handle the 2nd argument. Is there any way I 
can use a static function for this? 

Thanks a lot
--> Robert



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