I´m new to wxpython , however I´m designing a really big application, the only thing that tickles me off is that the wx.ScrolledWindow wrapper, What I can do to scroll the window with the mousewheel?
I Don´t like much the scroll with only focus the bar, That is unnatural for the user.
Thanks For the attention!
here is a little piece…
class Man_at_files(wx.Frame):####dont pay attention to this bad Indent###
def __init__(self,parent):
super(Man_at_files, self).__init__(None,pos =(10,50), style = wx.MINIMIZE_BOX | wx.SYSTEM_MENU | wx.CAPTION|wx.CLOSE_BOX)
self.parent = parent
self.FrameUI()
self.SetTitle('Files added')
self.SetSize((350,600))
self.Show()
def FrameUI(self):
bmp = wx.Bitmap("img/close.png", wx.BITMAP_TYPE_ANY)
panel = wx.ScrolledWindow(self,-1,style = wx.VSCROLL)
panel.SetScrollbars(0, 1, 0, 1)
panel.SetScrollRate( 1, 1 )
box = wx.BoxSizer(wx.VERTICAL)
bmp3 = wx.Image('img/file_man.png', wx.BITMAP_TYPE_ANY).ConvertToBitmap()
#####buttons,text,whatever######
panel.SetSizer(box)