【问题标题】:How do I get the position of my python flet window?How do I get the position of my python flet window?
【发布时间】:2022-12-02 08:18:22
【问题描述】:

I've been working with the python flet package for a while and I'd like to know how to get my window's position. Does anyone know anything?

I googled but found nothing.

【问题讨论】:

    标签: python flutter position desktop-application


    【解决方案1】:

    I haven't used this package before, but looking at the docs it seems that window_top and window_left on the root Page instance are what you're after (assuming this is a desktop app). See relevant docs here: https://flet.dev/docs/controls/page#window_top.

    【讨论】:

      猜你喜欢
      • 2022-12-19
      • 2023-01-06
      • 2022-12-27
      • 2022-12-02
      • 2022-12-27
      • 2021-07-18
      • 2022-12-02
      • 2022-12-02
      • 2022-12-27
      相关资源
      最近更新 更多