Python + TKinter + OMXPlayer窗口位于顶部 [英] Python + TKinter + OMXPlayer window on top

查看:156
本文介绍了Python + TKinter + OMXPlayer窗口位于顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拥有树莓派2,开始学习Python.我想做一些非常基本的事情:在omxplayer窗口顶部的Python程序窗口,就像一个通知系统.

I own a raspberry pi 2 and i start learning Python. I would like to do something very basic : the window of my Python program on top of omxplayer window like a notification system.

我已经可以使用TKinter创建一个始终位于最上层"的窗口,但是当我启动omxplayer时,我的窗口就不再位于最上层.

I have been able to make an "always on top" window with TKinter but when i launch omxplayer my window is no more on top.

我会提供一些帮助!

谢谢

推荐答案

我的解决方案是使用树莓派上hello_pi示例中的Hello_font.

My solution is to used Hello_font from the hello_pi examples on the raspberry pi.

这篇关于Python + TKinter + OMXPlayer窗口位于顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆