2007年05月10日 星期四 14:41
Ãæ°åÖÇÄÜÍÏ×§£¬¹ÜÀí£¬³¬¼¶Ç¿º·¡£ ¿ÉÒÔÇáËÉʵÏÖ ÀàËÆ eclipse ½çÃæµÄ£¬ÍÏ×§Í£·Å¡£ ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔÊÔÊÔ¡£ ÍõÕýÓ Email: smallQ在fgwireless.com 2007-05-10 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070510/92eb62d1/attachment.htm
2007年05月10日 星期四 14:46
Äܲ»Äܸø¸öÊÂÀý´úÂë ÔÚ07-5-10£¬wang_zheng_yong <wang_zheng_yong在163.com> дµÀ£º > > > Ãæ°åÖÇÄÜÍÏ×§£¬¹ÜÀí£¬³¬¼¶Ç¿º·¡£ ¿ÉÒÔÇáËÉʵÏÖ ÀàËÆ eclipse ½çÃæµÄ£¬ÍÏ×§Í£·Å¡£ > > ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔÊÔÊÔ¡£ > > > > ------------------------------ > > ÍõÕýÓ > > Email: smallQ在fgwireless.com > 2007-05-10 > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070510/4efada32/attachment.html
2007年05月10日 星期四 14:59
wx ×Ô´øµÄdemo ÀïÃæÀý×Ӻܶࡣ ÎÒÕâ¸öÊÇwx.aui ÎĵµÄÚÁгöµÄÀý×Ó¡£
python 2.4 wxpython 2.8.3
=====================
import wx
import wx.aui
class MyFrame(wx.Frame):
def __init__(self, parent, id=-1, title='wx.aui Test',
pos = (400,100),size=(800, 600), style=wx.DEFAULT_FRAME_STYLE):
wx.Frame.__init__(self, parent, id, title, pos, size, style)
self._mgr = wx.aui.AuiManager(self)
# create several text controls
text1 = wx.TextCtrl(self, -1, 'Pane 1 - sample text',
wx.DefaultPosition, wx.Size(200,150),
wx.NO_BORDER | wx.TE_MULTILINE)
text2 = wx.TextCtrl(self, -1, 'Pane 2 - sample text',
wx.DefaultPosition, wx.Size(200,150),
wx.NO_BORDER | wx.TE_MULTILINE)
text3 = wx.TextCtrl(self, -1, 'Main content window',
wx.DefaultPosition, wx.Size(200,150),
wx.NO_BORDER | wx.TE_MULTILINE)
# add the panes to the manager
self._mgr.AddPane(text1, wx.LEFT, 'Pane Number One')
self._mgr.AddPane(text2, wx.BOTTOM, 'Pane Number Two')
self._mgr.AddPane(text3, wx.CENTER, )
# tell the manager to 'commit' all the changes just made
self._mgr.Update()
self.Bind(wx.EVT_CLOSE, self.OnClose)
def OnClose(self, event):
# deinitialize the frame manager
self._mgr.UnInit()
# delete the frame
self.Destroy()
app = wx.App(0)
frame = MyFrame(None)
frame.Show()
app.MainLoop()
wang_zheng_yong
2007-05-10
·¢¼þÈË£º klutz chump
·¢ËÍʱ¼ä£º 2007-05-10 14:47:25
ÊÕ¼þÈË£º python-chinese在lists.python.cn
³ËÍ£º
Ö÷Ì⣺ Re: [python-chinese]ÌåÑé wxpython 2.8 ÖÐµÄ wx.aui
Äܲ»Äܸø¸öÊÂÀý´úÂë
ÔÚ07-5-10£¬wang_zheng_yong <wang_zheng_yong在163.com> дµÀ£º
Ãæ°åÖÇÄÜÍÏ×§£¬¹ÜÀí£¬³¬¼¶Ç¿º·¡£ ¿ÉÒÔÇáËÉʵÏÖ ÀàËÆ eclipse ½çÃæµÄ£¬ÍÏ×§Í£·Å¡£
ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔÊÔÊÔ¡£
ÍõÕýÓÂ
Email: smallQ在fgwireless.com
2007-05-10
_______________________________________________
python-chinese
Post: send python-chinese在lists.python.cn
Subscribe: send subscribe to python-chinese-request在lists.python.cn
Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070510/e4e0825f/attachment.htm
2007年05月10日 星期四 23:21
在 07-5-10,wang_zheng_yong<wang_zheng_yong在163.com> 写道: > > > 面板智能拖拽,管理,超级强悍。 可以轻松实现 类似 eclipse 界面的,拖拽停放。 > > 有兴趣的朋友可以试试。 > 我早就在项目里用上拉! 可设定的功能还是挺多的,尤其是pane的dock,设置的很不错,也可以用在MDI里面,就是怪怪的。 新的aui也有一个MDI框架,感觉不错的。
Zeuux © 2025
京ICP备05028076号