Python GUI Tutorial - 28 - Combobox - part 1

Publicado em: 26 Julho 2018
no canal de: Indrajeet Singh
18,221
135

in This video, you'll learn how we can create combobox in Python Tkinter.
To create a combobox in tkinter we have to import ttk.

example -

from tkinter import *
from tkinter.ttk import Combobox

root = Tk()

v = ["hello","hi"]
combo = Combobox(root, values=v, width=15)
combo.set("select")

combo.pack()

root.geometry("300x300+120+120")
root.mainloop()

------------------------------------------------------------------



I'm sure your queries like -
How to create combobox in tkinter?
How to create Choicebox in tkinter?
How to set width of choicebox in tkinter?
how to set height of choicebox in tkinter?
how to insert value in choice box in tkinter?
have been solved.



If you have any problem related to this video then please comment below. Thanks


Nesta página do site você pode assistir ao vídeo on-line Python GUI Tutorial - 28 - Combobox - part 1 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Indrajeet Singh 26 Julho 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 18,221 vezes e gostou 135 espectadores. Boa visualização!