Added ability to execute more code after the widget is created

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-03 22:58:59 +00:00
parent d1bb3e121f
commit a24dc1a836
2 changed files with 89 additions and 52 deletions

View File

@@ -1,38 +1,40 @@
[
['wx', 'Button', '-1, "normal"'],
['wx', 'Button', '-1, "with a longer, longer label"'],
['wx', 'Button', '-1, "sized", size=(200,100)'],
['wx', 'CheckBox', '-1, "checkbox"'],
['wx', 'CheckBox', '-1, "checkbox with longer label"'],
['wx', 'TextCtrl', '-1, "default"'],
['wx', 'TextCtrl', '-1, "small", size=(30,-1)'],
['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)'],
['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")'],
['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")'],
['wx.calendar', 'CalendarCtrl', '-1'],
['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()'],
['wx', 'ComboBox', '-1, choices="one two three four five six seven eight".split(), value="default"'],
['wx', 'Gauge', '-1, 100'],
['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL'],
['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()'],
['wx', 'ListCtrl', ''],
['wx', 'TreeCtrl', ''],
['wx', 'ScrollBar', ''],
['wx', 'ScrollBar', 'style=wx.SB_VERTICAL'],
['wx', 'SpinButton', ''],
['wx', 'SpinButton', 'style=wx.SP_VERTICAL'],
['wx', 'SpinCtrl', ''],
['wx', 'StaticText', '-1, "static text"'],
['wx', 'RadioBox', '-1, "label", choices="one two three four".split()'],
['wx', 'RadioBox', '-1, "label", choices="one two three four".split(), style=wx.RA_VERTICAL'],
['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), majorDimension=2'],
['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), style=wx.RA_VERTICAL, majorDimension=2'],
['wx', 'RadioButton', '-1, "radio button"'],
['wx', 'Slider', '-1, 20, 0, 100'],
['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)'],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL'],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS'],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)'],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS'],
['wx', 'Button', '-1, "normal"', ''],
['wx', 'Button', '-1, "with a longer, longer label"', ''],
['wx', 'Button', '-1, "sized", size=(200,100)', ''],
['wx', 'CheckBox', '-1, "checkbox"', ''],
['wx', 'CheckBox', '-1, "checkbox with longer label"', ''],
['wx', 'TextCtrl', '-1, "default"', ''],
['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''],
['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''],
['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''],
['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")', ''],
['wx.calendar', 'CalendarCtrl', '-1', ''],
['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()', ''],
['wx', 'ComboBox', '-1, choices="one two three four five six seven eight".split(), value="default"', ''],
['wx', 'Gauge', '-1, 100', ''],
['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', ''],
['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''],
['wx', 'ListCtrl', '', ''],
['wx', 'TreeCtrl', '', ''],
['wx', 'ScrollBar', '', ''],
['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''],
['wx', 'SpinButton', '', ''],
['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''],
['wx', 'SpinCtrl', '', ''],
['wx', 'StaticText', '-1, "static text"', ''],
['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''],
['wx', 'RadioBox', '-1, "label", choices="one two three four".split(), style=wx.RA_VERTICAL', ''],
['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), majorDimension=2', ''],
['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), style=wx.RA_VERTICAL, majorDimension=2', ''],
['wx', 'RadioButton', '-1, "radio button"', ''],
['wx', 'Slider', '-1, 20, 0, 100', ''],
['wx', 'Slider', '-1, 20, 0, 100, size=(400, -1)', ''],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL', ''],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS', ''],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_LABELS, size=(400,-1)', ''],
['wx', 'Slider', '-1, 20, 0, 100, style=wx.SL_VERTICAL|wx.SL_LABELS', ''],
['wx', 'Panel', 'size=(150,150)', ''],
['wx', 'StaticText', '-1, "normal"', ''],
]