Форум сайта python.su
смотрю список wx-контролов: http://www.wxpython.org/docs/api/wx.Control-class.html
пробую:
tree = wx.TreeListCtrl(self, size=(200,100))
tree = wx.TreeCtrl(self, size=(200,100))
Офлайн
Из Python in Action:
In addition to the wx.TreeCtrl, wxPython provides the wx.gizmos.TreeListCtrl which is a combination of a tree control and a list control in report mode.а после
tree = wx.gizmos.TreeListCtrl(self, size=(200,100))
AttributeError: ‘module’ object has no attribute ‘gizmos’
Офлайн
прошу прощения, тормознул. забыл сделать import wx.gizmos
http://www.wxpython.org/docs/api/wx-module.html - тут есть список модулей, которые лежат внутри пакета wx. надо будет просмотреть.
Офлайн