hello

hello all:

I used wx.gizmos in my scripts,but how can i not show the header. I guess it style is " wx.TR_NO_HEADER " ,but erro,how can i do? follow is scripts

import wx.lib.mixins.listctrl as listmix
import wx.gizmos as gizmos
class MyListCtrl(gizmos.TreeListCtrl,listmix.ListCtrlAutoWidthMixin):
def init(self, parent, log):
gizmos.TreeListCtrl.init(self, parent,
style = wx.TR_DEFAULT_STYLE
> wx.TR_HIDE_ROOT
> wx.TR_NO_BUTTONS
#| wx.TR_NO_HEADER
> wx.TR_NO_LINES
> wx.TR_MULTIPLE
> wx.TR_FULL_ROW_HIGHLIGHT
#| wx.TR_TWIST_BUTTONS
#| wx.SIMPLE_BORDER
)
listmix.ListCtrlAutoWidthMixin.init(self)
self.log = log

刘于洲 wrote:

hello all:

      I used wx.gizmos in my scripts,but how can i not show the header.
I guess it style is " wx.TR_NO_HEADER " ,but erro,how can i do? follow
is scripts

I don't think that the TreeListCtrl supports hiding the headers.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!