RE: [gtkmm] textbuffer's signal_erase
- From: Murray Cumming Comneon com
- To: gagnon WPI EDU, joey divisionbyzero com
- Cc: gtkmm-list gnome org
- Subject: RE: [gtkmm] textbuffer's signal_erase
- Date: Thu, 14 Aug 2003 13:23:37 +0200
> From: Joshua A Gagnon [mailto:gagnon WPI EDU]
> Much googling
> couldn't find a way to subclass something with a RefPtr. I
> got stuff that
> compiled, but didn't seem to do anything. A cout statement in the
> destructor didn't even fire. It seems like I need to override
> the create()
> method,
Yes, that's very simple - you can look at an existing create() method. It
should just do a new. The constructor should be protected, so that everyone
must use create().
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]