RE: [gtkmm] Reset a value in a cell



> From: Frank Naumann [mailto:fnaumann cs uni-magdeburg de] 
> Hello!
> 
> > So far I don't see the point of reading it if you can't 
> ever set it. So far
> > our policy on style properties is that they are only for 
> theme implementers
> > so we don't want to confuse the API by wrapping useless 
> stuff. As ever, we
> > could be wrong, but someone has to explain why.
> 
> You self suggested some minutes ago to read out the default 
> color and use
> this as default.

I thought we were talking about a normal property. I don't see how you can
"use it" if the property is read-only anyway.

> But I didn't see the point. It's readable in gtk+, why not 
> also in gtkmm?

Because nobody is going to implement a GTK+ theme in gtkmm. If anybody wants
to then we might think about it again.

> Your statement can be interpreted like this: We only wrap 
> things in gtkmm
> that we think that are useful (though I'm sure that's not 
> your intention;
> but the decision what things are useful and and what things are not
> should be done in gtk+ and not gtkmm; I understand gtkmm as 
> very powerful
> C++ wrapper around gtk+).

See above.

Murray Cumming
murrayc usa net
www.murrayc.com 



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