Re: How do I disable mousewheel scrolling?
Lawrence Gray <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <CAJFU_KqJzhjH36ZpVU510rajKMn1sJwa7nbDgPMmosGA02LoxQ@mail.gmail.com> |
Thank you for replying. That was actually my first thought but I couldn't implement it and still seem unable to do so. None of the wxPython demo programs provides the necessary insight for me. Event handling is still a mystery I am trying to come to grips with. If you could provide more detail, it would be greatly appreciated. As I am currently using wxGlade to generate the GUI code and trying to keep any business code separate from the GUI code I would ultimately prefer to implement a solution within the confines of the wxGlade project, but if that is not feasible, I will have to move out of my comfort zone. I am attaching my wxGlade project file and the code it generates for anyone so inclined to look at it. I am using wxGlade v0.9.6, python3.5.2 and wxPython4.0.3 Regards -- ------------------------------ *Lawrence Gray * ------------------------------ On Fri, 19 Jun 2020 at 05:08, Steve Barnes <[email protected]> wrote: > Rather than attempting to Disable mouse wheel scrolling you simply add a > handler, to the controls that you don’t want to react to the mouse wheel, > for EVT_MOUSEWHEEL which just does nothing. Then when those controls have > focus nothing happens on mouse wheel events. > > > > Hope that helps. > > > > Steve Barnes > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Lawrence Gray > *Sent:* 18 June 2020 18:14 > *To:* [email protected] > *Subject:* [wxPython-users] How do I disable mousewheel scrolling? > > > > I have created a simple application part of which incorporates a number > (10) of choice elements in a horizontal sizer . These are displayed above a > listCtrl and have their width resized to match the widths of the columns in > the listCtrl. They effectively form headers for the listCtrl data. The > selection in each choice box controls the disposition of the data in that > column in subsequent processing. The selection list in all of the choice > controls are identical. Some of the selection choices must be unique for > the data presented in the listCtrl, ie. no two columns can have identical > selections. Some selection choices are allowed multiple times and some > selection choices are mutually exclusive. For example, if one column is > labelled "Date", which logically should be unique for my purpose, and > another column choice selection is set to "Date", the previous column is > reset to the default value "--NA--", which means that column data is mow > ignored. > > > > My problem is that when I make a choice selection in one column and > inadvertently or purposely scroll the mouse wheel, the choice selections in > other columns are quickly altered as the choice selection list is scrolled, > creating havoc. > > > > My question is, how do I disable mouse wheel scrolling of the selection > list, after making my selection? Is this to the best or only way to get > around the problem? What about, after making a selection, altering the > focus to the listCtrl, where scrolling of the mouse wheel would not matter? > > > > This is my first attempt at creating any GUI application. I am using > wxPython in conjunction with wxGlade. > > > > Any advice is appreciated. > > > Regards > -- > ------------------------------ > > *Lawrence Gray* > ------------------------------ > > -- > You received this message because you are subscribed to the Google Groups > "wxPython-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/wxpython-users/CAJFU_KpgTZ-O8Rt5CTex%3DyEH0HA0xh_BO%2B6wpV_tKpscLaFZvg%40mail.gmail.com > <https://groups.google.com/d/msgid/wxpython-users/CAJFU_KpgTZ-O8Rt5CTex%3DyEH0HA0xh_BO%2B6wpV_tKpscLaFZvg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to the Google Groups > "wxPython-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB447915C53481DA6B0FA968739B980%40VI1PR03MB4479.eurprd03.prod.outlook.com > <https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB447915C53481DA6B0FA968739B980%40VI1PR03MB4479.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CAJFU_KqJzhjH36ZpVU510rajKMn1sJwa7nbDgPMmosGA02LoxQ%40mail.gmail.com.
FileSummary_GUI.py
(text/x-python, 19.7 KB)
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 0.9.6 on Fri Jun 19 11:03:16 2020 from "D:\Lawrence Gray\My Documents\Python\Financial Summary\FileSummaryGUI with scrolled panel.wxg"
#
import wx
import wx.grid
# begin wxGlade: dependencies
# end wxGlade
# begin wxGlade: extracode
import wx.lib.scrolledpanel as scrolled
from wx import MouseEvent as ME
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb
import os, sys
import wx.lib.agw.multidirdialog as MDD
import pickle
import wx.adv
from wx.lib.wordwrap import wordwrap
#extra file dialog code-----------------------------------------------------
# Pre-establish a file filter for the file dialog
# only shows the extension(s) you want it to.
wildcard = "Transaction data (*.csv)|*.csv|" "Text files (*.txt)|*.txt|" "All files (*.*)|*.*"
#---------------------------------------------------------------------------
# end wxGlade
class TransactionFrame(wx.Frame):
def __init__(self, *args, **kwds):
# begin wxGlade: TransactionFrame.__init__
kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE
wx.Frame.__init__(self, *args, **kwds)
self.SetSize((874, 994))
# Start of MenuBar Pre-fabrication Code
# End of MenuBar Pre-fabrication Code
# Menu Bar
self.frame_menubar = wx.MenuBar()
wxglade_tmp_menu = wx.Menu()
self.frame_menubar.i_open = wxglade_tmp_menu.Append(wx.ID_ANY, "&Select Files", "Select transaction files to input list")
self.Bind(wx.EVT_MENU, self.on_menu_File_Open, id=self.frame_menubar.i_open.GetId())
self.frame_menubar.i_select = wxglade_tmp_menu.Append(wx.ID_ANY, "Select &Dir", "Select a working directory for selection of files")
self.Bind(wx.EVT_MENU, self.on_menu_Select_Dir, id=self.frame_menubar.i_select.GetId())
self.frame_menubar.i_saveproject = wxglade_tmp_menu.Append(wx.ID_ANY, "Save Project", "Save the current workspace as a project for further additions/changes")
self.Bind(wx.EVT_MENU, self.on_menu_Save_Project, id=self.frame_menubar.i_saveproject.GetId())
self.frame_menubar.i_restore_project = wxglade_tmp_menu.Append(wx.ID_ANY, "Restore Project", "Restore a saved project for further processing")
self.Bind(wx.EVT_MENU, self.on_menu_Restore_Project, id=self.frame_menubar.i_restore_project.GetId())
self.frame_menubar.i_save = wxglade_tmp_menu.Append(wx.ID_ANY, "&Save Output", "Save an output file based on the current worksheet")
self.Bind(wx.EVT_MENU, self.on_menu_File_Save, id=self.frame_menubar.i_save.GetId())
self.frame_menubar.i_saveas = wxglade_tmp_menu.Append(wx.ID_ANY, "Save&As", "Save file with another name")
self.Bind(wx.EVT_MENU, self.on_menu_File_SaveAs, id=self.frame_menubar.i_saveas.GetId())
wxglade_tmp_menu.AppendSeparator()
item = wxglade_tmp_menu.Append(wx.ID_ANY, "Exit", "Exit Application")
self.Bind(wx.EVT_MENU, self.on_menu_File_Exit, id=item.GetId())
self.frame_menubar.Append(wxglade_tmp_menu, "File")
wxglade_tmp_menu = wx.Menu()
self.frame_menubar.i_view = wxglade_tmp_menu.Append(wx.ID_ANY, "View", "Just a test entry")
self.Bind(wx.EVT_MENU, self.on_menu_Check_View, id=self.frame_menubar.i_view.GetId())
self.frame_menubar.Append(wxglade_tmp_menu, "Check")
wxglade_tmp_menu = wx.Menu()
self.frame_menubar.i_About = wxglade_tmp_menu.Append(wx.ID_ANY, "&About", "Show information about this application")
self.Bind(wx.EVT_MENU, self.on_menu_About, id=self.frame_menubar.i_About.GetId())
self.frame_menubar.Append(wxglade_tmp_menu, "About")
self.SetMenuBar(self.frame_menubar)
# Menu Bar end
# Start of MenuBar Post-fabrication Code
# End of MenuBar Post-fabrication Code
self.frame_statusbar = self.CreateStatusBar(1)
self.panel = wx.Panel(self, wx.ID_ANY)
self.label_3 = wx.StaticText(self.panel, wx.ID_ANY, "Current Working Directory", style=wx.ALIGN_LEFT | wx.ST_ELLIPSIZE_END)
self.list_ctrl_1 = wx.ListCtrl(self.panel, wx.ID_ANY, style=wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES)
#
# begin list_ctrl_1 post init code ----
# self.list_ctrl_1.SetAlternateRowColour(wx.Colour(215,215,215,255))
# self.list_ctrl_1.EnableAlternateRowColours(enable=True)
# the above line always generates an error
'''
I cannot make alternate row colouring work. with the above or with SetAlternateRowColour
'''
self.list_ctrl_1.counter = 0
# end list_ctrl_1 post init code ------
#
self.label_4 = wx.StaticText(self.panel, wx.ID_ANY, "Current Working File", style=wx.ALIGN_LEFT | wx.ST_ELLIPSIZE_END)
self.panel_1 = wx.ScrolledWindow(self.panel, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
#
# start panel_1 post init code -----
self.panel_1.Destroy()
self.panel_1 = scrolled.ScrolledPanel(self.panel, wx.ID_ANY, style=wx.TAB_TRAVERSAL)
self.panel_1.SetupScrolling(1,1,10,10,1,1)
self.panel_1.choice_resize_state = 1
# end panel_1 post init code -----
#
self.choice_1 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amounts", "-Amounts", "--NA--"])
self.choice_1.name = "choice_1"
# self.BIND(wx.EVT_MOUSEWHEEL, self.i_on_MOUSEWHEEL, self.choice_1)
self.choice_2 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_2.name = "choice_2"
self.choice_3 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_4 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_5 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_6 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_7 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_8 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_9 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.choice_10 = wx.Choice(self.panel_1, wx.ID_ANY, choices=["ID", "Account", "Date", "Description", "Debits", "Credits", "Amount", "-Amount", "--NA--"])
self.list_ctrl_2 = wx.ListCtrl(self.panel_1, wx.ID_ANY, style=wx.FULL_REPAINT_ON_RESIZE | wx.LC_HRULES | wx.LC_NO_HEADER | wx.LC_REPORT | wx.LC_VRULES)
#
# start list_ctrl_2 post init code -----
# self.list_ctrl_2.ShowScrollbars(wx.SHOW_SB_NEVER)
'''
This doesn't work. How do I (can I) control the visibility of the horizontal scroll bar?
'''
# end list_ctrl_2 post init code -------
#
self.grid_1 = wx.grid.Grid(self.panel, wx.ID_ANY, size=(1, 1))
self.__set_properties()
self.__do_layout()
self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.i_OnListItemSelected, self.list_ctrl_1)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_1, self.choice_1)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_2, self.choice_2)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_3, self.choice_3)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_4, self.choice_4)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_5, self.choice_5)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_6, self.choice_6)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_7, self.choice_7)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_8, self.choice_8)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_9, self.choice_9)
self.Bind(wx.EVT_CHOICE, self.i_on_EVT_CHOICE_10, self.choice_10)
self.Bind(wx.EVT_LIST_COL_END_DRAG, self.i_OnColEndDrag, self.list_ctrl_2)
self.Bind(wx.EVT_LIST_ITEM_RIGHT_CLICK, self.i_OnItemRightClick, self.list_ctrl_2)
self.Bind(wx.grid.EVT_GRID_CMD_CELL_CHANGED, self.i_Cell_Changed, self.grid_1)
self.Bind(wx.grid.EVT_GRID_CMD_CELL_LEFT_DCLICK, self.i_Left_DClick, self.grid_1)
self.Bind(wx.grid.EVT_GRID_CMD_CELL_RIGHT_DCLICK, self.i_Right_DClick, self.grid_1)
# end wxGlade
def __set_properties(self):
# begin wxGlade: TransactionFrame.__set_properties
self.SetTitle("Financial Transaction Summary Worksheet")
self.SetFont(wx.Font(12, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, 0, ""))
self.frame_statusbar.SetStatusWidths([-1])
# statusbar fields
frame_statusbar_fields = ["frame_statusbar"]
for i in range(len(frame_statusbar_fields)):
self.frame_statusbar.SetStatusText(frame_statusbar_fields[i], i)
self.label_3.SetFont(wx.Font(9, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_BOLD, 0, ""))
self.label_3.SetLabel(os.getcwd())
self.list_ctrl_1.SetToolTip("Left click on a line to select the file and display the data records below.\n")
self.list_ctrl_1.AppendColumn("A", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_1.AppendColumn("B", format=wx.LIST_FORMAT_LEFT, width=125)
self.list_ctrl_1.AppendColumn("C", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_1.AppendColumn("D", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_1.AppendColumn("E", format=wx.LIST_FORMAT_LEFT, width=-1)
self.label_4.SetFont(wx.Font(9, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_BOLD, 0, ""))
self.choice_1.SetMinSize((85, 27))
self.choice_1.SetToolTip("Select an item that best describes the data in the column below.")
self.choice_1.SetSelection(8)
self.choice_2.SetMinSize((85, 27))
self.choice_2.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_2.SetSelection(8)
self.choice_3.SetMinSize((85, 27))
self.choice_3.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_3.SetSelection(8)
self.choice_4.SetMinSize((85, 27))
self.choice_4.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_4.SetSelection(8)
self.choice_5.SetMinSize((85, 27))
self.choice_5.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_5.SetSelection(8)
self.choice_6.SetMinSize((85, 27))
self.choice_6.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_6.SetSelection(8)
self.choice_7.SetMinSize((85, 27))
self.choice_7.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_7.SetSelection(8)
self.choice_8.SetMinSize((85, 27))
self.choice_8.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_8.SetSelection(8)
self.choice_9.SetMinSize((85, 27))
self.choice_9.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_9.SetSelection(8)
self.choice_10.SetMinSize((85, 27))
self.choice_10.SetToolTip("Select an item that best describes the data in the column below.\n")
self.choice_10.SetSelection(8)
self.list_ctrl_2.SetMinSize((1500, 100))
self.list_ctrl_2.SetToolTip("Right click on a line to indicate the first valid line of data in the file. This generally follows a line of column headers if one exists.")
self.list_ctrl_2.AppendColumn("A", format=wx.LIST_FORMAT_LEFT, width=0)
self.list_ctrl_2.AppendColumn("B", format=wx.LIST_FORMAT_LEFT, width=0)
self.list_ctrl_2.AppendColumn("C", format=wx.LIST_FORMAT_LEFT, width=0)
self.list_ctrl_2.AppendColumn("D", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_2.AppendColumn("E", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_2.AppendColumn("F", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_2.AppendColumn("G", format=wx.LIST_FORMAT_LEFT, width=-1)
self.list_ctrl_2.AppendColumn("H", format=wx.LIST_FORMAT_LEFT, width=-1)
self.panel_1.SetScrollRate(10, 10)
self.grid_1.CreateGrid(10, 10)
self.grid_1.Enable(False)
self.grid_1.Hide()
# end wxGlade
def __do_layout(self):
# begin wxGlade: TransactionFrame.__do_layout
sizer_3 = wx.BoxSizer(wx.HORIZONTAL)
sizer_7 = wx.BoxSizer(wx.VERTICAL)
self.sizer_5 = wx.BoxSizer(wx.VERTICAL)
self.sizer_1 = wx.BoxSizer(wx.HORIZONTAL)
sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
sizer_2 = wx.BoxSizer(wx.HORIZONTAL)
label_1 = wx.StaticText(self.panel, wx.ID_ANY, "Working Directory >>>", style=wx.ALIGN_RIGHT)
label_1.SetFont(wx.Font(12, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, 0, ""))
sizer_2.Add(label_1, 1, wx.ALIGN_BOTTOM | wx.ALIGN_CENTER | wx.ALL, 4)
sizer_2.Add(self.label_3, 4, wx.ALIGN_CENTER | wx.ALL, 4)
sizer_7.Add(sizer_2, 0, wx.ALL | wx.EXPAND, 4)
sizer_7.Add(self.list_ctrl_1, 2, wx.ALL | wx.EXPAND, 2)
label_2 = wx.StaticText(self.panel, wx.ID_ANY, "Current File >>>", style=wx.ALIGN_RIGHT)
label_2.SetFont(wx.Font(12, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, 0, ""))
sizer_4.Add(label_2, 1, wx.ALL, 4)
sizer_4.Add(self.label_4, 4, wx.ALIGN_CENTER | wx.ALL, 4)
sizer_7.Add(sizer_4, 0, wx.EXPAND, 0)
self.sizer_1.Add(self.choice_1, 0, wx.FIXED_MINSIZE | wx.LEFT, 2)
self.sizer_1.Add(self.choice_2, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_3, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_4, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_5, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_6, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_7, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_8, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_9, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_1.Add(self.choice_10, 0, wx.ALL | wx.FIXED_MINSIZE, 0)
self.sizer_5.Add(self.sizer_1, 0, wx.ALL, 2)
self.sizer_5.Add(self.list_ctrl_2, 1, wx.ALL | wx.EXPAND, 2)
self.panel_1.SetSizer(self.sizer_5)
sizer_7.Add(self.panel_1, 3, wx.EXPAND | wx.FIXED_MINSIZE, 0)
sizer_7.Add(self.grid_1, 1, wx.ALL | wx.EXPAND, 2)
self.panel.SetSizer(sizer_7)
sizer_3.Add(self.panel, 1, wx.EXPAND, 0)
self.SetSizer(sizer_3)
self.Layout()
self.Centre()
# end wxGlade
def on_menu_File_Open(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_File_Open' not implemented!")
event.Skip()
def on_menu_Select_Dir(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_Select_Dir' not implemented!")
event.Skip()
def on_menu_Save_Project(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_Save_Project' not implemented!")
event.Skip()
def on_menu_Restore_Project(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_Restore_Project' not implemented!")
event.Skip()
def on_menu_File_Save(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_File_Save' not implemented!")
event.Skip()
def on_menu_File_SaveAs(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_File_SaveAs' not implemented!")
event.Skip()
def on_menu_File_Exit(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_File_Exit' not implemented!")
event.Skip()
def on_menu_Check_View(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_Check_View' not implemented!")
event.Skip()
def on_menu_About(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'on_menu_About' not implemented!")
event.Skip()
def i_OnListItemSelected(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_OnListItemSelected' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_1(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_1' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_2(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_2' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_3(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_3' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_4(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_4' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_5(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_5' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_6(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_6' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_7(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_7' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_8(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_8' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_9(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_9' not implemented!")
event.Skip()
def i_on_EVT_CHOICE_10(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_on_EVT_CHOICE_10' not implemented!")
event.Skip()
def i_OnColEndDrag(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_OnColEndDrag' not implemented!")
event.Skip()
def i_OnItemRightClick(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_OnItemRightClick' not implemented!")
event.Skip()
def i_Cell_Changed(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_Cell_Changed' not implemented!")
event.Skip()
def i_Left_DClick(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_Left_DClick' not implemented!")
event.Skip()
def i_Right_DClick(self, event): # wxGlade: TransactionFrame.<event_handler>
print("Event handler 'i_Right_DClick' not implemented!")
event.Skip()
# end of class TransactionFrame
class MyApp(wx.App):
def OnInit(self):
self.frame = TransactionFrame(None, wx.ID_ANY, "")
self.SetTopWindow(self.frame)
self.frame.Show()
return True
# end of class MyApp
if __name__ == "__main__":
FileSummaryGUI = MyApp(0)
FileSummaryGUI.MainLoop()
FileSummaryGUI with scrolled panel.wxg
(application/octet-stream, 37.6 KB) - not displayed