Events of Gizmos.TreeListCtrl

Hello,

unfortunalty I was not able to figure out witch events are available for the Gizmos TreeListCtrl. I've looked at the wxpython api and searched with google, but without luck. Can somebody please give me a hint how I can get this informations ?

I'm specially looking for a event which is fired when I click on a column header of the control. I'll try to sort the tree depending on the selected column. I'm not sure if this is available. Maybe there is another control which looks like a Treelist and where I can add some colums with event bindings.

Thanks in advance
Jürgen

It is possible:
TreeListCtrl is a combination of TreeCtrl and ListCtrl:

so EVT_LIST_COL_CLICK (ListCtrl event) is also available.

If you add for instance:

self.tree.Bind(wx.EVT_LIST_COL_CLICK, self.OnHeaderClick, id = -1)

(I tried it in demo).

···

On Tue, 13 Dec 2005 16:32:36 +0100, Jürgen Kareta <python@kareta.de> wrote:

Hello,

unfortunalty I was not able to figure out witch events are available for
the Gizmos TreeListCtrl. I've looked at the wxpython api and searched
with google, but without luck. Can somebody please give me a hint how I
can get this informations ?

I'm specially looking for a event which is fired when I click on a
column header of the control. I'll try to sort the tree depending on the
selected column. I'm not sure if this is available. Maybe there is
another control which looks like a Treelist and where I can add some
colums with event bindings.

--
Franz Steinhaeusler

Hi Franz,

thanks a lot.

Jürgen