Re: [sigc] Connect gobject signals with c++ code



Victor Morilla wrote:

Hello, I would like to know if there is a simple way to connect gobject signals with c++ code (object methods, for example) using libsigc++ (avoiding the use of libgtkmm and the like)

No. libsigc++ doesn't not support GObject signals out-of-the-box. You have to add that support yourself. C++ libraries like Gtkmm implement a set of template classes that derive from, and extend the libsigc++ signal code to support GObject signals. My C++ library does the same thing.

Regards,
Jeff Franks.



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