Re: Designing objects with GObject
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Designing objects with GObject
- Date: Fri, 29 Jun 2007 13:14:05 +0200
On Fri, Jun 29, 2007 at 06:39:47PM +0800, Konstantin Evdokimenko wrote:
If you will make properties of interface C writable and readable in object A and
only readable in object B then objects A and B will not implement the
The common interface is the read-only property here,
A implements an extension: read-write.
Try ignore writing these properties for object B. But I don't know how
this may be done =(.
You can do this, as you control set_property(). The problem
is that this is a hack invisible to inspection, therefore it
can lead to all sorts of odd behaviour.
] [Thread Prev