Tkinter
18 snippets
Allow Alphanumeric
A validation function to allow alphanumeric characters.
Allow Decimal
A validation function to allow only decimal numbers.
Allow Digits with A Max Length
A validation function to allow only digits with a specified maximum length.
Allow Lowercase
A validation function to allow only lowercase alphabetic characters.
Allow Negative Integers
A validation function to allow only negative integers.
Allow Numbers in Range
A validation function to allow only numbers within a specified range.
Allow Only Alphabets
A validation function to allow only alphabetic characters.
Allow Only Digits
A validation function to allow only digits.
Allow Positive Integers
A validation function to allow only positive integers.
Allow signed Decimals
A validation function to allow only signed decimal numbers.
Allow Signed Integers
A validation function to allow only signed integers.
Allow Specific Characters
A validation function to allow specific characters.
Allow Uppercase
A validation function to allow uppercase letters.
Context Menu
Opens a menu when you right click a widget.
Custom Regular Expression
A validation function to match a regular expression pattern.
Display a Pillow Image
Use Pillow to show an image in a Tkinter window.
Restrict Length
A validation function to limit the length.
Validate File Path
A validation function to ensure the file path exists.