Re: [gtkmm] creating properties for derived widgets



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]