0

python-3.6ラズベリーパイゼロとtkinterGUIで使用しているIOTのプロジェクトがあります。

Pi は、常に直接 HDMI を使用して TV でビデオを再生します ( omxplayer)。

問題: Wi-Fi に接続するため に GUI ウィンドウを開く必要がありtkinterますが、GUI 表示インデックスがomxplayer画面より下に表示されます。

欲しいもの omxplayerの画面の上にGUIを表示してwi-fi接続したい。

私が試してみました:

1 root.wm_attributes("-topmost", 1) 
  #Not working wm is not defined

2 root.overridedirect(1)
  root.wm_attributes("-topmost", 1)
  #Window is jumping on top of every other applications but not over omxplayer.

3 root.attributes("-topmost", 1)
  #Window is jumping on top of every other applications but not over omxplayer.

4 root.lift()
  #Not working
4

1 に答える 1