What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-27 11:25:12
chech box in tkinter
from tkinter import * master = Tk() var1 = IntVar() Checkbutton(master, text="male", variable=var1).grid(row=0, sticky=W) var2 = IntVar() Checkbutton(master, text="female", variable=var2).grid(row=1, sticky=W) mainloop() Add solution -
C++ 2022-03-13 06:15:02
static inside local scope in c++
#include<iostream> //Singleton class is a class having only one instance class SingleTon { public: static SingleTon& Get() { static SingleTon s_Instance; return s_Instance; }//there is only one instance of static functions and variables a... Add solution -
Python 2022-02-03 04:27:45
if statement with radio button python
from tkinter import * root = Tk() i = IntVar() #Basically Links Any Radiobutton With The Variable=i. r1 = Radiobutton(root, text="option 1", value=1, variable=i) r2 = Radiobutton(root, text="option 2", value=2, variable=i) # "&q... Add solution -
Python 2022-02-02 00:25:31
login page tkinter
# define login function def login(): login_screen = Toplevel(main_screen) login_screen.title("Login") login_screen.geometry("300x250&quo... Add solution -
Other 2021-12-23 17:22:22
tkinter trig calculator
import tkinter as tk from tkinter import ttk window = tk.Tk() v = tk.IntVar() v.set(1) x1String = "x1: " x2String = "x2: " y1String = "y1: " y2String = "y2: " window.geometry("640x860") submit = tk.Bu... Add solution -
Python 2021-11-20 21:49:14
Python Tkinter timer animation
#!/usr/bin/env python3 # Display UTC. # started with https://docs.python.org/3.4/library/tkinter.html#module-tkinter import tkinter as tk import time def current_iso8601(): """Get current date and time in ISO8601""" ... Add solution -
Python 2021-10-24 15:41:09
auto fill in entry in tkinter
from Tkinter import * import re lista = ['a', 'actions', 'additional', 'also', 'an', 'and', 'angle', 'are', 'as', 'be', 'bind', 'bracket', 'brackets', 'button', 'can', 'cases', 'configure', 'course', 'detail', 'enter', 'event', 'events', 'example', 'fiel... Add solution