Re: libglademm and signal autoconnect
- From: Murray Cumming <murrayc murrayc com>
- To: Stas Sergeev <stsp aknet ru>
- Cc: gtkmm-list gnome org
- Subject: Re: libglademm and signal autoconnect
- Date: Fri, 27 Feb 2009 22:18:05 +0100
I see nothing there that suggests that you have found a way to correctly
connect any slot (with any return type or parameter types) to a signal
based on just the name.
All you are doing is storing specific sigc::slot instances in a std::map
via the sigc::slot base class, and getting that specific slot types back
again from your get_slot() via dynamic_cast<>. Of course the application
code needs to specify the get_slot()<> template type (via
get_widget()<>) so that the dynamic_cast<> can succeed.
If you can really make this automatic rather than just rearranging the
syntax of a normal signal connection, I'd be happy to be proved wrong. I
suggest that you use bugzilla.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]