]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-15/data.py
Added the sample code from wxPython In Action to the samples dir
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-15 / data.py
1
2 # Some sample data for the treectrl samples
3
4 tree = [
5 "wx.AcceleratorTable",
6 "wx.BrushList",
7 "wx.BusyInfo",
8 "wx.Clipboard",
9 "wx.Colour",
10 "wx.ColourData",
11 "wx.ColourDatabase",
12 "wx.ContextHelp",
13 ["wx.DC", [
14 "wx.ClientDC",
15 ["wx.MemoryDC", [
16 "wx.lib.colourchooser.canvas.BitmapBuffer",
17 ["wx.BufferedDC", [
18 "wx.BufferedPaintDC", ]]]],
19
20 "wx.MetaFileDC",
21 "wx.MirrorDC",
22 "wx.PaintDC",
23 "wx.PostScriptDC",
24 "wx.PrinterDC",
25 "wx.ScreenDC",
26 "wx.WindowDC",]],
27 "wx.DragImage",
28 "wx.Effects",
29 "wx.EncodingConverter",
30 ["wx.Event", [
31 "wx.ActivateEvent",
32 "wx.CalculateLayoutEvent",
33 "wx.CloseEvent",
34 ["wx.CommandEvent", [
35 "wx.calendar.CalendarEvent",
36 "wx.ChildFocusEvent",
37 "wx.ContextMenuEvent",
38 "wx.gizmos.DynamicSashSplitEvent",
39 "wx.gizmos.DynamicSashUnifyEvent",
40 "wx.FindDialogEvent",
41 "wx.grid.GridEditorCreatedEvent",
42 "wx.HelpEvent",
43 ["wx.NotifyEvent",[
44 ["wx.BookCtrlEvent", [
45 "wx.ListbookEvent",
46 "wx.NotebookEvent ",]],
47 "wx.grid.GridEvent",
48 "wx.grid.GridRangeSelectEvent",
49 "wx.grid.GridSizeEvent",
50 "wx.ListEvent",
51 "wx.SpinEvent",
52 "wx.SplitterEvent",
53 "wx.TreeEvent",
54 "wx.wizard.WizardEvent ",]],
55 ["wx.PyCommandEvent", [
56 "wx.lib.colourselect.ColourSelectEvent",
57 "wx.lib.buttons.GenButtonEvent",
58 "wx.lib.gridmovers.GridColMoveEvent",
59 "wx.lib.gridmovers.GridRowMoveEvent",
60 "wx.lib.intctrl.IntUpdatedEvent",
61 "wx.lib.masked.combobox.MaskedComboBoxSelectEvent",
62 "wx.lib.masked.numctrl.NumberUpdatedEvent",
63 "wx.lib.masked.timectrl.TimeUpdatedEvent ",]],
64 "wx.SashEvent",
65 "wx.ScrollEvent",
66 "wx.stc.StyledTextEvent",
67 "wx.TextUrlEvent",
68 "wx.UpdateUIEvent",
69 "wx.WindowCreateEvent",
70 "wx.WindowDestroyEvent ",]],
71 "wx.DisplayChangedEvent",
72 "wx.DropFilesEvent",
73 "wx.EraseEvent",
74 "wx.FocusEvent",
75 "wx.IconizeEvent",
76 "wx.IdleEvent",
77 "wx.InitDialogEvent",
78 "wx.JoystickEvent",
79 "wx.KeyEvent",
80 "wx.MaximizeEvent",
81 "wx.MenuEvent",
82 "wx.MouseCaptureChangedEvent",
83 "wx.MouseEvent",
84 "wx.MoveEvent",
85 "wx.NavigationKeyEvent",
86 "wx.NcPaintEvent",
87 "wx.PaintEvent",
88 "wx.PaletteChangedEvent",
89 "wx.ProcessEvent",
90 ["wx.PyEvent", [
91 "wx.lib.throbber.UpdateThrobberEvent ",]],
92 "wx.QueryLayoutInfoEvent",
93 "wx.QueryNewPaletteEvent",
94 "wx.ScrollWinEvent",
95 "wx.SetCursorEvent",
96 "wx.ShowEvent",
97 "wx.SizeEvent",
98 "wx.SysColourChangedEvent",
99 "wx.TaskBarIconEvent",
100 "wx.TimerEvent ",]],
101 ["wx.EvtHandler", [
102 "wx.lib.gridmovers.GridColMover",
103 "wx.lib.gridmovers.GridRowMover",
104 "wx.html.HtmlHelpController",
105 "wx.Menu",
106 "wx.Process",
107 ["wx.PyApp", [
108 ["wx.App", [
109 "wx.py.PyAlaCarte.App",
110 "wx.py.PyAlaMode.App",
111 "wx.py.PyAlaModeTest.App",
112 "wx.py.PyCrust.App",
113 "wx.py.PyShell.App",
114 ["wx.py.filling.App", [
115 "wx.py.PyFilling.App ",]],
116 ["wx.PySimpleApp", [
117 "wx.lib.masked.maskededit.test",]],
118 "wx.PyWidgetTester ",]]]],
119
120 "wx.TaskBarIcon",
121 ["wx.Timer", [
122 "wx.PyTimer ",]],
123 ["wx.Validator", [
124 ["wx.PyValidator",[
125 "wx.lib.intctrl.IntValidator",]]]],
126 ["wx.Window", [
127 ["wx.lib.colourchooser.canvas.Canvas", [
128 "wx.lib.colourchooser.pycolourslider.PyColourSlider",
129 "wx.lib.colourchooser.pypalette.PyPalette",]],
130 "wx.lib.gridmovers.ColDragWindow",
131 ["wx.Control",[
132 ["wx.BookCtrl", [
133 "wx.Listbook",
134 ["wx.Notebook",[
135 "wx.py.editor.EditorNotebook",
136 "wx.py.editor.EditorShellNotebook",]] ]],
137 ["wx.Button", [
138 ["wx.BitmapButton",[
139 "wx.lib.colourselect.ColourSelect",
140 "wx.ContextHelpButton",
141 "wx.lib.foldmenu.FoldOutMenu ",]] ]],
142 "wx.calendar.CalendarCtrl",
143 "wx.CheckBox",
144 ["wx.ComboBox",[
145 ["wx.lib.masked.combobox.BaseMaskedComboBox", [
146 "wx.lib.masked.combobox.ComboBox",
147 "wx.lib.masked.combobox.PreMaskedComboBox",]] ]],
148 ["wx.ControlWithItems", [
149 ["wx.Choice",[
150 "wx.DirFilterListCtrl ",]],
151 "wx.ListBox",
152 "wx.CheckListBox ",]],
153 "wx.Gauge",
154 "wx.GenericDirCtrl",
155 "wx.gizmos.LEDNumberCtrl",
156 ["wx.ListCtrl",[
157 "wx.ListView ",]],
158 ["wx.PyControl",[
159 "wx.lib.calendar.Calendar",
160 ["wx.lib.buttons.GenButton",[
161 ["wx.lib.buttons.GenBitmapButton",[
162 ["wx.lib.buttons.GenBitmapTextButton",[
163 "wx.lib.buttons.GenBitmapTextToggleButton ",]],
164 "wx.lib.buttons.GenBitmapToggleButton ",]],
165 "wx.lib.buttons.GenToggleButton ",]],
166 "wx.lib.statbmp.GenStaticBitmap",
167 "wx.lib.stattext.GenStaticText",
168 "wx.lib.popupctl.PopButton",
169 "wx.lib.popupctl.PopupControl",
170 "wx.lib.ticker.Ticker ",]],
171 "wx.RadioBox",
172 "wx.RadioButton",
173 "wx.ScrollBar",
174 "wx.Slider",
175 "wx.SpinButton",
176 "wx.SpinCtrl",
177 ["wx.StaticBitmap",[
178 "wx.lib.fancytext.StaticFancyText ",]],
179 "wx.StaticBox",
180 "wx.StaticLine",
181 "wx.StaticText",
182 ["wx.stc.StyledTextCtrl",[
183 ["wx.py.editwindow.EditWindow",[
184 "wx.py.crust.Display",
185 "wx.py.editor.EditWindow",
186 "wx.py.filling.FillingText",
187 "wx.py.shell.Shell",]],
188 "wx.lib.pyshell.PyShellWindow ",]],
189 ["wx.TextCtrl", [
190 ["wx.lib.masked.textctrl.BaseMaskedTextCtrl",[
191 "wx.lib.masked.ipaddrctrl.IpAddrCtrl",
192 "wx.lib.masked.numctrl.NumCtrl",
193 "wx.lib.masked.textctrl.PreMaskedTextCtrl",
194 "wx.lib.masked.textctrl.TextCtrl",
195 "wx.lib.masked.timectrl.TimeCtrl ",]],
196 "wx.py.crust.Calltip",
197 "wx.lib.sheet.CTextCellEditor",
198 "wx.py.crust.DispatcherListing",
199 "wx.lib.intctrl.IntCtrl",
200 "wx.lib.rightalign.RightTextCtrl",
201 "wx.py.crust.SessionListing",]],
202 "wx.ToggleButton",
203 "wx.ToolBar",
204 ["wx.TreeCtrl",[
205 "wx.py.filling.FillingTree",
206 "wx.gizmos.RemotelyScrolledTreeCtrl ",]],
207 "wx.gizmos.TreeListCtrl ",]],
208 "wx.gizmos.DynamicSashWindow",
209 "wx.lib.multisash.EmptyChild",
210 "wx.glcanvas.GLCanvas",
211 "wx.lib.imagebrowser.ImageView",
212 "wx.MDIClientWindow",
213 "wx.MenuBar",
214 "wx.lib.multisash.MultiClient",
215 "wx.lib.multisash.MultiCloser",
216 "wx.lib.multisash.MultiCreator",
217 "wx.lib.multisash.MultiSash",
218 "wx.lib.multisash.MultiSizer",
219 "wx.lib.multisash.MultiSplit",
220 "wx.lib.multisash.MultiViewLeaf",
221 ["wx.Panel",[
222 "wx.gizmos.EditableListBox",
223 ["wx.lib.filebrowsebutton.FileBrowseButton",[
224 "wx.lib.filebrowsebutton.DirBrowseButton",
225 "wx.lib.filebrowsebutton.FileBrowseButtonWithHistory",]],
226 "wx.lib.floatcanvas.FloatCanvas.FloatCanvas",
227 "wx.lib.floatcanvas.NavCanvas.NavCanvas",
228 "wx.NotebookPage",
229 ["wx.PreviewControlBar",[
230 "wx.PyPreviewControlBar ",]],
231 "wx.lib.colourchooser.pycolourbox.PyColourBox",
232 "wx.lib.colourchooser.pycolourchooser.PyColourChooser",
233 ["wx.PyPanel",[
234 "wx.lib.throbber.Throbber",]],
235 "wx.lib.shell.PyShell",
236 "wx.lib.shell.PyShellInput",
237 "wx.lib.shell.PyShellOutput",
238 ["wx.ScrolledWindow",[
239 "wx.lib.editor.editor.Editor",
240 ["wx.grid.Grid",[
241 "wx.lib.sheet.CSheet ",]],
242 ["wx.html.HtmlWindow",[
243 "wx.lib.ClickableHtmlWindow.PyClickableHtmlWindow",]],
244 "wx.PreviewCanvas",
245 "wx.lib.printout.PrintTableDraw",
246 ["wx.PyScrolledWindow",[
247 "wx.lib.scrolledpanel.ScrolledPanel",]],
248 "wx.lib.ogl.ShapeCanvas",
249 "wx.gizmos.SplitterScrolledWindow ",]],
250 ["wx.VScrolledWindow",[
251 ["wx.VListBox", [
252 "wx.HtmlListBox ",]] ]],
253 ["wx.wizard.WizardPage", [
254 "wx.wizard.PyWizardPage",
255 "wx.wizard.WizardPageSimple ",]],
256 "wx.lib.plot.PlotCanvas",
257 "wx.lib.wxPlotCanvas.PlotCanvas",
258 ["wx.PopupWindow",[
259 "wx.lib.foldmenu.FoldOutWindow",
260 ["wx.PopupTransientWindow",[
261 "wx.TipWindow ",]] ]],
262 ["wx.PyWindow", [
263 "wx.lib.analogclock.AnalogClockWindow",]],
264 "wx.lib.gridmovers.RowDragWindow",
265 ["wx.SashWindow",[
266 "wx.SashLayoutWindow ",]],
267 "wx.SplashScreenWindow",
268 ["wx.SplitterWindow",[
269 "wx.py.crust.Crust",
270 "wx.py.filling.Filling",
271 "wx.gizmos.ThinSplitterWindow ",]],
272 "wx.StatusBar",
273 ["wx.TopLevelWindow",[
274 ["wx.Dialog",[
275 "wx.lib.calendar.CalenDlg",
276 "wx.ColourDialog",
277 "wx.DirDialog",
278 "wx.FileDialog",
279 "wx.FindReplaceDialog",
280 "wx.FontDialog",
281 "wx.lib.imagebrowser.ImageDialog",
282 "wx.MessageDialog",
283 "wx.MultiChoiceDialog",
284 "wx.lib.dialogs.MultipleChoiceDialog",
285 "wx.PageSetupDialog",
286 "wx.lib.popupctl.PopupDialog",
287 "wx.PrintDialog",
288 "wx.lib.dialogs.ScrolledMessageDialog",
289 "wx.SingleChoiceDialog",
290 "wx.TextEntryDialog",
291 "wx.wizard.Wizard ",]],
292 ["wx.Frame", [
293 "wx.lib.analogclockopts.ACCustomizationFrame",
294 "wx.py.filling.FillingFrame",
295 ["wx.py.frame.Frame",[
296 "wx.py.crust.CrustFrame",
297 ["wx.py.editor.EditorFrame",[
298 "wx.py.editor.EditorNotebookFrame",]],
299 "wx.py.shell.ShellFrame",]],
300 "wx.html.HtmlHelpFrame",
301 "wx.MDIChildFrame",
302 "wx.MDIParentFrame",
303 "wx.MiniFrame",
304 ["wx.PreviewFrame",[
305 "wx.PyPreviewFrame ",]],
306 "wx.ProgressDialog",
307 "wx.SplashScreen",
308 "wx.lib.splashscreen.SplashScreen",
309 "wx.lib.masked.maskededit.test2",
310 "wx.lib.plot.TestFrame ",]] ]],
311 "wx.gizmos.TreeCompanionWindow ",]] ]] ]],
312 "wx.FileHistory",
313 "wx.FileSystem",
314 "wx.FindReplaceData",
315 "wx.FontData",
316 "wx.FontList",
317 "wx.FSFile",
318 ["wx.GDIObject",[
319 "wx.Bitmap",
320 "wx.Brush",
321 "wx.Cursor",
322 "wx.Font",
323 "wx.Icon",
324 "wx.Palette",
325 "wx.Pen",
326 "wx.Region ",]],
327 "wx.glcanvas.GLContext",
328 ["wx.grid.GridTableBase", [
329 "wx.grid.GridStringTable",
330 "wx.grid.PyGridTableBase ",]],
331 ["wx.html.HtmlCell", [
332 "wx.html.HtmlColourCell",
333 "wx.html.HtmlContainerCell",
334 "wx.html.HtmlFontCell",
335 "wx.html.HtmlWidgetCell",
336 "wx.html.HtmlWordCell ",]],
337 "wx.html.HtmlDCRenderer",
338 "wx.html.HtmlEasyPrinting",
339 "wx.html.HtmlFilter",
340 "wx.html.HtmlLinkInfo",
341 ["wx.html.HtmlParser", [
342 "wx.html.HtmlWinParser ",]],
343 "wx.html.HtmlTag",
344 ["wx.html.HtmlTagHandler", [
345 ["wx.html.HtmlWinTagHandler", [
346 "wx.lib.wxpTag.wxpTagHandler ",]] ]],
347 "wx.Image",
348 ["wx.ImageHandler", [
349 ["wx.BMPHandler", [
350 ["wx.ICOHandler", [
351 ["wx.CURHandler", [
352 "wx.ANIHandler ",]] ]] ]],
353 "wx.GIFHandler",
354 "wx.JPEGHandler",
355 "wx.PCXHandler",
356 "wx.PNGHandler",
357 "wx.PNMHandler",
358 "wx.TIFFHandler",
359 "wx.XPMHandler ",]],
360 "wx.ImageList",
361 "wx.IndividualLayoutConstraint",
362 "wx.LayoutAlgorithm",
363 ["wx.LayoutConstraints", [
364 "wx.lib.anchors.LayoutAnchors",
365 "wx.lib.layoutf.Layoutf",]],
366 "wx.ListItem",
367 "wx.Mask",
368 "wx.MenuItem",
369 "wx.MetaFile",
370 "wx.PageSetupDialogData",
371 "wx.PenList",
372 "wx.PrintData",
373 "wx.PrintDialogData",
374 "wx.Printer",
375 ["wx.Printout", [
376 "wx.html.HtmlPrintout",
377 "wx.lib.plot.PlotPrintout",
378 "wx.lib.printout.SetPrintout ",]],
379 ["wx.PrintPreview", [
380 "wx.PyPrintPreview ",]],
381 "wx.RegionIterator",
382 ["wx.Sizer", [
383 "wx.BookCtrlSizer",
384 ["wx.BoxSizer", [
385 "wx.StaticBoxSizer", ]],
386 ["wx.GridSizer", [
387 ["wx.FlexGridSizer", [
388 "wx.GridBagSizer",]] ]],
389 "wx.NotebookSizer",
390 "wx.PySizer",]],
391 ["wx.SizerItem", [
392 "wx.GBSizerItem",]],
393 "wx.SystemOptions",
394 "wx.ToolBarToolBase",
395 "wx.ToolTip",
396 "wx.gizmos.TreeListColumnInfo",
397 "wx.xrc.XmlDocument",
398 "wx.xrc.XmlResource",
399 "wx.xrc.XmlResourceHandler ",
400 ]
401
402
403