mirror of https://github.com/GNOME/gimp.git
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:
parent
31b3de0788
commit
d00d79fd62
|
@ -1,3 +1,7 @@
|
|||
2006-09-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpfu.py: document the new menu registration syntax.
|
||||
|
||||
2006-09-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpui.defs
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue