Bug 475382 - Add API for setting the scroll position of the canvas from python
Summary: Add API for setting the scroll position of the canvas from python
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-08 19:15 UTC by Dov Grobgeld
Modified: 2023-10-09 11:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dov Grobgeld 2023-10-08 19:15:08 UTC
SUMMARY

Add API for setting the scroll position of the canvas from python


STEPS TO REPRODUCE
1. Create any image
2. Interact with the image by zooming and dragging
3. Try to do the interaction through the python api

OBSERVED RESULT

There is no API for setting the scroll setting

EXPECTED RESULT

I would like to do something like `canvas.set_scroll_position(offsetx, offsety, scalex, scaley)` from python.