filmov
tv
Integrating Progress bar to display number of chars entered inside a Tkinter text widget with colour
Показать описание
00:40 Declaring style objects
01:12 adding progress bar
03:30 Integration of Progressbar with text counter
04:21 Adding style colours to Progressbar
In Part 1 we have created one text widget input counter and displayed the counter value in one Label.
Here the maximum char input allowed was 20.
We placed one Progressbar to the right of the displaying Label and the value of this progressbar is connected to text counter inside the callback function.
Based on the value of the text counter the style colour is decided.
We have divided in three zones, progressbar will show green colour when total car is less that 10, similarly up to 20 chars it will show Yellow colour and beyond 20 the colour will be red.
Download the source code from here.
In Part I we discussed on how to limit user entered data in a text widget.
Managing Progressbar style
#ColouroftkinterProgressBar #ColourZonesProgressbar #linkingProgressBar #MaximumChars #TextCounterProgressBar #limitingEntris #plus2net #Python
01:12 adding progress bar
03:30 Integration of Progressbar with text counter
04:21 Adding style colours to Progressbar
In Part 1 we have created one text widget input counter and displayed the counter value in one Label.
Here the maximum char input allowed was 20.
We placed one Progressbar to the right of the displaying Label and the value of this progressbar is connected to text counter inside the callback function.
Based on the value of the text counter the style colour is decided.
We have divided in three zones, progressbar will show green colour when total car is less that 10, similarly up to 20 chars it will show Yellow colour and beyond 20 the colour will be red.
Download the source code from here.
In Part I we discussed on how to limit user entered data in a text widget.
Managing Progressbar style
#ColouroftkinterProgressBar #ColourZonesProgressbar #linkingProgressBar #MaximumChars #TextCounterProgressBar #limitingEntris #plus2net #Python