Re: _WRAP_SIGNAL: when the C klass does not have a virtual function
- From: Murray Cumming <murrayc murrayc com>
- To: debarshi ray gmail com
- Cc: Gtkmm list <gtkmm-list gnome org>
- Subject: Re: _WRAP_SIGNAL: when the C klass does not have a virtual function
- Date: Sun, 04 Oct 2009 13:33:45 +0200
On Sun, 2009-10-04 at 13:44 +0300, Debarshi Ray wrote:
> When I am using _WRAP_SIGNAL to wrap a signal (eg.,
> animation_completed of ChamplainView) it assumes that a virtual method
> (eg., klass->animation_completed) is present to allow default signal
> handlers. However ChamplainView does not have such a virtual method.
You can use the no_default_handler option:
http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-wrapping-hg-files.html.en#gmmproc-wrap-signal
> Do I need to fix ChamplainView?
It's probably on purpose.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]