drawable - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions) +---- Thread: drawable (/Thread-drawable) |
drawable - gimpygirl - 03-02-2024 What can a drawable be. A layer, what else? Any docs page where I can read? There is this https://developer.gimp.org/api/2.0/libgimp/libgimp-gimpdrawable.html#GimpDrawable but it doesn't tell me all possible things that can be a drawable. I don't understand it completely RE: drawable - Ofnuts - 03-03-2024 Basically anything you can draw/paint on(*): a layer, a layer mask, or a channel. In an image, there is only a single active drawable at any time, so if you can't paint on a layer, it is possibly because you selected a channel, for instance, Select > Save to channel creates a channel from the current selection, and makes it the current drawable. When Gimp calls a script/plugin, the second argument is often a drawable, and if that makes sense the plugin should be able to work with that. |