Skip to content

Instantly share code, notes, and snippets.

#!/usr/sbin/env python
from tkinter import *
class Application(Frame):
def __init__(self, master=None):
Frame.__init__(self, master)
self.grid()
self.create_widgets()
self.count_value = 0
def create_widgets(self):
@vahit
vahit / multiwin-app2.py
Last active August 29, 2015 14:03
Another simple multiwindow application
#!/usr/sbin/env python
from tkinter import *
from tkinter import ttk
import pdb
# pdb.set_trace()
win=Tk()
def create_frame1():
global show_frame2, frame1
@vahit
vahit / multiwin-app.py
Created July 11, 2014 14:52
sample multi window application
#!/usr/sbin/env python
from tkinter import *
from tkinter import ttk
win = Tk()
def create_frame1():
global show_frame2, frame1
frame1 = ttk.Frame(win)
lbl = ttk.Label(frame1, text='Frame1', font='Times 35')
@vahit
vahit / config
Created June 23, 2014 17:11
i3config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!