Hello everyone,i really need help with this big problem(to me its big).The project am writing requires a panel to display its current status information on.I figured that i will need to make that panel
scrollable because it will contain multiple lines of the text.My problem is i do not know how to use the scrolledpanel widget as this is the only widget i know of that can do this.please i really need help here or if there are other methods of implementing this,i 'd love to know..Thanks in advance
Jump to Post
Here is an example of how one works:
import wx import wx.lib.scrolledpanel as scrolled class TestPanel(scrolled.ScrolledPanel): def __init__(self, parent): scrolled.ScrolledPanel.__init__(self, parent, -1) vbox = wx.BoxSizer(wx.VERTICAL) desc = wx.StaticText(self, -1, "ScrolledPanel extends wx.ScrolledWindow, adding all " "the necessary bits to set up scroll handling for you.\n\n" "Here are …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.