GUI
xsj_blog
这个作者很懒,什么都没留下…
展开
-
文章标题
coding:utf-8author = “xshengjing” from Tkinter import * class App: def init(self,master): frame = Frame(master) frame.pack() self.button = Button(frame,text='Exit Class',fg=原创 2016-09-03 09:43:19 · 328 阅读 · 0 评论 -
文章标题
author = ‘Sundy’from Tkinter import * import tkMessageBoxroot = Tk()def callback(event): frame.focus_set() print “clicked at:”, event.x, event.ydef key(event): print “pressed”, repr(eve原创 2016-09-03 10:08:34 · 309 阅读 · 0 评论 -
记事本的开发---Tkinter的使用
#coding:utf-8__author__ = 'xshengjing'from Tkinter import *from tkMessageBox import *from tkFileDialog import *import osfile_name = ""def search(): top_search = Toplevel(root) #top_search.原创 2016-09-04 09:36:41 · 1429 阅读 · 0 评论 -
Python实现的彩票机选器
本文实例讲述了Python实现彩票机选器的方法。分享给大家供大家参考。具体实现方法如下:# -*- coding: utf8 -*-from Tkinter import *import tkFontimport randomclass App: def __init__(self, master) : frame = [Frame() for i in range(4)]转载 2016-09-07 23:35:00 · 4528 阅读 · 0 评论