2014-04-12 20:35, Murray Cumming skrev:
See also this 10 year old bug report: https://bugzilla.gnome.org/show_bug.cgi?id=140515On 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. |