[Gimp-user] Custom Script UI

2016-10-14 Thread FierySwordswoman
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.",

[Gimp-user] Custom Script UI

2016-10-14 Thread FierySwordswoman
EDIT: Adding the PF_IMAGE and PF_LAYER parameters fixes that without impeding the GUI creation. Alright, I'm set. I even managed to import GIMP's menu themes to use on my custom UI. -- FierySwordswoman (via www.gimpusers.com/forums) ___

[Gimp-user] Custom Script UI

2016-10-14 Thread FierySwordswoman
>Something like this: > >register( > 'new-image', > 'Creates a new image','Creates a new image', > 'Myself','Myself', > '2012', > 'Create new image', > '',[],[], > newImage, > menu='/File/Create/' >) >This script will run without showing up a dialog, and will even

[Gimp-user] Custom Script UI

2016-10-14 Thread FierySwordswoman
> >As you say TkInter isn't in the GIMP supplied Python (which is a pity >as it uses native file browsers instead of the GTK abomination), but >you can use PyGTK, which you should be able to understand quite >readily as you have TkInter experience. >

Re: [Gimp-user] Custom Script UI

2016-10-13 Thread Ofnuts
On 13/10/16 20:13, FierySwordswoman wrote: You have to use register(), but you can have an empty parameter list. Then your plugin is called directly without the Gimp-built dialog. What, you mean with no "PF-XXX" parameters? Yeah, I got that much as I've made scripts with both no UI and the

Re: [Gimp-user] Custom Script UI

2016-10-13 Thread Kevin Payne
>What, you mean with no "PF-XXX" parameters? Yeah, I got that much as I've made >scripts with both no UI and the built-in UI before. I'm rather certain it still >wants you to use their UI, though. >Even if that's all it took, there's still the issue of gimp using a watered >down >Python 2.7.5,

Re: [Gimp-user] Custom Script UI

2016-10-13 Thread Ofnuts
On 13/10/16 00:14, FierySwordswoman wrote: I've been learning Python as a hobby for a while and can now write my own user interfaces in TkInter or the 3rd party Kivy. I'm trying to launch my own UI that can run Procedural Database plugins and whatnot, but I can't figure out how to create a GIMP

[Gimp-user] Custom Script UI

2016-10-12 Thread FierySwordswoman
I've been learning Python as a hobby for a while and can now write my own user interfaces in TkInter or the 3rd party Kivy. I'm trying to launch my own UI that can run Procedural Database plugins and whatnot, but I can't figure out how to create a GIMP python plugin without using the