1. I load a file in GIMP as follows

first_file = os.path.join(PathToProcess, filename)
img = pdb.gimp_file_load(first_file,first_file)

2. I try to get the position of the file as follows

wdw = gtk.Window(gtk.WINDOW_TOPLEVEL)
xm,ym = wdw.get_position()

xm, ym returns as 0,0. 

I have tried different ways to reference the main GIMP window, but it does not
seem to work.
How should I get the position of the main GIMP window (with my file opened) on
the desktop ?

-- 
sunslick (via www.gimpusers.com/forums)
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Reply via email to