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

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

        Kivy:拖放,獲取文件路徑

        Kivy: drag n drop, get file path(Kivy:拖放,獲取文件路徑)

      2. <tfoot id='zpmYe'></tfoot>
        • <small id='zpmYe'></small><noframes id='zpmYe'>

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

                  <tbody id='zpmYe'></tbody>
                <legend id='zpmYe'><style id='zpmYe'><dir id='zpmYe'><q id='zpmYe'></q></dir></style></legend>
                  <bdo id='zpmYe'></bdo><ul id='zpmYe'></ul>
                • 本文介紹了Kivy:拖放,獲取文件路徑的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在 Kivy 中,我正在嘗試構建一個界面,用戶可以在其中將文件拖放到小部件(文本輸入)中,然后我的代碼將檢索該文件的文件系統路徑(/path/to/users.文件).這似乎比使用 FileChooser 小部件更簡單,但我該怎么做呢?

                  In Kivy, I am trying to build an interface where the user can drag and drop a file into a widget (text input) and then my code would retrieve the file system path of that file (/path/to/users.file). That seems like a simpler approach than using the FileChooser widget, but how would I do it?

                  謝謝!

                  推薦答案

                  使用on_dropfile 事件處理程序.這是一個工作示例:

                  Use on_dropfile event handler. Here is an working example:

                  from kivy.app import App
                  from kivy.core.window import Window
                  
                  
                  class WindowFileDropExampleApp(App):
                      def build(self):
                          Window.bind(on_dropfile=self._on_file_drop)
                          return
                  
                      def _on_file_drop(self, window, file_path):
                          print(file_path)
                          return
                  
                  if __name__ == '__main__':
                      WindowFileDropExampleApp().run()
                  

                  這篇關于Kivy:拖放,獲取文件路徑的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 - 自動更改角色顏色)

                      <tbody id='L2eap'></tbody>
                    <legend id='L2eap'><style id='L2eap'><dir id='L2eap'><q id='L2eap'></q></dir></style></legend>

                    • <bdo id='L2eap'></bdo><ul id='L2eap'></ul>
                    • <tfoot id='L2eap'></tfoot>

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

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

                            主站蜘蛛池模板: av永久| 黄色av网站在线观看 | 精品久久久久久久久久久久 | 欧美一区二区三区大片 | 国产欧美在线 | 成人二区 | 在线观看免费黄色片 | 国产欧美日韩一区二区三区在线观看 | av中文字幕在线 | 日韩一区二区三区在线观看 | 欧美精品久久久久 | 午夜视频免费在线观看 | av网站在线播放 | 午夜影院免费体验区 | 国产免费福利小视频 | 韩国av电影网 | 亚洲精品乱码久久久久久久久 | 97精品久久 | 亚洲国产精品一区二区三区 | 日韩综合在线 | www成人免费 | 欧美精品在线播放 | 成年人免费看的视频 | 午夜免费视频观看 | 一区二区三区在线免费观看 | 免费在线观看一区二区三区 | 国产剧情一区 | 毛片99| 精品自拍视频在线观看 | 免费观看一级特黄欧美大片 | 精品成人佐山爱一区二区 | 午夜电影网址 | 欧美色图综合网 | 青青草网站在线观看 | 日韩欧美一区二区三区免费观看 | 日韩久草 | a视频在线观看 | 产真a观专区 | 无人区国产成人久久三区 | 91精品综合久久久久久五月天 | 久久久综合久久 |