Re: Custom container + Child type with interface
- From: David Nečas <yeti physics muni cz>
- To: Matthew Bucknall <matt mattbucknall com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Custom container + Child type with interface
- Date: Sun, 20 Dec 2009 20:35:28 +0100
On Sun, Dec 20, 2009 at 07:30:42PM +0000, Matthew Bucknall wrote:
> Seems to me, it should be perfectly acceptable to define a property that
> can be set at construction, but then only read during the rest of the
> owning object's lifetime (i.e. something like G_PARAM_READABLE |
> PARAM_CONSTRUCT_ONLY), but GObject does not allow this - at least, it
> didn't work when I tried.
That's exactly what G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY does if I
am not mistaken. The terminology is a bit confusing.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]