RSS/Atom feed Twitter
Site is read-only, email is disabled

Concerning Preferences

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Concerning Preferences Cyril Zorin 25 Apr 15:46
  Concerning Preferences Sven Neumann 26 Apr 01:02
Cyril Zorin
2004-04-25 15:46:24 UTC (about 20 years ago)

Concerning Preferences

Hi!

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?

Thanks, Cyril.

Sven Neumann
2004-04-26 01:02:37 UTC (almost 20 years ago)

Concerning Preferences

Hi,

Cyril Zorin 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