Skip to content Skip to sidebar Skip to footer

Creating Scrolledwindow In Wxpython

I am trying to make a ScrolledWindow that can scroll over a grid of images, but the scrollbar isn't appearing. wxWidgets documentation says: The most automatic and newest way [to

Solution 1:

Insert this

self.panel.SetScrollbars(1, 1, 1, 1)

after self.panel = wx.ScrolledWindow(self,wx.ID_ANY)

If you want some info on the SetScrollBars method then look at this wxwidgets documentation page

Post a Comment for "Creating Scrolledwindow In Wxpython"