Re: Re2: extending dia

Le Mon, Apr 15, 2002, à 01:47:39PM -0500, Lars Clausen a écrit:

This idea of 'hidden' properties has come up a couple times before.  They
should be real easy to do, and might open for some interesting scripting
plugins.  The only tricky thing may be managing the names.

Disclaimer:  I am not very familier with the XML/properties code at all.

That's indeed a piece of cake to implement. Just copy a property (in
lib/prop*.[ch] with the same type as the property you want to do in a hidden
way, rename it, and then strip off the GTK code (don't declare any property
editing method). Voilà !

        -- Cyrille


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