The GIMP has a specialized class of GimpDialog called GimpViewableDialog - a dialog window with a raised frame at the top which contains an icon, a description in a "larger" bold font, the name of the active image or drawable in a "smaller" font, and a thumbnail icon of the image or drawable (the "viewable"). While it is currently possible for a plugin author to spawn a GimpDialog via 'gimp_dialog_new()', this latter variation is not yet available to developers via the libgimp libraries.
Here, I have reverse engineered the GimpViewableDialog, essentially providing the means for the C plugin developer to implement something with the same look-and-feel as many of the GIMP's built-in features which implement GimpViewableDialog, all the while operating within the constraints of the GIMP plugin API (libgimp).
Randall
Attachment | Size |
---|---|
srs-gimpviewabledialog-demo.tar.gz | 16.9 KB |
srs-gimpviewabledialog-demo.zip | 23.77 KB |
Recent comments