Learn
  • Home
  • Jobs
  • Books
 
 
loading...
View All Comments
 
View All Messages
 
No unread notification. loading...
View All Notifications
 
C# Corner
«Back to Home

Python - Tutorial

Topics
  • Basics of Python
  • Environment Setup
  • Python Syntax
  • Fundamentals Of Python
  • Variable in Python
  • Operators in Python
  • Decision Making
  • Loops In Python
  • String In Python
  • Python List
  • Python Tuple
  • Python Dictionary
  • Functions In Python
  • Python Module
  • I/O Files In Python
  • Class And Object In Python
  • Networking Programming In Python
  • GUI Programming In Python
  • Tkinter widgets-Button
  • Tkinter Widgets-Canvas
  • Tkinter Widgets-Canvas
  • Tkinter Widget-Entry
  • Tkinter Widget-Frame
  • Tkinter widget -Label
  • Tkinter Widgets-Listbox
  • Tkinter Widget-MenuButton
  • Tkinter Widgets-Menu
  • Tkinter Widget-Message
  • Tkinter Widget-Radiobutton
  • Tkinter Widget-Scale
  • Tkinter Widget-Scrollbar
  • Tkinter Widget-Text
  • Tkinter Widget-TopLevel
  • Tkinter Widget-SpinBox
  • Tkinter Widget-PanelWindow

Tkinter Widget-SpinBox

Spinbox is used to create a fixed number entry, which means the user can select a number between a fixed range.

Syntax-
w = Spinbox(master, option)
Parameter-
Main- parent Window.
Option- attribute of spinbox widget.
 
Example-
  1. from tkinter import *  
  2. main = Tk()  
  3. w = Spinbox(main, from_=0, to=20)  
  4. w.pack()  
  5. main.mainloop()  
Output-
 
Summary

In this chapter, you learnt what Spinbox widget is and how to use the property of the widget.
Previous « Tkinter Widget-TopLevel Next » Tkinter Widget-PanelWindow
  • Xamarin Jump Start
  • Python - Tutorial
  • JavaScript for Professionals
  • Learn ASP.NET Core
  • Learn Node.js
  • ASP.NET MVC

©2023 C# Corner.