2004-05-03 13:13:48 -04:00
|
|
|
[
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''],
|
2004-05-15 15:25:03 -04:00
|
|
|
['wx', 'Button', '-1, "normal"', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'Button', '-1, "with a longer, longer label"', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx', 'Button', '-1, "default"', 'w.SetDefault()'],
|
2004-06-24 16:25:53 -04:00
|
|
|
['wx', 'Button', '-1, "larger font"', 'w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.NORMAL))\n\n\n'],
|
2004-05-15 15:25:03 -04:00
|
|
|
['wx', 'CheckBox', '-1, "checkbox"', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx', 'CheckBox', '-1, "checkbox with longer label"', ''],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'CheckListBox', '-1, size=(100,-1), choices="one two three four five six seven eight".split()', ''],
|
|
|
|
['wx', 'Choice', '-1, choices="one two three four five six seven eight".split()', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx', 'Choice', '-1, size=(50,-1), choices="one two three four five six seven eight".split()', ''],
|
|
|
|
['wx', 'ComboBox', '-1, value="default", choices="one two three four five six seven eight".split()', ''],
|
|
|
|
['wx', 'ComboBox', '-1, value="default", size=(75,-1), choices="one two three four five six seven eight".split()', ''],
|
2005-02-03 17:37:08 -05:00
|
|
|
['wx', 'ComboBox', '-1, value="read-only", style=wx.CB_READONLY, choices="read-only one two three four five six seven eight".split()', ''],
|
2004-05-06 13:34:02 -04:00
|
|
|
['wx', 'Gauge', '-1, 100', 'w.SetValue(40)'],
|
|
|
|
['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', 'w.SetValue(60)'],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''],
|
2004-08-25 15:38:24 -04:00
|
|
|
['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))'],
|
2004-05-06 13:34:02 -04:00
|
|
|
['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))'],
|
2004-12-08 16:51:07 -05:00
|
|
|
['wx', 'Notebook', '', 'p = wx.Panel(w)\np.SetMinSize((150,150))\nw.AddPage(p, "test")\n'],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'Panel', 'size=(150,150)', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx', 'RadioBox', '-1, "label", majorDimension=2, choices="one two three four five six seven eight".split()', ''],
|
|
|
|
['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, majorDimension=2, choices="one two three four five six seven eight".split()', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, choices="one two three four".split()', ''],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'RadioButton', '-1, "radio button"', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'ScrollBar', '', ''],
|
|
|
|
['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'Slider', '-1, 20, 0, 100', ''],
|
|
|
|
['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)', ''],
|
|
|
|
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS', ''],
|
|
|
|
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL', ''],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'SpinButton', 'style=wx.SP_HORIZONTAL', ''],
|
|
|
|
['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''],
|
|
|
|
['wx', 'SpinCtrl', '', ''],
|
2004-05-15 15:25:03 -04:00
|
|
|
['wx', 'SpinCtrl', 'size=(50, -1)', ''],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")', ''],
|
2004-05-15 15:25:03 -04:00
|
|
|
['wx', 'StaticBox', '-1, "a longer label"', ''],
|
|
|
|
['wx', 'StaticBox', '-1, "label"', ''],
|
|
|
|
['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''],
|
|
|
|
['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''],
|
|
|
|
['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''],
|
|
|
|
['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
|
2004-05-03 18:58:59 -04:00
|
|
|
['wx', 'StaticText', '-1, "normal"', ''],
|
2004-05-03 19:06:48 -04:00
|
|
|
['wx', 'StaticText', '-1, "normal"', 'w.SetLabel("This is a longer label")'],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'TextCtrl', '-1, "default"', ''],
|
|
|
|
['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''],
|
|
|
|
['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''],
|
2004-05-04 14:12:48 -04:00
|
|
|
['wx', 'TextCtrl', '-1, "some\\ndefault text\\n", size=(200, -1), style=wx.TE_MULTILINE', 'w.AppendText("Here is some more text\\n")'],
|
2004-05-04 02:39:51 -04:00
|
|
|
['wx', 'TreeCtrl', '', ''],
|
2004-05-15 15:25:03 -04:00
|
|
|
['wx.calendar', 'CalendarCtrl', '-1', ''],
|
2004-05-18 16:14:14 -04:00
|
|
|
['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
|
2004-06-30 17:50:28 -04:00
|
|
|
['wx.calendar', 'CalendarCtrl', '-1', 'w.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL))\n'],
|
2004-06-15 22:21:31 -04:00
|
|
|
['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
|
2004-08-27 19:12:24 -04:00
|
|
|
['wx.grid', 'Grid', '', 'w.CreateGrid(5,5)\n'],
|
|
|
|
['wx.grid', 'Grid', 'size=(400,200)', 'w.CreateGrid(100,50)\n'],
|
2004-05-03 13:13:48 -04:00
|
|
|
]
|