Re: GObject Serialization



On Mon, Jan 03, 2005 at 08:52:12PM +0100, Sven Neumann wrote:
> Hi,
> 
> Stefan Kost <kost imn htwk-leipzig de> writes:
> 
> > I've commented to the post, so I'll get updates as well. It is a
> > pity, that we can't simply extend the GParamSpecs
> 
> why don't you simply extend the GParamSpecs? We've successfully done
> that in GIMP. Where exactly is the problem?

Sounds like all you're looking for is the ability to add some custom
flags to your parameters on declaration.  In libgoffice (part of
gnumeric) we use

    #define GOG_PARAM_PERSISTENT	(1 << (G_PARAM_USER_SHIFT+0))
    #define GOG_PARAM_FORCE_SAVE	(1 << (G_PARAM_USER_SHIFT+1))	/* even if the value == default */




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]