Relative Content

Tag Archive for pythontkinter

Finding the bounding circle

The logic in my code is not absolute. I tried to find the center coordinates and radius of bounding circle by taking the diameter end points as 1) the point farthest from origin and 2) the point farthest away from (1).
But this is does not give me an actual result in all cases.
pls dont mind indendation (I use tabs and copied my code.)

how to increases the treeview row font size in tkinter

My code effectively enlarges the font size of the column headings; however, I aim to further increase the font size of the row data beneath to 30 and apply bold formatting. There are ten rows, which include Purchase, Sale, Income, Expense, Salary, Load, and others, alongside three column headings—Title, Debit, and Credit—formatted in bold with a font size of 30. At present, the font size for the row data is set to a standard size of 10. I intend to elevate the font size of all row data to 50 for my manager’s review, facilitating a clear and comprehensive overview at a glance.

how to increases the treeview row font size in tkinter

My code effectively enlarges the font size of the column headings; however, I aim to further increase the font size of the row data beneath to 30 and apply bold formatting. There are ten rows, which include Purchase, Sale, Income, Expense, Salary, Load, and others, alongside three column headings—Title, Debit, and Credit—formatted in bold with a font size of 30. At present, the font size for the row data is set to a standard size of 10. I intend to elevate the font size of all row data to 50 for my manager’s review, facilitating a clear and comprehensive overview at a glance.

how to increases the treeview row font size in tkinter

My code effectively enlarges the font size of the column headings; however, I aim to further increase the font size of the row data beneath to 30 and apply bold formatting. There are ten rows, which include Purchase, Sale, Income, Expense, Salary, Load, and others, alongside three column headings—Title, Debit, and Credit—formatted in bold with a font size of 30. At present, the font size for the row data is set to a standard size of 10. I intend to elevate the font size of all row data to 50 for my manager’s review, facilitating a clear and comprehensive overview at a glance.

Global variable not getting updated?

I am building a simple game, spot the differences in which the images which be loaded up and the user fill find the differences in every picture after that he/ she will put their score mannualy, then after 5 pictures their total score will be shown out of 25, each 5 pictures are of 5 marks.

Global variable not getting updated?

I am building a simple game, spot the differences in which the images which be loaded up and the user fill find the differences in every picture after that he/ she will put their score mannualy, then after 5 pictures their total score will be shown out of 25, each 5 pictures are of 5 marks.

Value of ttk.Label crated in __init__ is None

I’m new using tkinter and I’ve run into a following issue.
In the init method of my class APP I’m creating a couple a label and a button with the handler that should change the label text

How to automatically select/highlight text in a tkinter entry widget?

I would like to have an entry widget with some default text in it, where the text contained in the entry widget is automatically “highlighted” (in the same way as when you drag your mouse over text), such that if you want to edit the entry you can just start typing and it will replace the text rather than requiring you to manually highlight and delete the default text, as many website do.