About 1,320,000 results
Open links in new tab
  1. python - Tkinter drop down list of check-boxes/combo-boxes - Stack Overflow

    Nov 18, 2015 · I am attempting to create a post-processing data application in Python, and I am designing the GUI for this using Tkinter. I do not know if Tkinter supports a drop down list composed of check boxes, of which you can then select multiple boxes from.

  2. Drop-down List (Combobox) in Tk (tkinter) | Python Assets

    Mar 24, 2022 · How to create a drop-down list (also known as combobox) in a Python and Tk desktop application using the ttk.Combobox widget class.

  3. Dropdown Menus in Tkinter - GeeksforGeeks

    Apr 1, 2025 · In this article, we will explore how to create and customize dropdown menus in Tkinter. OptionMenu in Tkinter. The OptionMenu widget in Tkinter is a dropdown menu that allows users to select a single option from a predefined list. It functions similarly to a combobox and is commonly used in GUI applications to provide a selection menu. Syntax:

  4. python - How can I create a dropdown menu from a List in …

    Mar 6, 2019 · To create a "drop down menu" you can use OptionMenu in tkinter. Example of a basic OptionMenu: from Tkinter import * master = Tk() variable = StringVar(master) variable.set("one") # default value w = OptionMenu(master, variable, "one", "two", "three") w.pack() mainloop() More information (including the script above) can be found here.

  5. How to create a combobox that includes checkbox for each item?

    Mar 13, 2015 · This gives you an OptionMenu with checkboxes in the contained Menu. Check whichever items you like, then right-click in the tkinter window to print the values of the checkboxes to the console.

  6. tkinter dropdown - Python Tutorial

    Tkinter supports dropdown menus. This is similar to your standard combobox on your operating system. The widget is called OptionMenu and the parameters you need are: frame, tk variable and a dictionary with choices. Related course: Python Desktop Apps with Tkinter; Tkinter dropdown example. The example below creates a Tkinter window with a ...

  7. Python program to create a dropdown menu in Tkinter - CodeSpeedy

    In this blog, we are going to see how we can create a drop-down menu in Python using Tkinter. The Dropdown Menu is mostly used while filling forms and providing multiple options to select in any given menu.

  8. Dependent Drop Downs and List Boxes – Python Tkinter GUI Tutorial #152

    Dec 10, 2020 · In this video I’ll show you how to create dependent drop downs, combo boxes, and list boxes for Tkinter. A Dependent dropdown or listbox is one that changes based on what you clicked in the previous box. In our example, we’ll create a …

  9. Learn Python GUI With Dropdown Menus With Tkinter Video

    Aug 16, 2022 · In this video, John Elder of Codemy will show us how to use dropdown menus and add them to your Python script. If you want to know to add this function to your app using the Tkinter GUI framework in Python, feel free to watch the video below.

  10. python - Combining drop down menu and checkbox in tkinter

    May 6, 2021 · Use one Tk() for entirely scripting. So use master for every widgets. Code: master = Tk() i=IntVar() variable = StringVar(master) w = OptionMenu(master, variable, "myaccount1", "myacc", "myaccount1", "myaccount2", "Dyrbart konto") c = Checkbutton(master, text = "Yes, I want to change account", variable=i) w.pack() c.pack()

  11. Some results have been removed