Re: [Bug 40218] New - Notification on write-only properties is questionable/problematic



Tim Janik <timj gtk org> writes: 
> i've been thinking about that as well, e.g. there's currently also
> notification emitted for the "signal::" and friends properties.
> i agree that it doesn't make a whole lot of sense here to have
> notification, but i'm not sure !READABLE is the only valid criteria.
> i think a better idea is probably to introduce an extra property flag
> G_PARAM_NONOTIFY (or, since negations in symbols sound quite odd,
> G_PARAM_SILENT) that users can specify when introducing properties.
> for !READABLE properties, this flag would automatically be set, since
> as you outlined, notification is of doubtfull use for them.
> 

That sounds like a good solution to me.

Havoc




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