Re: construct-time properties and constructor



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.

> this is not an API break however (except for making the _construct() functions
> finally private) if you mark those object fields private.

Those temp_hasprogress, temp_hasstatus, and temp_interactivity fields
would be new fields so that would break the binary API.
GnomeDruidPageEdge would need 6 of these fields. I don't think that
people will find that acceptable.

In theory it should be possible to set each of these individually, in
any order, but that would cause a massive increase in code just to get
around this gobject limitation.

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




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