Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python-Fu · Get viewport position
#3
(12-16-2017, 04:49 PM)Ofnuts Wrote: AFAIK you can't. By design the plugins don't know much about what is happening in the UI, and also cannot make any change to it.

Also, in the general case your question has no answer, how do you handle the case where the user has opened several "views"(*) of the same image?

(*) View>New view

That's too bad. I'll have to improvise by making a selection to mark where to add the layer.

Thanks anyway!

Regarding the second point, I'm doing this only for me so I'll never open more than one view.
Reply


Messages In This Thread
Python-Fu · Get viewport position - by guiritter - 12-16-2017, 04:15 PM
RE: Python-Fu · Get viewport position - by guiritter - 12-16-2017, 05:04 PM

Forum Jump: