mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Add support for `HeaderCtrl` and its friends in the documentation builder (snippets added). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
14 lines
484 B
Python
14 lines
484 B
Python
|
|
def ColumnItems(self):
|
|
|
|
menu = wx.Menu()
|
|
menu.Append(100, "Some custom command")
|
|
menu.AppendSeparator()
|
|
self.AddColumnsItems(menu, 200)
|
|
rc = self.GetPopupMenuSelectionFromUser(menu, pt)
|
|
|
|
if rc >= 200:
|
|
# ... toggle visibility of the column rc-200 ...
|
|
ToggleVisibility()
|
|
|