Re: Gtk::Container child properties



Mmm, I’d like to give this a try and get a little dirty with infrastructure stuff.

On 13 Apr 2014, at 10:17, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:


2014-04-12 20:35, Murray Cumming skrev:
On Sat, 2014-04-12 at 19:16 +0200, Juan Rafael García Blanco wrote:

Hi,

I’ve observed that subclasses of Gtk::Container tend to declare properties on their children. In the 
gtkmm source code I’ve read that they are used for theming so that there is no point in wrapping them. 
Does this currently hold?

Probably not.


 IMO there is no such difference between properties and child properties.

A child property is just a property of a container's child, such as it's
alignment or whether it should expand, I think. I'm sure they are
useful, if we can find a nice API for it. But it might not be necessary
to use the generic property API. Maybe all the functions do what we need
already. I don't know.


See also this 10 year old bug report: https://bugzilla.gnome.org/show_bug.cgi?id=140515




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