]> git.saurik.com Git - wxWidgets.git/blob - wxPython/misc/widgetLayoutTest.cfg
Must have valid colours for X11 popup window implementation
[wxWidgets.git] / wxPython / misc / widgetLayoutTest.cfg
1 [
2 ['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''],
3 ['wx', 'Button', '-1, "normal"', ''],
4 ['wx', 'Button', '-1, "with a longer, longer label"', ''],
5 ['wx', 'Button', '-1, "default"', 'w.SetDefault()'],
6 ['wx', 'CheckBox', '-1, "checkbox"', ''],
7 ['wx', 'CheckBox', '-1, "checkbox with longer label"', ''],
8 ['wx', 'CheckListBox', '-1, size=(100,-1), choices="one two three four five six seven eight".split()', ''],
9 ['wx', 'Choice', '-1, choices="one two three four five six seven eight".split()', ''],
10 ['wx', 'Choice', '-1, size=(50,-1), choices="one two three four five six seven eight".split()', ''],
11 ['wx', 'ComboBox', '-1, value="default", choices="one two three four five six seven eight".split()', ''],
12 ['wx', 'ComboBox', '-1, value="default", size=(75,-1), choices="one two three four five six seven eight".split()', ''],
13 ['wx', 'ComboBox', '-1, value="read-only", style=wx.CB_READONLY, choices="one two three four five six seven eight".split()', ''],
14 ['wx', 'Gauge', '-1, 100', 'w.SetValue(40)'],
15 ['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', 'w.SetValue(60)'],
16 ['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''],
17 ['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))'],
18 ['wx', 'Notebook', '', 'p = wx.Panel(w)\np.SetSizeHints((150,150))\nw.AddPage(p, "test")\n'],
19 ['wx', 'Panel', 'size=(150,150)', ''],
20 ['wx', 'RadioBox', '-1, "label", majorDimension=2, choices="one two three four five six seven eight".split()', ''],
21 ['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, majorDimension=2, choices="one two three four five six seven eight".split()', ''],
22 ['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''],
23 ['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, choices="one two three four".split()', ''],
24 ['wx', 'RadioButton', '-1, "radio button"', ''],
25 ['wx', 'ScrollBar', '', ''],
26 ['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''],
27 ['wx', 'Slider', '-1, 20, 0, 100', ''],
28 ['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)', ''],
29 ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS', ''],
30 ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)', ''],
31 ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL', ''],
32 ['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS', ''],
33 ['wx', 'SpinButton', 'style=wx.SP_HORIZONTAL', ''],
34 ['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''],
35 ['wx', 'SpinCtrl', '', ''],
36 ['wx', 'SpinCtrl', 'size=(50, -1)', ''],
37 ['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")', ''],
38 ['wx', 'StaticBox', '-1, "a longer label"', ''],
39 ['wx', 'StaticBox', '-1, "label"', ''],
40 ['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''],
41 ['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''],
42 ['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''],
43 ['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
44 ['wx', 'StaticText', '-1, "normal"', ''],
45 ['wx', 'StaticText', '-1, "normal"', 'w.SetLabel("This is a longer label")'],
46 ['wx', 'TextCtrl', '-1, "default"', ''],
47 ['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''],
48 ['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''],
49 ['wx', 'TextCtrl', '-1, "some\\ndefault text\\n", size=(200, -1), style=wx.TE_MULTILINE', 'w.AppendText("Here is some more text\\n")'],
50 ['wx', 'TreeCtrl', '', ''],
51 ['wx.calendar', 'CalendarCtrl', '-1', ''],
52 ['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
53 ['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\rw.SetFont(f)\r'],
54 ]