久久久久久久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:拖放,獲取文件路徑的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問題描述

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

                  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 事件處理程序.這是一個(gè)工作示例:

                  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()
                  

                  這篇關(guān)于Kivy:拖放,獲取文件路徑的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

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

                      <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'>

                            主站蜘蛛池模板: 91亚洲国产成人久久精品网站 | 日韩欧美三区 | 日韩电影中文字幕在线观看 | 亚洲播放 | ririsao久久精品一区 | 精品一二三 | 国产精品一区二区免费 | 欧美精品1区 | 欧美爱爱视频 | 久久久久亚洲精品 | 91精品久久久久久久久中文字幕 | 天天操操| 国产一级免费视频 | 久久91av| 一区二区不卡高清 | 久久成人久久 | 日韩视频中文字幕 | 麻豆亚洲| 蜜桃视频在线观看免费视频网站www | 国产成人久久精品 | 国产ts人妖一区二区三区 | 国产一区二区免费电影 | 狠狠艹| 91视频精选 | 中文精品一区二区 | 亚洲国产精品成人综合久久久 | 性一区| 欧美一区二区三区在线看 | 成人免费看片又大又黄 | 久草网免费 | 国产av毛片 | 欧美日韩中文字幕在线播放 | 久久久69| 久久久久网站 | 综合国产第二页 | 91精品国产综合久久福利软件 | 日韩av免费在线电影 | 午夜影院 | 欧美精品一区三区 | 日韩精品av | 激情91|