Dave Neary <[EMAIL PROTECTED]> writes:
> > There is also a plan for adding an "Image Attributes" or "Image
> > Properties" dialog and extending the already existing "Layer
> > Attributes" (and similar) dialogs. A prerequisite for this is to make
> > all this stuff object properties. This is a nice task for a volunteer
> > who wants to get into GIMP core hacking. Let me know if you are
> > interested...
> What stuff, exactly?
Well, all the information that belongs to a drawable and/or image
object should be object properties. This would be width, height, mode
(RGB/Gray/Indexed), unit ... Having this information accessible (at
least readable) via the GObject property system will make it a lot
easier to write a more or less generic property dialog.
> And for informational purposes, what's involved (in general) in
> converting a type object attribute to a generic GObject attribute? A
> link to a decent doc would probably do, if you had one handy.
A must-read for every core GIMP hacker:
The GIMP source code is a good example also. Check the app/config
directory for a couple of classes that basically do no nothing but
storing information as object properties.
Gimp-developer mailing list