Re: Sending slots to main thread
- From: Paul Davis <paul linuxaudiosystems com>
- To: joaquinduran adtelecom es
- Cc: gtkmm-list gnome org
- Subject: Re: Sending slots to main thread
- Date: Mon, 27 Aug 2007 08:18:21 -0400
On Mon, 2007-08-27 at 13:31 +0200, Joaquim Duran wrote:
> Dear all,
>
> I've been testing the thread related objects of gtkmm. I've seen that it
> is possible to connect a slot to a dispatcher to send the slot to the
> main thread. The problem is that only one type of slot could be attached
> to the Dispatcher.
>
> IS there any way to send any type of slot to the main thread? The
> behavior should the same or very close to ThreadPool.
sigc::bind is your friend here. you might also find using
sigc::hide_return useful too.
>
> I've tested sigc++ extra but it only works with sigc++ 1.2 but not with
> sigc++ 2.0. Any suggestion?
>
> Thanks and Best Regards,
> Joaquim Duran
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]