問題描述
我正在考慮使用 Kivy 創(chuàng)建一個(gè)需要在每個(gè)監(jiān)視器上顯示一個(gè)窗口的程序,有沒有辦法實(shí)現(xiàn)這一點(diǎn)?我也不想有一個(gè)單一的窗口跨越.
I'm looking at using Kivy to create a program that needs to display a window on each monitor, is there a way to accomplish this? I'd also prefer not to have a single window spanning across.
如果沒有,是否有另一個(gè)(好看的,windows/linux)GUI 工具包可以做到這一點(diǎn)?
If not, is there another (good looking, windows/linux) GUI toolkit that can accomplish this?
推薦答案
你可以讓兩個(gè)獨(dú)立的窗口運(yùn)行兩個(gè)獨(dú)立的 kivy 應(yīng)用程序,通過 osc/twisted/...僅限于該進(jìn)程的一個(gè)應(yīng)用程序窗口.它可以啟動另一個(gè)具有新窗口的進(jìn)程(subprocess.popen).
You can have two separate windows running two separate kivy apps controlling/communicating with each other via osc/twisted/... However one "App" instance is only limited to one App window for that process. It can launch another process(subprocess.popen) which has a new window though.
這篇關(guān)于帶有 Kivy 的多臺顯示器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!