document the new menu registration syntax.
2006-09-06 Sven Neumann <sven@gimp.org> * plug-ins/pygimp/gimpfu.py: document the new menu registration syntax.
This commit is contained in:
committed by
Sven Neumann
parent
31b3de0788
commit
d00d79fd62
@ -45,11 +45,11 @@ A typical gimpfu plugin would look like this:
|
||||
"author",
|
||||
"copyright",
|
||||
"year",
|
||||
"<Image>/Somewhere/My plugin",
|
||||
"My plugin",
|
||||
"*",
|
||||
[(PF_STRING, "arg", "The argument", "default-value")],
|
||||
[],
|
||||
plugin_func)
|
||||
plugin_func, menu="<Image>/Somewhere")
|
||||
main()
|
||||
|
||||
The call to "from gimpfu import *" will import all the gimp constants into
|
||||
|
||||
Reference in New Issue
Block a user