久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <tfoot id='MZ4Bn'></tfoot>
      <bdo id='MZ4Bn'></bdo><ul id='MZ4Bn'></ul>
    <i id='MZ4Bn'><tr id='MZ4Bn'><dt id='MZ4Bn'><q id='MZ4Bn'><span id='MZ4Bn'><b id='MZ4Bn'><form id='MZ4Bn'><ins id='MZ4Bn'></ins><ul id='MZ4Bn'></ul><sub id='MZ4Bn'></sub></form><legend id='MZ4Bn'></legend><bdo id='MZ4Bn'><pre id='MZ4Bn'><center id='MZ4Bn'></center></pre></bdo></b><th id='MZ4Bn'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='MZ4Bn'><tfoot id='MZ4Bn'></tfoot><dl id='MZ4Bn'><fieldset id='MZ4Bn'></fieldset></dl></div>
  2. <legend id='MZ4Bn'><style id='MZ4Bn'><dir id='MZ4Bn'><q id='MZ4Bn'></q></dir></style></legend>

      <small id='MZ4Bn'></small><noframes id='MZ4Bn'>

      如何使用 Pyinstaller 打包的 Kivy Python 應用程序在

      How to create menu item in OSX Menubar using Pyinstaller packaged Kivy Python application?(如何使用 Pyinstaller 打包的 Kivy Python 應用程序在 OSX 菜單欄中創建菜單項?)

          • <legend id='GAPLK'><style id='GAPLK'><dir id='GAPLK'><q id='GAPLK'></q></dir></style></legend>

            <small id='GAPLK'></small><noframes id='GAPLK'>

              <bdo id='GAPLK'></bdo><ul id='GAPLK'></ul>
              <i id='GAPLK'><tr id='GAPLK'><dt id='GAPLK'><q id='GAPLK'><span id='GAPLK'><b id='GAPLK'><form id='GAPLK'><ins id='GAPLK'></ins><ul id='GAPLK'></ul><sub id='GAPLK'></sub></form><legend id='GAPLK'></legend><bdo id='GAPLK'><pre id='GAPLK'><center id='GAPLK'></center></pre></bdo></b><th id='GAPLK'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GAPLK'><tfoot id='GAPLK'></tfoot><dl id='GAPLK'><fieldset id='GAPLK'></fieldset></dl></div>
                <tfoot id='GAPLK'></tfoot>
                  <tbody id='GAPLK'></tbody>
              1. 本文介紹了如何使用 Pyinstaller 打包的 Kivy Python 應用程序在 OSX 菜單欄中創建菜單項?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                為了在我的 Pyinstaller 打包的 Kivy Python 應用程序中實現原生感,我想在 OSX 菜單欄中創建菜單項.如果使用 PyQt,我可以輕松實現這一點.但是由于我使用的是 Kivy,我似乎不得不求助于其他方式.

                To achieve sense of nativeness in my Pyinstaller packaged Kivy Python application, I would like to create menu item in OSX menu bar. If using PyQt, I can easily achieve this. But as I am using Kivy, it seems like I have to resort to other ways.

                有什么建議嗎?我猜它會在 PyObjc 或 AppleScript 的范圍內.不過不確定.

                Any suggestion? I guess it will be in the range of PyObjc or AppleScript. Not sure though.

                推薦答案

                我想這更像是 Pyinstaller 的問題,它是 Kivy 的問題.

                I guess this is more to Pyinstaller question that it is as Kivy question.

                兩者都不是:)

                PyInstaller 只是將 python 應用程序包裝到一個看起來像本機的 OS X 應用程序包中.
                由于 Kivy 無法在 OS X 中創建菜單欄圖標,因此您必須堅持使用 PyObjC.

                PyInstaller just wraps the python application into a native-looking OS X application bundle.
                Since Kivy doesn't have the ability to create a menu bar icon in OS X, you have to stick with PyObjC.

                首先,您必須安裝 Xcode(如果尚未安裝).您可以從 App Store 或 Apple 的開發者中心 下載它.

                First, you've got to install Xcode (if not installed yet). You can download it from the App Store or from the Apple's Developer Center.

                然后安裝 PyObjC 本身:

                Then install PyObjC itself:

                pip install pyobjc
                

                已經有一些例子了(first, another) 關于使用 PyObjC 創建狀態欄圖標.

                There are already some examples (first, another) on creating a status bar icon using PyObjC.

                還有一個很棒的庫,叫做 rumps,它極大地簡化了代碼需要制作狀態欄圖標、菜單和操作.也許它可以幫助您進行狀態欄交互.

                There's also an awesome library called rumps which greatly simplifies the code needed to make status bar icons, menus and actions. Perhaps it may help you with status bar interacting.

                這篇關于如何使用 Pyinstaller 打包的 Kivy Python 應用程序在 OSX 菜單欄中創建菜單項?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                message.channel.id Discord PY(message.channel.id Discord PY)
                How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                <legend id='BIYN4'><style id='BIYN4'><dir id='BIYN4'><q id='BIYN4'></q></dir></style></legend>

                <small id='BIYN4'></small><noframes id='BIYN4'>

                    <i id='BIYN4'><tr id='BIYN4'><dt id='BIYN4'><q id='BIYN4'><span id='BIYN4'><b id='BIYN4'><form id='BIYN4'><ins id='BIYN4'></ins><ul id='BIYN4'></ul><sub id='BIYN4'></sub></form><legend id='BIYN4'></legend><bdo id='BIYN4'><pre id='BIYN4'><center id='BIYN4'></center></pre></bdo></b><th id='BIYN4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='BIYN4'><tfoot id='BIYN4'></tfoot><dl id='BIYN4'><fieldset id='BIYN4'></fieldset></dl></div>
                      <tbody id='BIYN4'></tbody>

                    • <bdo id='BIYN4'></bdo><ul id='BIYN4'></ul>

                        <tfoot id='BIYN4'></tfoot>
                          主站蜘蛛池模板: 伊人久操| 亚洲国产成人av好男人在线观看 | 日韩有码一区 | 99这里只有精品 | 国产精品中文字幕在线 | 欧美日韩一 | 欧美一区二区三区免费在线观看 | 亚洲精品99久久久久久 | 91免费看片 | 一区二区精品视频 | 亚洲国产福利视频 | 精品亚洲91 | 婷婷综合 | 成人视屏在线观看 | 日韩亚洲欧美一区 | 国产精品自产拍 | 久久草视频 | 久久久久久免费观看 | 国产精品免费一区二区 | 国产黄色精品在线观看 | 午夜精品久久久久久久星辰影院 | 久久伊人操 | 蜜桃av鲁一鲁一鲁一鲁 | 欧美日韩一 | 精品一区久久 | 国产成人精品一区二区三区网站观看 | 国产欧美一区二区三区在线看 | a级片在线 | 天天干狠狠操 | 免费观看一级毛片 | 日本免费黄色 | 久久爱一区 | 国产精品成人一区二区三区 | 人人种亚洲 | 欧美一区免费在线观看 | 女女百合av大片一区二区三区九县 | 在线看片福利 | 天天操天天干天天爽 | 欧美视频 | 一区二区三区在线免费看 | 日韩欧美手机在线 |