Python 3 Tkinter ScaleEntry Slider Widget Example to Take Numerical Input GUI Desktop App

Python 3 Tkinter ScaleEntry Slider Widget Example to Take Numerical Input GUI Desktop App

Python 3 Tkinter ScaleEntry Slider Widget Example to Take Numerical Input GUI Desktop App

# -*- coding: utf-8 -*-

# Copyright (c) Juliette Monsel 2018
# For license see LICENSE

from ttkwidgets import ScaleEntry
import tkinter as tk


window = tk.Tk()
scaleentry = ScaleEntry(window, scalewidth=200, entrywidth=3, from_=0, to=20)
scaleentry.config_entry(justify='center')
scaleentry.pack()
window.mainloop()
Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment