如何在Python GUI中添加下拉框 [英] How to add a drop down box in Python GUI

查看:922
本文介绍了如何在Python GUI中添加下拉框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我如何添加一个下拉框,其中包含几个预先填充的字符串?

我可以找到列表框并删除在Python的帮助文档中的下拉菜单,但不是下拉框。


请帮助我。


谢谢,
BK

推荐答案





如何我是否添加了一个下拉框,其中包含几个预先填充的字符串?

我可以在Python的HELP文档中找到列表框和下拉菜单,但不是下拉框。


请帮帮我。


谢谢,

BK
Hi,

How do i add a drop down box with few pre-populated strings in the same?
I could find list box and drop down menu in the HELP document of Python, but not drop down box.

Please help me in this.

Thanks,
BK



Tkinter没有组合框。如果你正在使用Tkinter,我可以提供一个模块,它需要Python Image Library来制作一个下拉菜单+一个文本条目+图形看起来像一个组合框,但它可能需要先做一些工作。我现在使用wxPython进行GUI。

Tkinter does not have a combobox. If you are using Tkinter, I can supply a module that requires Python Image Library to make a drop-down menu + a text entry + graphics look like a combo box, but it may need some work first. I now use wxPython for GUI.



Tkinter没有组合框。如果你正在使用Tkinter,我可以提供一个模块,它需要Python Image Library来制作一个下拉菜单+一个文本条目+图形看起来像一个组合框,但它可能需要先做一些工作。我现在使用wxPython进行GUI。
Tkinter does not have a combobox. If you are using Tkinter, I can supply a module that requires Python Image Library to make a drop-down menu + a text entry + graphics look like a combo box, but it may need some work first. I now use wxPython for GUI.



如果是这样,请你在这方面帮助我。该问题是否有任何先决条件?


谢谢,

BK


If that is so, could u please help me in this regard. Are there any pre requisites for the issue?

Thanks,
BK



如果是这样的话,请你在这方面帮助我。这个问题是否有任何先决条件?


谢谢,

BK
If that is so, could u please help me in this regard. Are there any pre requisites for the issue?

Thanks,
BK



我是不清楚你想要帮助的问题。

I am unclear on which issue you want help with.


这篇关于如何在Python GUI中添加下拉框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆