Re: Gtk::Container child properties
- From: Murray Cumming <murrayc murrayc com>
- To: Juan Rafael García Blanco <juanrgar gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Gtk::Container child properties
- Date: Sat, 12 Apr 2014 20:35:32 +0200
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.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]