Static C++ methods as GTK+ callbacks
- From: Nickolai Dobrynin <ndobrynin gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Static C++ methods as GTK+ callbacks
- Date: Thu, 9 Feb 2006 17:16:06 -0600
Anybody can please send a simple example that shows how to register a static
method of a class
as a callback to some of GTK+ signals? I'm currently trying to connect
"destroy" to a static method
but then I get the program aborted at runtime, with the following message:
*** glibc detected *** double free or corruption ...
(I always used the C++ version of GTK, called gtkmm, and this is done much
simpler there).
Thanks,
Nickolai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]