]> git.saurik.com Git - wxWidgets.git/blame - wxPython/tests/widgets.cfg
added missing #includes
[wxWidgets.git] / wxPython / tests / widgets.cfg
CommitLineData
a8d55739 1[
0886039f 2['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''],
2f1189cf 3['wx', 'Button', '-1, "default"', 'w.SetDefault()'],
7d9f33e2 4['wx', 'Button', '-1, "larger font"', 'w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.NORMAL))\n\n\n'],
0b0849b5
RD
5['wx', 'Button', '-1, "normal"', ''],
6['wx', 'Button', '-1, "with a longer, longer label"', ''],
7['wx', 'Button', 'wx.ID_SAVE', ''],
2f1189cf 8['wx', 'CheckBox', '-1, "checkbox with longer label"', ''],
0b0849b5 9['wx', 'CheckBox', '-1, "checkbox"', ''],
a24dc1a8
RD
10['wx', 'CheckListBox', '-1, size=(100,-1), choices="one two three four five six seven eight".split()', ''],
11['wx', 'Choice', '-1, choices="one two three four five six seven eight".split()', ''],
2f1189cf
RD
12['wx', 'Choice', '-1, size=(50,-1), choices="one two three four five six seven eight".split()', ''],
13['wx', 'ComboBox', '-1, value="default", choices="one two three four five six seven eight".split()', ''],
14['wx', 'ComboBox', '-1, value="default", size=(75,-1), choices="one two three four five six seven eight".split()', ''],
ab4b69b9 15['wx', 'ComboBox', '-1, value="read-only", style=wx.CB_READONLY, choices="read-only one two three four five six seven eight".split()', ''],
6dc779e8
RD
16['wx', 'Gauge', '-1, 100', 'w.SetValue(40)'],
17['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', 'w.SetValue(60)'],
a24dc1a8 18['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''],
afacf84f 19['wx', 'ListCtrl', 'style=wx.LC_REPORT', 'w.InsertColumn(0, "Col1")\nw.InsertStringItem(0, "Item 0")\nw.InsertStringItem(0, "Item 1")\n#w.SetSizeHints((200,100))'],
6dc779e8 20['wx', 'ListCtrl', 'style=wx.LC_REPORT, size=(100,100)', 'w.InsertColumn(0, "Col1")\nw.InsertStringItem(0, "Item 0")\nw.InsertStringItem(0, "Item 1")\n#w.SetSizeHints((200,100))'],
df4192e3 21['wx', 'Notebook', '', 'p = wx.Panel(w)\np.SetMinSize((150,150))\nw.AddPage(p, "test")\n'],
0886039f 22['wx', 'Panel', 'size=(150,150)', ''],
0886039f 23['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''],
0b0849b5 24['wx', 'RadioBox', '-1, "label", majorDimension=2, choices="one two three four five six seven eight".split()', ''],
2f1189cf 25['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, choices="one two three four".split()', ''],
0b0849b5 26['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, majorDimension=2, choices="one two three four five six seven eight".split()', ''],
a24dc1a8 27['wx', 'RadioButton', '-1, "radio button"', ''],
0886039f
RD
28['wx', 'ScrollBar', '', ''],
29['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''],
a24dc1a8
RD
30['wx', 'Slider', '-1, 20, 0, 100', ''],
31['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)', ''],
a24dc1a8
RD
32['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS', ''],
33['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)', ''],
0886039f 34['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL', ''],
a24dc1a8 35['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS', ''],
0886039f
RD
36['wx', 'SpinButton', 'style=wx.SP_HORIZONTAL', ''],
37['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''],
38['wx', 'SpinCtrl', '', ''],
8d786745 39['wx', 'SpinCtrl', 'size=(50, -1)', ''],
0b0849b5
RD
40['wx', 'StaticBitmap', '-1, wx.Bitmap(testImage)', ''],
41['wx', 'StaticBitmap', '-1, wx.Bitmap(testImage), style=wx.SUNKEN_BORDER', ''],
8d786745
RD
42['wx', 'StaticBox', '-1, "a longer label"', ''],
43['wx', 'StaticBox', '-1, "label"', ''],
44['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''],
45['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''],
46['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''],
47['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
a24dc1a8 48['wx', 'StaticText', '-1, "normal"', ''],
98c09285 49['wx', 'StaticText', '-1, "normal"', 'w.SetLabel("This is a longer label")'],
0886039f
RD
50['wx', 'TextCtrl', '-1, "default"', ''],
51['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''],
52['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''],
d58faf6a 53['wx', 'TextCtrl', '-1, "some\\ndefault text\\n", size=(200, -1), style=wx.TE_MULTILINE', 'w.AppendText("Here is some more text\\n")'],
0886039f 54['wx', 'TreeCtrl', '', ''],
8d786745 55['wx.calendar', 'CalendarCtrl', '-1', ''],
a39c03f9 56['wx.calendar', 'CalendarCtrl', '-1', 'w.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL))\n'],
0b0849b5 57['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
644dcd57
RD
58['wx.grid', 'Grid', '', 'w.CreateGrid(5,5)\n'],
59['wx.grid', 'Grid', 'size=(400,200)', 'w.CreateGrid(100,50)\n'],
0b0849b5 60['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
a8d55739 61]