随笔分类 -  python::wxpython

摘要:"https://canbefree.github.io/" 阅读全文
posted @ 2016-11-01 10:55 UCanBeFree 阅读(132) 评论(0) 推荐(0)
摘要:给wxPython事件处理函数传递参数2014-04-30 07:47:08segmentfault-博客--点击数:39 (转载)最近捣鼓Python,也就自然捣鼓上了wxPython。我曾经用过Qt和Gtk+写GUI,但几乎所有的Python书都告诉我说最好用的是wxPython,我没有尝... 阅读全文
posted @ 2014-10-16 19:46 UCanBeFree 阅读(2152) 评论(0) 推荐(0)
摘要:pass 阅读全文
posted @ 2014-07-07 11:54 UCanBeFree 阅读(170) 评论(0) 推荐(0)
摘要:#!/usr/bin/env pythonimport wxclass MainWindow(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, si... 阅读全文
posted @ 2014-06-28 18:40 UCanBeFree 阅读(191) 评论(0) 推荐(0)
摘要:* SetTitle( string title ) —— 设置窗口标题。只可用于框架和对话框。* SetToolTip( wx.ToolTip tip ) —— 为窗口添加提示。* SetSize( wx.Size size ) —— 设置窗口的尺寸。* SetPosition( wx.Point... 阅读全文
posted @ 2014-06-22 21:40 UCanBeFree 阅读(255) 评论(0) 推荐(0)