Post #3456:
St
📋 Metadata
- Author: roaoao
- Date: 2020-07-23 11:04:10
- Type:
answer - Quality Score: 8/10
- Reply to: post_03450
- Replies (1): post_03465
🏷️ Tags
popup-dialog scripting advanced solved
⚙️ Related PME Features
- Popup Dialog Editor
- Python Scripting
- Custom Icons
💬 Content
StroBlend:
Would it be possible to always open a popup at a chosen position relative to the 3D view screen ?
Yes, this is possible by moving mouse cursor:
a = find_by(C.screen.areas, "type", 'VIEW_3D'); a and C.window.cursor_warp(a.x + a.width, a.y + a.height); a and open_menu("Popup Dialog")
❤️ 1 likes