Re: [Gimp-developer] Get currently active image in python

2012-04-04 Thread Jon Decker
Ok thanks for the information. I think I'll file a feature request as well - I think this would be a great addition to the API On Mon, Apr 2, 2012 at 10:06 AM, Joao S. O. Bueno wrote: > On 23 March 2012 15:06, Chris Mohler wrote: > > On Fri, Mar 23, 2012 at 12:51 PM, Jon Decker > wrote: > >> T

Re: [Gimp-developer] Get currently active image in python

2012-04-02 Thread Joao S. O. Bueno
On 23 March 2012 15:06, Chris Mohler wrote: > On Fri, Mar 23, 2012 at 12:51 PM, Jon Decker wrote: >> Thanks for the reply.  I do realize that the current image and drawable is >> passed to the plugin when first opened.  Perhaps I should explain further. >> I'm trying to build more of an extension

Re: [Gimp-developer] Get currently active image in python

2012-03-23 Thread Chris Mohler
On Fri, Mar 23, 2012 at 12:51 PM, Jon Decker wrote: > Thanks for the reply.  I do realize that the current image and drawable is > passed to the plugin when first opened.  Perhaps I should explain further. > I'm trying to build more of an extension that is opened just once, and > updates as you mo

Re: [Gimp-developer] Get currently active image in python

2012-03-20 Thread Chris Mohler
On Mon, Mar 19, 2012 at 6:39 AM, Jon Decker wrote: > I'm at a part where I need to be able to find out the currently active image > (the image that is selected in gimp). > I have tried: > activeImage = gimp.image_list()[0] When you call the plugin's main function, you will automatically have acc

[Gimp-developer] Get currently active image in python

2012-03-20 Thread Jon Decker
Hello I've been developing a plugin for my wife for her photography business. I'm using GTK and sqlite successfully in the plugin. I'm at a part where I need to be able to find out the currently active image (the image that is selected in gimp). I have tried: activeImage = gimp.image_list()[0]