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

<small id='7osmS'></small><noframes id='7osmS'>

<legend id='7osmS'><style id='7osmS'><dir id='7osmS'><q id='7osmS'></q></dir></style></legend>
    • <bdo id='7osmS'></bdo><ul id='7osmS'></ul>
  • <tfoot id='7osmS'></tfoot>

      1. 如何使用按钮行为在kivy中制作圆形按钮?

        How to make circular button in kivy using button behavior?(如何使用按钮行为在kivy中制作圆形按钮?)
        1. <i id='UuRQP'><tr id='UuRQP'><dt id='UuRQP'><q id='UuRQP'><span id='UuRQP'><b id='UuRQP'><form id='UuRQP'><ins id='UuRQP'></ins><ul id='UuRQP'></ul><sub id='UuRQP'></sub></form><legend id='UuRQP'></legend><bdo id='UuRQP'><pre id='UuRQP'><center id='UuRQP'></center></pre></bdo></b><th id='UuRQP'></th></span></q></dt></tr></i><div id='UuRQP'><tfoot id='UuRQP'></tfoot><dl id='UuRQP'><fieldset id='UuRQP'></fieldset></dl></div>

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

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

                  <bdo id='UuRQP'></bdo><ul id='UuRQP'></ul>
                  <tfoot id='UuRQP'></tfoot>
                  本文介绍了如何使用按钮行为在kivy中制作圆形按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我认为有一种方法可以在 kivy 中完成,而不是绕过 python 代码.

                  I think there is a way to do it in kivy rather than going round the python code.

                  我在 kv 文件中的代码:

                  my code in the kv file:

                  ButtonBehavior:
                       source: "round-icon.png"
                  

                  应用程序崩溃说

                  AttributeError: 'ButtonBehavior' 对象没有属性'register_event_type'

                  AttributeError: 'ButtonBehavior' object has no attribute 'register_event_type'

                  round-icon.png 是圆形图标.最后我会感谢推荐,如何将此按钮设置为特定大小是窗口?

                  round-icon.png is circular icon. The last thing that I will appreciate recommendation, How to set this button to certain size is the window?

                  推荐答案

                  尝试导入图片:

                  Image+ButtonBehavior:
                       source: "round-icon.png"
                  

                  这篇关于如何使用按钮行为在kivy中制作圆形按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
                  Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
                  Is there a way of group by month in Pandas starting at specific day number?( pandas 有从特定日期开始的按月分组的方式吗?)
                  Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
                  Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
                  Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)

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

                      1. <legend id='g86fS'><style id='g86fS'><dir id='g86fS'><q id='g86fS'></q></dir></style></legend>
                          <tfoot id='g86fS'></tfoot>

                            <bdo id='g86fS'></bdo><ul id='g86fS'></ul>

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