▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book bit.ly/45iO4OP bit.ly/3K4qlZC ▶ See More At: ✅ Subscribe To My RUclips Channel: Tkinter.com bit.ly/3Pk1By4 ▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group: 30% off with coupon code: youtube bit.ly/2GFmOBz ▶ Get The Code For This Video bit.ly/3dCzz2K
Awesome video as always! Wondering if its possible to do a .get() on the menu option being hovered over so I can pull that into a variable. As of now, I have to click a menu option to get my function to run but I'd like to just be able to use the arrow up and down keys to scroll through the list and have the function run each time. I have bound hover to enter and leave like this: # using '+' to avoid overwriting the existing binding optionmenu.bind('', on_enter_monster, add='+') optionmenu.bind("", on_leave_monster, add='+')
Hello! I am trying to get a user to select an option and for that option selected to be used throughout the entire script. However, I cant seem to get that information out from the Tk.Combobox command function! eg. I can return the variable selected to be used for further analysis in the code. Is there a way to do this?
Sir how can I add the Menubar on the top like most other apps. I have tried to put the menubar of the normal tkinter but in dark mode it is showing in white. Is there any way to fix this?
I have 2 problem. 1: There is no way i can change the list options of CTkOptionMenu and CTkComboBox. My program requires update the list option while running to show and let user choose new options. 2: When i change the width of CTkOptionMenu or CTkComboBox, the dropdown menu wont change width size. This is a strategy of designing. Pls help! I commented before whatching the video, sorry if the answer is inside the video already
Ok problem 1 solved by // option.configure(values=('Tùy chọn 3', 'Tùy chọn 4', 'Tùy chọn 5')) //. Guess someone with need this since it didnt appear in the video maybe.
00:01 Tutorial on Option Menu in Tkinter CustomTkinter 01:30 Setting up custom OptionMenu in Tkinter 03:16 Implementing command function for custom Tkinter option menu. 05:20 Creating a color picker function for an Option Menu in Tkinter. 07:19 Creating and customizing a yellow button using Tkinter 09:24 Customizing appearance options in Tkinter Option Menu 11:13 Customize appearance and behavior of the combo box. 13:27 Option menu vs combo box: Use option menu if you don't want user input, use combo box if you want user input.
@@TkinterPython How can I change the border of the OptionMenu[Menu] to 0 (the white rectangle around the options), on Mac you can just do border=0 but on windows that doesn't work.
▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book
bit.ly/45iO4OP bit.ly/3K4qlZC
▶ See More At: ✅ Subscribe To My RUclips Channel:
Tkinter.com bit.ly/3Pk1By4
▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group:
30% off with coupon code: youtube bit.ly/2GFmOBz
▶ Get The Code For This Video
bit.ly/3dCzz2K
Awesome video as always!
Wondering if its possible to do a .get() on the menu option being hovered over so I can pull that into a variable. As of now, I have to click a menu option to get my function to run but I'd like to just be able to use the arrow up and down keys to scroll through the list and have the function run each time.
I have bound hover to enter and leave like this:
# using '+' to avoid overwriting the existing binding
optionmenu.bind('', on_enter_monster, add='+')
optionmenu.bind("", on_leave_monster, add='+')
is that possible to create a nested sub-menu in customtkinter?
hello, can u make a vidio how to make button in scrolable frame with image? i dont know how to do it
Hello! I am trying to get a user to select an option and for that option selected to be used throughout the entire script. However, I cant seem to get that information out from the Tk.Combobox command function! eg. I can return the variable selected to be used for further analysis in the code. Is there a way to do this?
Assign it to a variable and make the variable global in the normal way
Hi, how to make scrollbar in option menu?
Sir how can I add the Menubar on the top like most other apps. I have tried to put the menubar of the normal tkinter but in dark mode it is showing in white. Is there any way to fix this?
try looking into this: CTkMenuBar
I have 2 problem.
1: There is no way i can change the list options of CTkOptionMenu and CTkComboBox. My program requires update the list option while running to show and let user choose new options.
2: When i change the width of CTkOptionMenu or CTkComboBox, the dropdown menu wont change width size. This is a strategy of designing.
Pls help!
I commented before whatching the video, sorry if the answer is inside the video already
Ok problem 2 solved althought I have to accept the scale of dropdown_with and dropdown_font_size is unchangeable
Ok problem 1 solved by // option.configure(values=('Tùy chọn 3', 'Tùy chọn 4', 'Tùy chọn 5')) //. Guess someone with need this since it didnt appear in the video maybe.
@@trandinhnamzreally handy, thankyou!
Is there anyway to remove the menu border?
00:01 Tutorial on Option Menu in Tkinter CustomTkinter
01:30 Setting up custom OptionMenu in Tkinter
03:16 Implementing command function for custom Tkinter option menu.
05:20 Creating a color picker function for an Option Menu in Tkinter.
07:19 Creating and customizing a yellow button using Tkinter
09:24 Customizing appearance options in Tkinter Option Menu
11:13 Customize appearance and behavior of the combo box.
13:27 Option menu vs combo box: Use option menu if you don't want user input, use combo box if you want user input.
dropdowns items should be more customizable. on macos, they look great, but on windows, not so much.
you can make them look however you want
@@TkinterPython How can I change the border of the OptionMenu[Menu] to 0 (the white rectangle around the options), on Mac you can just do border=0 but on windows that doesn't work.