Re: wy signal handler could not be override



Am 29.03.2013 15:05, schrieb Klaus Rudolph:
It would be better to declare the override-method as virtual, but I
don't think it is necessary. But try that too.
Overriding a virtual function needs no additional virtual.


What I think is the most probable answer to the question why your method
is not called, is that the default signal handler is empty and therefore
it was not considered necessary to connect it to the signal
The handler in the Item class calls with obj->func which normally should result in calling my
virtual function override. Maybe I have to recompile the complete gtk libs from scratch to get
the debug info. But this also is a very very hard job. I started this but stopped after a week of trouble.
It is quite easy when you use jhbuild. But I don't think it really makes sense to compile everything yourself just because of this little problem.

Maybe someone can find a solution? I hope that there will be usable way to get the things work. If this way 
is impossible, maybe it is better to remove the topic in the documentation. It is not very nice to read the 
examples in the beginners tutorial which are not working at all!

Regards
  Klaus
I would recommend you to just work around this with manually connecting your signal handler to the signal for now.

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