Re: [Gimp-developer] Concerning Preferences

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

 



Hi,

Cyril Zorin <guitarm@xxxxxxxxxxxx> writes:

> I'm writing a patch that requires the addition of a preference to the
> gimp preferences dialog.
> 
> a) How do I do this? (e.g. what source file)
> b) How do I set a preference?
> c) How do I read it later from within the program?

You add an object property to one of the base classes of the GimpRc
object:

http://developer.gimp.org/api/2.0/app/app-config-objects.html

This code lives in app/config. It would certainly not hurt to let us
know what you are working on...


Sven

[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