]>
Commit | Line | Data |
---|---|---|
a8d55739 | 1 | [ |
0886039f | 2 | ['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''], |
a24dc1a8 | 3 | ['wx', 'Button', '-1, "normal"', ''], |
0bdcd2f5 | 4 | ['wx', 'Button', '-1, "default"', 'w.SetDefault()'], |
0886039f RD |
5 | ['wx', 'Button', '-1, "with a longer, longer label"', ''], |
6 | ['wx.calendar', 'CalendarCtrl', '-1', ''], | |
a24dc1a8 RD |
7 | ['wx', 'CheckBox', '-1, "checkbox"', ''], |
8 | ['wx', 'CheckBox', '-1, "checkbox with longer label"', ''], | |
a24dc1a8 RD |
9 | ['wx', 'CheckListBox', '-1, size=(100,-1), choices="one two three four five six seven eight".split()', ''], |
10 | ['wx', 'Choice', '-1, choices="one two three four five six seven eight".split()', ''], | |
11 | ['wx', 'ComboBox', '-1, choices="one two three four five six seven eight".split(), value="default"', ''], | |
6dc779e8 RD |
12 | ['wx', 'Gauge', '-1, 100', 'w.SetValue(40)'], |
13 | ['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', 'w.SetValue(60)'], | |
a24dc1a8 | 14 | ['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''], |
6dc779e8 | 15 | ['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))'], |
0886039f RD |
16 | ['wx', 'Notebook', '', 'p = wx.Panel(w)\np.SetSizeHints((150,150))\nw.AddPage(p, "test")\n'], |
17 | ['wx', 'Panel', 'size=(150,150)', ''], | |
a24dc1a8 RD |
18 | ['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), majorDimension=2', ''], |
19 | ['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), style=wx.RA_VERTICAL, majorDimension=2', ''], | |
0886039f RD |
20 | ['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''], |
21 | ['wx', 'RadioBox', '-1, "label", choices="one two three four".split(), style=wx.RA_VERTICAL', ''], | |
a24dc1a8 | 22 | ['wx', 'RadioButton', '-1, "radio button"', ''], |
0886039f RD |
23 | ['wx', 'ScrollBar', '', ''], |
24 | ['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''], | |
a24dc1a8 RD |
25 | ['wx', 'Slider', '-1, 20, 0, 100', ''], |
26 | ['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)', ''], | |
a24dc1a8 RD |
27 | ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS', ''], |
28 | ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)', ''], | |
0886039f | 29 | ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL', ''], |
a24dc1a8 | 30 | ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS', ''], |
0886039f RD |
31 | ['wx', 'SpinButton', 'style=wx.SP_HORIZONTAL', ''], |
32 | ['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''], | |
33 | ['wx', 'SpinCtrl', '', ''], | |
34 | ['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")', ''], | |
a24dc1a8 | 35 | ['wx', 'StaticText', '-1, "normal"', ''], |
98c09285 | 36 | ['wx', 'StaticText', '-1, "normal"', 'w.SetLabel("This is a longer label")'], |
0886039f RD |
37 | ['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'], |
38 | ['wx', 'TextCtrl', '-1, "default"', ''], | |
39 | ['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''], | |
40 | ['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''], | |
d58faf6a | 41 | ['wx', 'TextCtrl', '-1, "some\\ndefault text\\n", size=(200, -1), style=wx.TE_MULTILINE', 'w.AppendText("Here is some more text\\n")'], |
0886039f RD |
42 | ['wx', 'TreeCtrl', '', ''], |
43 | ['wx', 'StaticBox', '-1, "label"', ''], | |
44 | ['wx', 'StaticBox', '-1, "a longer label"', ''], | |
45 | ['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''], | |
46 | ['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''], | |
47 | ['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''], | |
a8d55739 | 48 | ] |