Re: GType stuff again!
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Johannes Schmid" <johannes schmid gmx de>
- Cc: Murray Cumming <murrayc murrayc com>, gtkmm-list gnome org
- Subject: Re: GType stuff again!
- Date: Wed, 20 Sep 2006 09:29:08 +0200 (CEST)
[snip]
> Maybe I just do
> something wrong in wrapping AnjutaPlugin:
>
> http://anjuta.cvs.sourceforge.net/anjuta/libanjutamm-new/libanjuta/src/plugin.hg?view=markup
It looks mostly OK, but, because it is a GObject and not a GtkObject, it
should only be used via a RefPtr. Therefore it should have a protected
constructor and a public create() method. You can use _WRAP_CREATE() to
generate the create() method.
Also, is_active() should be const.
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]