Re: Using (or not using) sigc::mem_fun with the G_CALLBACK macro



Murray Cumming wrote:

And if you must provided a C function pointer, you'll need to provide a
pointer to a static method (or global function) and the state
information as user_data. See the various SignalProxy classes, for
instance, in TreeSelection.

In other words, the way I've done it (separate executable invoked via fork, execv) is the only thread safe way to do this until GtkHTML has a C++ wrapper.

Thanks guys,

Bob Caryl



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