Skip to content
Advertisement

Tag: tkinter

Use opt/ cmd + Backspace in tkinter

I have a very simple notepad that is made out of the tk.text widget. The only thing lacking is OPT/ CMD + Backspace support on Mac (deleting lines and words). Any way i could add support for it? either through tkinter directly or though a selfmade function? EDIT: I also found out that navigating text using OPT and the arrow

How do i resize this labelframe in tkinter?

So I tried to make this labelframe wider by using the basic width and width option. Here’s my given minimal code. minimalized preview: used in application: i want to get this labelframe little bit bigger and make the inside centered, But i had no knowledge to do so, Any help will apreciated! Answer It seems like you just want to

How to change the layout of a Tkinter Combobox?

To make the border disapear or simply change it’s color. I tried with highlighttickness or borderwidth but it doesn’t work. So I was told to try with the layouts, the thing is I don’t know how to change the border with the layouts On this pic the border is still visible on the combobox I want to delete it or

Tkinter Events in for loop

I am currently working on an app with tkinter, which is basically PHPMyadmin. After the login I want to display all the databases in Labels and attach an Event to them. Well it kinda worked… Currently this code just prints out all the databases when clicked, but I want it to print just its own name. If it is possible,

Advertisement