Re: construct-time properties and constructor



On Wed, 2001-11-14 at 11:35, Tim Janik wrote:
> On 14 Nov 2001, Murray Cumming wrote:
> 
> > On Wed, 2001-11-14 at 01:47, Tim Janik wrote:
> > > usually construct properties correspond to values set in an object structure.
> > > i don't know about all the libgnomeui constructors, but that's what e.g.
> > > clist does.
> > 
> > That's the problem. They don't correspond to values in the object structure. libgnomeui _new functions are more like utility functions than widget constructors.
> 
> then mapping them into CONSTRUCT properties is the wrong idea in the first place.

[snip]

> if you have widgets that need like 6 writeonly & CONSTRUCT_ONLY properties, you
> either got a widget at hand that is fundamentally screwed by design, or you're
> using wrong judgement to decide for CONSTRUCT properties.

The libgnomeui widgets have always been a mess. I don't see a way to
avoid having many CONSTRUCT_ONLY properties without adding lots of
unrequested functionality or doing that silly temp fields hack. gtkmm
can live with the current _construct() functions so I'll explain this
brokenness to the libgnomeui maintainers and try to forget about it.

Thanks a lot for your time.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]