Searching for python script islands to layers - 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) +--- Thread: Searching for python script islands to layers (/Thread-Searching-for-python-script-islands-to-layers) |
RE: Searching for python script islands to layers - Ofnuts - 01-29-2018 You didn't copy verbatim my procedure. You are using old-style registration since you don't use a specific "menu" named parameter, but lump the menu position and submenu item in one parameter (the variable "menupath"). In the new-style registration, there is one variable for the menu, and one that is just used for the menu item (the desc* variables in my code, that also serves other purposes). And when using old-style, the behavior of the default parameters (image/drawable) is different. Otherwise:
|