List of choices : Choice : WxPython PYTHON TUTORIALS


PYTHON TUTORIALS » WxPython » Choice »

 

List of choices


List of choices
import wx

class ChoiceFrame(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(self, None, -1'Choice Example', size=(250200))
        panel = wx.Panel(self, -1)
        sampleList = ['0''1''2''3']
        wx.StaticText(panel, -1"Select one:"(1520))
        wx.Choice(panel, -1(8518), choices=sampleList)

app = wx.PySimpleApp()
ChoiceFrame().Show()
app.MainLoop()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo WxPython
» Choice