Re: Saving settings for a plug-in

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

 



Other plugins that save things go to the user profile directory root
(.gimp-2.6).  For example, I have:

focusblurrc
pspirc

Check the source of any of these for examples.

Alternately, if there is not much data, you could use parasites.

some plugins also create/require a subdirectory under the plugin
installed directory where things like presets are saved.  An exmpl of
this is mathmap or felimage.

-Rob A>



On Tue, Mar 2, 2010 at 11:16 AM, François Gingras
<francois.gingras.1@xxxxxxxxx> wrote:
> Greetings,
>
> A plug-in I'm currently developing may require writing a small file somewhere to save its 'last-used' and 'default' settings: those settings can theoritically use lots of memory (typically just a few bytes though), so I need to allocate the appropriate amount of memory everytime the plug-in is run. I was wondering if it is "ethically correct" for a plug-in to save such a file, and if so, what would be the best directory to save said file to.
>
> Thank you!
>
> François Gingras
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux