Re: Custom container + Child type with interface



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]