Re: [gtkmm] creating properties for derived widgets
- From: Murray Cumming <murrayc murrayc com>
- To: Brian <brm pobox com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] creating properties for derived widgets
- Date: Wed, 21 Apr 2004 11:37:44 +0200
On Wed, 2004-04-21 at 03:39, Brian wrote:
> Is there a canonical method in gtkmm for creating new properties when
> deriving new widgets? I know that I can just add the set_ get_ methods
> to the class, but I was wondering if there is a more "blessed" gtkmm way
> for doing this?
You don't _need_ properties unless you are using some technique that
uses them, such as CellRenderers. But if you want them, just add them.
See the customcellrenderer example.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]