EVT_DATAVIEW_ITEM_CONTEXT_MENU with python

Hi everyone,

I’m new, I started one week ago with wx and I learned a lot by myself and google.
But I’m block now and I don’t know why.

I found this example to create a context menu :
http://zetcode.com/wxpython/menustoolbars/
I would like to create a context menu on a wxdataviewlist.
It works when I do the right click, I can see my neu but I can’t have access to my daraview

self.dataViewListCtrl1.Bind(wx.dataview.EVT_DATAVIEW_ITEM_CONTEXT_MENU,
self.OnRightDown)
maybe because it’s in a different class … don’t know I a bit lost.

I tried to do MyFrame. DataViewListCtrl1 but it doesn’t work.
I’ve no idea why !

If someone have an idea, thank you for your help

I managed, maybe not amazing method … I just create a text file to pass some data. At least it works