摘要: # -*- coding: utf-8 -*- import copy import sys import datetime import locale import time import operator import re import warnings from decimal import 阅读全文
posted @ 2017-02-12 19:25 ZRHW菜鸟 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 1. 在绘图时,必须定义EVT_PAINT事件的触发处理, self.Bind(wx.EVT_PAINT, self.OnPaint) 对触发处理,只需要建立一个PaintDC(BufferedPaintDC)请求; def OnPaint(self, event): dc = wx.Buffere 阅读全文
posted @ 2017-02-12 19:24 ZRHW菜鸟 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: i 阅读全文
posted @ 2017-02-12 18:45 ZRHW菜鸟 阅读(401) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: ISO-8859-15 -*- # # Fichero: avanzado.py # Copyright: Junta de Andalucia <devmaster@guadalinex.org> # Autor: Maria Dolores Perez Gutierr 阅读全文
posted @ 2017-02-12 18:40 ZRHW菜鸟 阅读(328) 评论(0) 推荐(0) 编辑
摘要: # # Name: GridCombo.py # Purpose: Dynamic list updating with a wx.grid.GridCellChoiceEditor # # Author: Thomas M Wetherbee # # Created: 2009/04/27 # R 阅读全文
posted @ 2017-02-12 18:16 ZRHW菜鸟 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 小记以前一个QQ农场偷菜软件 我的展示农作物的表格有点复杂, 数据类继承Grid.PyGridTableBase,显示类继承Grid.PyGridCellRenderer问题是当我在运行时要切换表格中的数据时,表格并不随之动态更新。这个问题困扰了我很久,曾经逼得我建了3个表格,切换数据时隐藏另外两个 阅读全文
posted @ 2017-02-12 17:43 ZRHW菜鸟 阅读(1772) 评论(1) 推荐(0) 编辑
摘要: http://xoomer.virgilio.it/infinity77/wxPython/grid/wx.grid.htmlThe following example shows a simple implementation that utilizes wx.grid.Grid:import w 阅读全文
posted @ 2017-02-12 17:25 ZRHW菜鸟 阅读(459) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/YBhello/p/5440800.html http://www.cnblogs.com/lvstone/archive/2011/03/03/1969997.html http://www.cnblogs.com/findumars/p/361860 阅读全文
posted @ 2017-02-06 12:19 ZRHW菜鸟 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 一、网格Grid的有关操作imort wx.Gridclass SimpleGrid( wx.grid.Grid ) # 定义类,继承wx.grid.Gridwx.grid.Grid.__init__( self, parent, -1, (40,30) , (500,280) ) # 初始化sel 阅读全文
posted @ 2017-02-06 08:50 ZRHW菜鸟 阅读(326) 评论(0) 推荐(0) 编辑
摘要: wx.TE_CENTER:控件中的文本居中。 wx.TE_LEFT:控件中的文本左对齐。默认行为。 wx.TE_NOHIDESEL:文本始终高亮显示,只适用于Windows。 wx.TE_PASSWORD:不显示所键入的文本,代替以星号显示。 180 / 565 wx.TE_PROCESS_ENTE 阅读全文
posted @ 2017-02-05 23:03 ZRHW菜鸟 阅读(2384) 评论(0) 推荐(0) 编辑