[Gimp-user] Custom Script UI
- From: FierySwordswoman <forums gimpusers com>
- To: gimp-user-list gnome org
- Cc: notifications gimpusers com
- Subject: [Gimp-user] Custom Script UI
- Date: Fri, 14 Oct 2016 02:35:50 +0200
Kevin, in you're code you have no image or drawable picked using the PF_XXX
parameters, but they still show up in your code when the starting function is
run. How? In this code:
#####
def start(*args):
pdb.gimp_message(args)
register(
"FSW-SCRIPT",
"desc.",
"desc2.",
"FierySwordswoman",
"FierySwordswoman",
"1989",
"FSW Script",
"*",
[],
[],
start,
menu="<Image>/"
)
main()
#####
it prints the message '()', meaning I'm not receiving the image and drawable
arguments for the function...why?
The closest thing I could find in the python-fu documentation was
"gimp.images_list()", which isn't a good solution.
--
FierySwordswoman (via www.gimpusers.com/forums)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]