wxPython-zombie 3.1.5.8__cp313-cp313-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1175) hide show
  1. wx/__init__.py +22 -0
  2. wx/__version__.py +9 -0
  3. wx/_adv.cp313-win_amd64.pyd +0 -0
  4. wx/_aui.cp313-win_amd64.pyd +0 -0
  5. wx/_core.cp313-win_amd64.pyd +0 -0
  6. wx/_dataview.cp313-win_amd64.pyd +0 -0
  7. wx/_glcanvas.cp313-win_amd64.pyd +0 -0
  8. wx/_grid.cp313-win_amd64.pyd +0 -0
  9. wx/_html.cp313-win_amd64.pyd +0 -0
  10. wx/_html2.cp313-win_amd64.pyd +0 -0
  11. wx/_media.cp313-win_amd64.pyd +0 -0
  12. wx/_msw.cp313-win_amd64.pyd +0 -0
  13. wx/_propgrid.cp313-win_amd64.pyd +0 -0
  14. wx/_ribbon.cp313-win_amd64.pyd +0 -0
  15. wx/_richtext.cp313-win_amd64.pyd +0 -0
  16. wx/_stc.cp313-win_amd64.pyd +0 -0
  17. wx/_xml.cp313-win_amd64.pyd +0 -0
  18. wx/_xrc.cp313-win_amd64.pyd +0 -0
  19. wx/adv.py +124 -0
  20. wx/adv.pyi +5182 -0
  21. wx/aui.py +77 -0
  22. wx/aui.pyi +3655 -0
  23. wx/core.py +3540 -0
  24. wx/core.pyi +50592 -0
  25. wx/dataview.py +173 -0
  26. wx/dataview.pyi +3491 -0
  27. wx/demo/AUI_DockingWindowMgr.py +1154 -0
  28. wx/demo/AUI_MDI.py +117 -0
  29. wx/demo/AUI_Notebook.py +58 -0
  30. wx/demo/About.py +75 -0
  31. wx/demo/AboutBox.py +75 -0
  32. wx/demo/ActiveXWrapper_Acrobat.py +132 -0
  33. wx/demo/ActiveXWrapper_IE.py +187 -0
  34. wx/demo/ActiveX_FlashWindow.py +107 -0
  35. wx/demo/ActiveX_IEHtmlWindow.py +242 -0
  36. wx/demo/ActiveX_PDFWindow.py +204 -0
  37. wx/demo/ActivityIndicator.py +80 -0
  38. wx/demo/AddPrivateFont.py +116 -0
  39. wx/demo/AdjustChannels.py +178 -0
  40. wx/demo/AlphaDrawing.py +77 -0
  41. wx/demo/AnalogClock.py +144 -0
  42. wx/demo/AnimationCtrl.py +104 -0
  43. wx/demo/ArtProvider.py +893 -0
  44. wx/demo/BannerWindow.py +1 -0
  45. wx/demo/BitmapButton.py +87 -0
  46. wx/demo/BitmapComboBox.py +63 -0
  47. wx/demo/BitmapFromBuffer.py +140 -0
  48. wx/demo/Button.py +77 -0
  49. wx/demo/Cairo.py +197 -0
  50. wx/demo/Cairo_Snippets.py +135 -0
  51. wx/demo/Calendar.py +660 -0
  52. wx/demo/CalendarCtrl.py +122 -0
  53. wx/demo/CheckBox.py +74 -0
  54. wx/demo/CheckListBox.py +79 -0
  55. wx/demo/CheckListCtrl.py +99 -0
  56. wx/demo/Choice.py +55 -0
  57. wx/demo/Choicebook.py +80 -0
  58. wx/demo/CollapsibleHeaderCtrl.py +85 -0
  59. wx/demo/CollapsiblePane.py +126 -0
  60. wx/demo/ColorPanel.py +19 -0
  61. wx/demo/ColourDB.py +203 -0
  62. wx/demo/ColourDialog.py +76 -0
  63. wx/demo/ColourSelect.py +119 -0
  64. wx/demo/ComboBox.py +111 -0
  65. wx/demo/ComboCtrl.py +153 -0
  66. wx/demo/ComboTreeBox.py +71 -0
  67. wx/demo/CommandLinkButton.py +50 -0
  68. wx/demo/ContextHelp.py +112 -0
  69. wx/demo/Cursor.py +336 -0
  70. wx/demo/CustomDragAndDrop.py +353 -0
  71. wx/demo/DVC_CustomRenderer.py +204 -0
  72. wx/demo/DVC_DataViewModel.py +365 -0
  73. wx/demo/DVC_IndexListModel.py +257 -0
  74. wx/demo/DVC_ListCtrl.py +69 -0
  75. wx/demo/DVC_TreeCtrl.py +76 -0
  76. wx/demo/DatePickerCtrl.py +68 -0
  77. wx/demo/DelayedResult.py +239 -0
  78. wx/demo/Dialog.py +169 -0
  79. wx/demo/DialogUnits.py +128 -0
  80. wx/demo/DirDialog.py +58 -0
  81. wx/demo/DragAndDrop.py +265 -0
  82. wx/demo/DragImage.py +316 -0
  83. wx/demo/DragScroller.py +59 -0
  84. wx/demo/DrawXXXList.py +436 -0
  85. wx/demo/DynamicSashWindow.py +177 -0
  86. wx/demo/EditableListBox.py +101 -0
  87. wx/demo/Editor.py +70 -0
  88. wx/demo/EventManager.py +291 -0
  89. wx/demo/ExpandoTextCtrl.py +164 -0
  90. wx/demo/FancyText.py +83 -0
  91. wx/demo/FileBrowseButton.py +100 -0
  92. wx/demo/FileCtrl.py +97 -0
  93. wx/demo/FileDialog.py +144 -0
  94. wx/demo/FileHistory.py +140 -0
  95. wx/demo/FindReplaceDialog.py +123 -0
  96. wx/demo/FloatCanvas.py +1959 -0
  97. wx/demo/FontDialog.py +142 -0
  98. wx/demo/FontEnumerator.py +82 -0
  99. wx/demo/Frame.py +85 -0
  100. wx/demo/GLCanvas.py +371 -0
  101. wx/demo/Gauge.py +66 -0
  102. wx/demo/GenericButtons.py +185 -0
  103. wx/demo/GenericCheckBox.py +65 -0
  104. wx/demo/GenericDirCtrl.py +74 -0
  105. wx/demo/GetMouseState.py +159 -0
  106. wx/demo/GraphicsContext.py +236 -0
  107. wx/demo/GraphicsGradient.py +281 -0
  108. wx/demo/Grid.py +95 -0
  109. wx/demo/GridBagSizer.py +170 -0
  110. wx/demo/GridCustEditor.py +247 -0
  111. wx/demo/GridCustTable.py +170 -0
  112. wx/demo/GridDragAndDrop.py +102 -0
  113. wx/demo/GridDragable.py +206 -0
  114. wx/demo/GridEnterHandler.py +66 -0
  115. wx/demo/GridHugeTable.py +89 -0
  116. wx/demo/GridLabelRenderer.py +114 -0
  117. wx/demo/GridSimple.py +270 -0
  118. wx/demo/GridStdEdRend.py +186 -0
  119. wx/demo/Grid_MegaExample.py +490 -0
  120. wx/demo/HTML2_WebView.py +183 -0
  121. wx/demo/HtmlWindow.py +232 -0
  122. wx/demo/I18N.py +237 -0
  123. wx/demo/Image.py +338 -0
  124. wx/demo/ImageAlpha.py +87 -0
  125. wx/demo/ImageBrowser.py +70 -0
  126. wx/demo/ImageFromStream.py +49 -0
  127. wx/demo/Img2PyArtProvider.py +99 -0
  128. wx/demo/InfoBar.py +127 -0
  129. wx/demo/IntCtrl.py +343 -0
  130. wx/demo/ItemsPicker.py +108 -0
  131. wx/demo/Joystick.py +1083 -0
  132. wx/demo/KeyEvents.py +428 -0
  133. wx/demo/LEDNumberCtrl.py +121 -0
  134. wx/demo/LayoutAnchors.py +258 -0
  135. wx/demo/LayoutConstraints.py +149 -0
  136. wx/demo/Layoutf.py +69 -0
  137. wx/demo/ListBox.py +164 -0
  138. wx/demo/ListCtrl.py +538 -0
  139. wx/demo/ListCtrl_edit.py +155 -0
  140. wx/demo/ListCtrl_virtual.py +145 -0
  141. wx/demo/Listbook.py +104 -0
  142. wx/demo/MDIDemo.py +86 -0
  143. wx/demo/MDISashDemo.py +152 -0
  144. wx/demo/MDIWindows.py +66 -0
  145. wx/demo/Main.py +2768 -0
  146. wx/demo/Mask.py +137 -0
  147. wx/demo/MaskedEditControls.py +648 -0
  148. wx/demo/MaskedNumCtrl.py +359 -0
  149. wx/demo/MediaCtrl.py +190 -0
  150. wx/demo/Menu.py +322 -0
  151. wx/demo/MessageDialog.py +54 -0
  152. wx/demo/MimeTypesManager.py +354 -0
  153. wx/demo/MiniFrame.py +67 -0
  154. wx/demo/MouseGestures.py +198 -0
  155. wx/demo/MultiChoiceDialog.py +59 -0
  156. wx/demo/MultiSash.py +95 -0
  157. wx/demo/MultiSplitterWindow.py +168 -0
  158. wx/demo/MultipleChoiceDialog.py +101 -0
  159. wx/demo/Notebook.py +134 -0
  160. wx/demo/NotificationMessage.py +61 -0
  161. wx/demo/OGL.py +433 -0
  162. wx/demo/Overlay.py +209 -0
  163. wx/demo/OwnerDrawnComboBox.py +152 -0
  164. wx/demo/PDFViewer.py +109 -0
  165. wx/demo/PageSetupDialog.py +70 -0
  166. wx/demo/PenAndBrushStyles.py +208 -0
  167. wx/demo/Pickers.py +120 -0
  168. wx/demo/PlateButton.py +430 -0
  169. wx/demo/PopupControl.py +99 -0
  170. wx/demo/PopupMenu.py +156 -0
  171. wx/demo/PopupWindow.py +227 -0
  172. wx/demo/PrintDialog.py +60 -0
  173. wx/demo/PrintFramework.py +227 -0
  174. wx/demo/Process.py +168 -0
  175. wx/demo/ProgressDialog.py +87 -0
  176. wx/demo/PropertyGrid.py +1045 -0
  177. wx/demo/PropertySheetDialog.py +231 -0
  178. wx/demo/PseudoDC.py +350 -0
  179. wx/demo/PyColourChooser.py +60 -0
  180. wx/demo/PyCrust.py +21 -0
  181. wx/demo/PyPlot.py +83 -0
  182. wx/demo/PyShell.py +22 -0
  183. wx/demo/PythonEvents.py +109 -0
  184. wx/demo/README.txt +7 -0
  185. wx/demo/RadioBox.py +67 -0
  186. wx/demo/RadioButton.py +127 -0
  187. wx/demo/RawBitmapAccess.py +208 -0
  188. wx/demo/RearrangeDialog.py +160 -0
  189. wx/demo/RendererNative.py +170 -0
  190. wx/demo/ResizeWidget.py +76 -0
  191. wx/demo/RichMessageDialog.py +85 -0
  192. wx/demo/RichTextCtrl.py +732 -0
  193. wx/demo/RichToolTip.py +145 -0
  194. wx/demo/SVGImage_Bitmap.py +130 -0
  195. wx/demo/SVGImage_Render.py +138 -0
  196. wx/demo/SashWindow.py +151 -0
  197. wx/demo/ScrolledMessageDialog.py +52 -0
  198. wx/demo/ScrolledPanel.py +124 -0
  199. wx/demo/ScrolledWindow.py +260 -0
  200. wx/demo/SearchCtrl.py +115 -0
  201. wx/demo/ShapedWindow.py +145 -0
  202. wx/demo/Simplebook.py +202 -0
  203. wx/demo/SingleChoiceDialog.py +56 -0
  204. wx/demo/SizedControls.py +433 -0
  205. wx/demo/Sizers.py +609 -0
  206. wx/demo/Slider.py +52 -0
  207. wx/demo/Sound.py +95 -0
  208. wx/demo/SpinButton.py +63 -0
  209. wx/demo/SpinCtrl.py +56 -0
  210. wx/demo/SpinCtrlDouble.py +42 -0
  211. wx/demo/SplitTree.py +146 -0
  212. wx/demo/SplitterWindow.py +62 -0
  213. wx/demo/StandardPaths.py +113 -0
  214. wx/demo/StaticBitmap.py +55 -0
  215. wx/demo/StaticBox.py +62 -0
  216. wx/demo/StaticText.py +69 -0
  217. wx/demo/StatusBar.py +144 -0
  218. wx/demo/StockButtons.py +113 -0
  219. wx/demo/StyledTextCtrl_1.py +303 -0
  220. wx/demo/StyledTextCtrl_2.py +410 -0
  221. wx/demo/SystemSettings.py +333 -0
  222. wx/demo/TablePrint.py +215 -0
  223. wx/demo/TestTable.txt +38 -0
  224. wx/demo/TextCtrl.py +187 -0
  225. wx/demo/TextEntryDialog.py +57 -0
  226. wx/demo/Threads.py +258 -0
  227. wx/demo/Throbber.py +250 -0
  228. wx/demo/Ticker.py +147 -0
  229. wx/demo/TimeCtrl.py +240 -0
  230. wx/demo/TimePickerCtrl.py +60 -0
  231. wx/demo/Timer.py +275 -0
  232. wx/demo/ToggleButton.py +54 -0
  233. wx/demo/ToolBar.py +249 -0
  234. wx/demo/ToolTip.py +71 -0
  235. wx/demo/Toolbook.py +111 -0
  236. wx/demo/TreeCtrl.py +199 -0
  237. wx/demo/TreeListCtrl.py +121 -0
  238. wx/demo/TreeMixin.py +269 -0
  239. wx/demo/Treebook.py +117 -0
  240. wx/demo/UIActionSimulator.py +151 -0
  241. wx/demo/URLDragAndDrop.py +130 -0
  242. wx/demo/Unicode.py +146 -0
  243. wx/demo/VListBox.py +176 -0
  244. wx/demo/Validator.py +237 -0
  245. wx/demo/Wizard.py +248 -0
  246. wx/demo/WrapSizer.py +115 -0
  247. wx/demo/XmlResource.py +80 -0
  248. wx/demo/XmlResourceHandler.py +199 -0
  249. wx/demo/XmlResourceSubclass.py +119 -0
  250. wx/demo/__init__.py +9 -0
  251. wx/demo/agw/AGWInfoBar.py +175 -0
  252. wx/demo/agw/AUI.py +3058 -0
  253. wx/demo/agw/AdvancedSplash.py +59 -0
  254. wx/demo/agw/AquaButton.py +146 -0
  255. wx/demo/agw/BalloonTip.py +378 -0
  256. wx/demo/agw/ButtonPanel.py +890 -0
  257. wx/demo/agw/CubeColourDialog.py +83 -0
  258. wx/demo/agw/CustomTreeCtrl.py +2167 -0
  259. wx/demo/agw/Example1 +67 -0
  260. wx/demo/agw/Example2 +49 -0
  261. wx/demo/agw/FlatMenu.py +876 -0
  262. wx/demo/agw/FlatNotebook.py +994 -0
  263. wx/demo/agw/FloatSpin.py +475 -0
  264. wx/demo/agw/FoldPanelBar.py +953 -0
  265. wx/demo/agw/FourWaySplitter.py +300 -0
  266. wx/demo/agw/GenericMessageDialog.py +207 -0
  267. wx/demo/agw/GradientButton.py +156 -0
  268. wx/demo/agw/HyperLinkCtrl.py +144 -0
  269. wx/demo/agw/HyperTreeList.py +2660 -0
  270. wx/demo/agw/KnobCtrl.py +186 -0
  271. wx/demo/agw/LabelBook.py +567 -0
  272. wx/demo/agw/MacLargeDemo.py +360 -0
  273. wx/demo/agw/MultiDirDialog.py +117 -0
  274. wx/demo/agw/PeakMeter.py +194 -0
  275. wx/demo/agw/PersistentControls.py +589 -0
  276. wx/demo/agw/PieCtrl.py +206 -0
  277. wx/demo/agw/PyBusyInfo.py +64 -0
  278. wx/demo/agw/PyCollapsiblePane.py +308 -0
  279. wx/demo/agw/PyGauge.py +162 -0
  280. wx/demo/agw/PyProgress.py +155 -0
  281. wx/demo/agw/RibbonBar.py +925 -0
  282. wx/demo/agw/RulerCtrl.py +454 -0
  283. wx/demo/agw/ScrolledThumbnail.py +128 -0
  284. wx/demo/agw/ShapedButton.py +603 -0
  285. wx/demo/agw/ShortcutEditor.py +397 -0
  286. wx/demo/agw/SpeedMeter.py +668 -0
  287. wx/demo/agw/SuperToolTip.py +396 -0
  288. wx/demo/agw/ThumbDemoConfig.py +603 -0
  289. wx/demo/agw/ThumbnailCtrl.py +149 -0
  290. wx/demo/agw/ToasterBox.py +410 -0
  291. wx/demo/agw/UltimateListCtrl.py +80 -0
  292. wx/demo/agw/UltimateListIconDemo.py +908 -0
  293. wx/demo/agw/UltimateListListDemo.py +124 -0
  294. wx/demo/agw/UltimateReportDemo.py +1146 -0
  295. wx/demo/agw/UltimateVirtualDemo.py +207 -0
  296. wx/demo/agw/Windows7Explorer_Contents.py +368 -0
  297. wx/demo/agw/XLSGrid.py +238 -0
  298. wx/demo/agw/ZoomBar.py +230 -0
  299. wx/demo/agw/__demo__.py +183 -0
  300. wx/demo/agw/bitmaps/Explorer96.png +0 -0
  301. wx/demo/agw/bitmaps/Explorer96Flip40.png +0 -0
  302. wx/demo/agw/bitmaps/Folder96.png +0 -0
  303. wx/demo/agw/bitmaps/Folder96Flip40.png +0 -0
  304. wx/demo/agw/bitmaps/Monitor96.png +0 -0
  305. wx/demo/agw/bitmaps/Monitor96Flip40.png +0 -0
  306. wx/demo/agw/bitmaps/Music96.png +0 -0
  307. wx/demo/agw/bitmaps/Music96Flip40.png +0 -0
  308. wx/demo/agw/bitmaps/Photo96.png +0 -0
  309. wx/demo/agw/bitmaps/Photo96Flip40.png +0 -0
  310. wx/demo/agw/bitmaps/Search96.png +0 -0
  311. wx/demo/agw/bitmaps/Search96Flip40.png +0 -0
  312. wx/demo/agw/bitmaps/Wizard96.png +0 -0
  313. wx/demo/agw/bitmaps/Wizard96Flip40.png +0 -0
  314. wx/demo/agw/bitmaps/advancedsplash.png +0 -0
  315. wx/demo/agw/bitmaps/aquabutton.png +0 -0
  316. wx/demo/agw/bitmaps/aquachecked.ico +0 -0
  317. wx/demo/agw/bitmaps/aquaflagged.ico +0 -0
  318. wx/demo/agw/bitmaps/aquanotchecked.ico +0 -0
  319. wx/demo/agw/bitmaps/aquanotflagged.ico +0 -0
  320. wx/demo/agw/bitmaps/canada.gif +0 -0
  321. wx/demo/agw/bitmaps/checked.ico +0 -0
  322. wx/demo/agw/bitmaps/columns.png +0 -0
  323. wx/demo/agw/bitmaps/contexthelp-16.png +0 -0
  324. wx/demo/agw/bitmaps/contexthelp.png +0 -0
  325. wx/demo/agw/bitmaps/copy.png +0 -0
  326. wx/demo/agw/bitmaps/cut.png +0 -0
  327. wx/demo/agw/bitmaps/editcopy.png +0 -0
  328. wx/demo/agw/bitmaps/editcut.png +0 -0
  329. wx/demo/agw/bitmaps/editpaste.png +0 -0
  330. wx/demo/agw/bitmaps/empty_icon.png +0 -0
  331. wx/demo/agw/bitmaps/exit-16.png +0 -0
  332. wx/demo/agw/bitmaps/exit.ico +0 -0
  333. wx/demo/agw/bitmaps/ffwd.png +0 -0
  334. wx/demo/agw/bitmaps/ffwddisabled.png +0 -0
  335. wx/demo/agw/bitmaps/field-16.png +0 -0
  336. wx/demo/agw/bitmaps/filenew.png +0 -0
  337. wx/demo/agw/bitmaps/fileopen.png +0 -0
  338. wx/demo/agw/bitmaps/filesave.png +0 -0
  339. wx/demo/agw/bitmaps/flagged.ico +0 -0
  340. wx/demo/agw/bitmaps/folder.png +0 -0
  341. wx/demo/agw/bitmaps/folder_new.png +0 -0
  342. wx/demo/agw/bitmaps/ghost.png +0 -0
  343. wx/demo/agw/bitmaps/gradientbutton.png +0 -0
  344. wx/demo/agw/bitmaps/help-16.png +0 -0
  345. wx/demo/agw/bitmaps/help.ico +0 -0
  346. wx/demo/agw/bitmaps/italy.gif +0 -0
  347. wx/demo/agw/bitmaps/lbadd.png +0 -0
  348. wx/demo/agw/bitmaps/lbcharge.png +0 -0
  349. wx/demo/agw/bitmaps/lbdecrypted.png +0 -0
  350. wx/demo/agw/bitmaps/lbnews.png +0 -0
  351. wx/demo/agw/bitmaps/lbroll.png +0 -0
  352. wx/demo/agw/bitmaps/minus1.ico +0 -0
  353. wx/demo/agw/bitmaps/minus2.ico +0 -0
  354. wx/demo/agw/bitmaps/minus3.ico +0 -0
  355. wx/demo/agw/bitmaps/minus4.ico +0 -0
  356. wx/demo/agw/bitmaps/minus5.ico +0 -0
  357. wx/demo/agw/bitmaps/month-16.png +0 -0
  358. wx/demo/agw/bitmaps/new_file.png +0 -0
  359. wx/demo/agw/bitmaps/new_folder.png +0 -0
  360. wx/demo/agw/bitmaps/notchecked.ico +0 -0
  361. wx/demo/agw/bitmaps/notflagged.ico +0 -0
  362. wx/demo/agw/bitmaps/ok-16.png +0 -0
  363. wx/demo/agw/bitmaps/open_folder.png +0 -0
  364. wx/demo/agw/bitmaps/paste.png +0 -0
  365. wx/demo/agw/bitmaps/pause.png +0 -0
  366. wx/demo/agw/bitmaps/pausedisabled.png +0 -0
  367. wx/demo/agw/bitmaps/play.png +0 -0
  368. wx/demo/agw/bitmaps/playdisabled.png +0 -0
  369. wx/demo/agw/bitmaps/plus1.ico +0 -0
  370. wx/demo/agw/bitmaps/plus2.ico +0 -0
  371. wx/demo/agw/bitmaps/plus3.ico +0 -0
  372. wx/demo/agw/bitmaps/plus4.ico +0 -0
  373. wx/demo/agw/bitmaps/plus5.ico +0 -0
  374. wx/demo/agw/bitmaps/record.png +0 -0
  375. wx/demo/agw/bitmaps/recorddisabled.png +0 -0
  376. wx/demo/agw/bitmaps/recording.gif +0 -0
  377. wx/demo/agw/bitmaps/rewind.png +0 -0
  378. wx/demo/agw/bitmaps/rewinddisabled.png +0 -0
  379. wx/demo/agw/bitmaps/round.png +0 -0
  380. wx/demo/agw/bitmaps/save.png +0 -0
  381. wx/demo/agw/bitmaps/separator.gif +0 -0
  382. wx/demo/agw/bitmaps/separatorflip.png +0 -0
  383. wx/demo/agw/bitmaps/smfuel.ico +0 -0
  384. wx/demo/agw/bitmaps/smpi.ico +0 -0
  385. wx/demo/agw/bitmaps/smtemp.ico +0 -0
  386. wx/demo/agw/bitmaps/stop.png +0 -0
  387. wx/demo/agw/bitmaps/stopdisabled.png +0 -0
  388. wx/demo/agw/bitmaps/sttbutton.png +0 -0
  389. wx/demo/agw/bitmaps/sttfont.png +0 -0
  390. wx/demo/agw/bitmaps/sttheader.png +0 -0
  391. wx/demo/agw/bitmaps/stthelp.png +0 -0
  392. wx/demo/agw/bitmaps/view1.png +0 -0
  393. wx/demo/agw/bitmaps/view2.png +0 -0
  394. wx/demo/agw/bitmaps/view_choose.png +0 -0
  395. wx/demo/agw/bitmaps/view_detailed.png +0 -0
  396. wx/demo/agw/bitmaps/view_icon.png +0 -0
  397. wx/demo/agw/bitmaps/view_multicolumn.png +0 -0
  398. wx/demo/agw/bitmaps/viewmag-16.png +0 -0
  399. wx/demo/agw/bitmaps/viewmag-m-16.png +0 -0
  400. wx/demo/agw/bitmaps/viewmag-p-16.png +0 -0
  401. wx/demo/agw/bitmaps/viewmagfit-16.png +0 -0
  402. wx/demo/agw/data/Example_1.xls +0 -0
  403. wx/demo/agw/images.py +6714 -0
  404. wx/demo/bitmaps/AG00028_.gif +0 -0
  405. wx/demo/bitmaps/AG00039_.gif +0 -0
  406. wx/demo/bitmaps/AG00178_.gif +0 -0
  407. wx/demo/bitmaps/AG00183_.gif +0 -0
  408. wx/demo/bitmaps/AG00185_.gif +0 -0
  409. wx/demo/bitmaps/BD13656_.gif +0 -0
  410. wx/demo/bitmaps/advancedsplash.png +0 -0
  411. wx/demo/bitmaps/aquabutton.png +0 -0
  412. wx/demo/bitmaps/aquachecked.ico +0 -0
  413. wx/demo/bitmaps/aquaflagged.ico +0 -0
  414. wx/demo/bitmaps/aquanotchecked.ico +0 -0
  415. wx/demo/bitmaps/aquanotflagged.ico +0 -0
  416. wx/demo/bitmaps/canada.gif +0 -0
  417. wx/demo/bitmaps/checked.ico +0 -0
  418. wx/demo/bitmaps/columns.png +0 -0
  419. wx/demo/bitmaps/contexthelp-16.png +0 -0
  420. wx/demo/bitmaps/contexthelp.png +0 -0
  421. wx/demo/bitmaps/copy.png +0 -0
  422. wx/demo/bitmaps/cropshot24x20.png +0 -0
  423. wx/demo/bitmaps/cut.png +0 -0
  424. wx/demo/bitmaps/editcopy.png +0 -0
  425. wx/demo/bitmaps/editcut.png +0 -0
  426. wx/demo/bitmaps/editpaste.png +0 -0
  427. wx/demo/bitmaps/exit-16.png +0 -0
  428. wx/demo/bitmaps/exit.ico +0 -0
  429. wx/demo/bitmaps/ffwd.png +0 -0
  430. wx/demo/bitmaps/ffwddisabled.png +0 -0
  431. wx/demo/bitmaps/field-16.png +0 -0
  432. wx/demo/bitmaps/filenew.png +0 -0
  433. wx/demo/bitmaps/fileopen.png +0 -0
  434. wx/demo/bitmaps/filesave.png +0 -0
  435. wx/demo/bitmaps/flagged.ico +0 -0
  436. wx/demo/bitmaps/folder_new.png +0 -0
  437. wx/demo/bitmaps/ghost.png +0 -0
  438. wx/demo/bitmaps/gradientbutton.png +0 -0
  439. wx/demo/bitmaps/help-16.png +0 -0
  440. wx/demo/bitmaps/help.ico +0 -0
  441. wx/demo/bitmaps/honeycomb300.png +0 -0
  442. wx/demo/bitmaps/image.bmp +0 -0
  443. wx/demo/bitmaps/image.gif +0 -0
  444. wx/demo/bitmaps/image.ico +0 -0
  445. wx/demo/bitmaps/image.jpg +0 -0
  446. wx/demo/bitmaps/image.png +0 -0
  447. wx/demo/bitmaps/image.tif +0 -0
  448. wx/demo/bitmaps/italy.gif +0 -0
  449. wx/demo/bitmaps/lbadd.png +0 -0
  450. wx/demo/bitmaps/lbcharge.png +0 -0
  451. wx/demo/bitmaps/lbdecrypted.png +0 -0
  452. wx/demo/bitmaps/lbnews.png +0 -0
  453. wx/demo/bitmaps/lbroll.png +0 -0
  454. wx/demo/bitmaps/minus1.ico +0 -0
  455. wx/demo/bitmaps/minus2.ico +0 -0
  456. wx/demo/bitmaps/minus3.ico +0 -0
  457. wx/demo/bitmaps/minus4.ico +0 -0
  458. wx/demo/bitmaps/minus5.ico +0 -0
  459. wx/demo/bitmaps/month-16.png +0 -0
  460. wx/demo/bitmaps/new_file.png +0 -0
  461. wx/demo/bitmaps/new_folder.png +0 -0
  462. wx/demo/bitmaps/notchecked.ico +0 -0
  463. wx/demo/bitmaps/notflagged.ico +0 -0
  464. wx/demo/bitmaps/ok-16.png +0 -0
  465. wx/demo/bitmaps/open_folder.png +0 -0
  466. wx/demo/bitmaps/paste.png +0 -0
  467. wx/demo/bitmaps/pause.png +0 -0
  468. wx/demo/bitmaps/pausedisabled.png +0 -0
  469. wx/demo/bitmaps/phoenix_title.png +0 -0
  470. wx/demo/bitmaps/phoenix_top.png +0 -0
  471. wx/demo/bitmaps/play.png +0 -0
  472. wx/demo/bitmaps/playdisabled.png +0 -0
  473. wx/demo/bitmaps/plus1.ico +0 -0
  474. wx/demo/bitmaps/plus2.ico +0 -0
  475. wx/demo/bitmaps/plus3.ico +0 -0
  476. wx/demo/bitmaps/plus4.ico +0 -0
  477. wx/demo/bitmaps/plus5.ico +0 -0
  478. wx/demo/bitmaps/record.png +0 -0
  479. wx/demo/bitmaps/recorddisabled.png +0 -0
  480. wx/demo/bitmaps/rewind.png +0 -0
  481. wx/demo/bitmaps/rewinddisabled.png +0 -0
  482. wx/demo/bitmaps/round.png +0 -0
  483. wx/demo/bitmaps/save.png +0 -0
  484. wx/demo/bitmaps/smfuel.ico +0 -0
  485. wx/demo/bitmaps/smpi.ico +0 -0
  486. wx/demo/bitmaps/smtemp.ico +0 -0
  487. wx/demo/bitmaps/snakey_render.png +0 -0
  488. wx/demo/bitmaps/splash.png +0 -0
  489. wx/demo/bitmaps/stop.png +0 -0
  490. wx/demo/bitmaps/stopdisabled.png +0 -0
  491. wx/demo/bitmaps/sttbutton.png +0 -0
  492. wx/demo/bitmaps/sttfont.png +0 -0
  493. wx/demo/bitmaps/sttheader.png +0 -0
  494. wx/demo/bitmaps/stthelp.png +0 -0
  495. wx/demo/bitmaps/toucan.png +0 -0
  496. wx/demo/bitmaps/view1.png +0 -0
  497. wx/demo/bitmaps/view2.png +0 -0
  498. wx/demo/bitmaps/view_choose.png +0 -0
  499. wx/demo/bitmaps/view_detailed.png +0 -0
  500. wx/demo/bitmaps/view_icon.png +0 -0
  501. wx/demo/bitmaps/view_multicolumn.png +0 -0
  502. wx/demo/bitmaps/viewmag-16.png +0 -0
  503. wx/demo/bitmaps/viewmag-m-16.png +0 -0
  504. wx/demo/bitmaps/viewmag-p-16.png +0 -0
  505. wx/demo/bitmaps/viewmagfit-16.png +0 -0
  506. wx/demo/bmp_source/001.png +0 -0
  507. wx/demo/bmp_source/002.png +0 -0
  508. wx/demo/bmp_source/003.png +0 -0
  509. wx/demo/bmp_source/004.png +0 -0
  510. wx/demo/bmp_source/005.png +0 -0
  511. wx/demo/bmp_source/006.png +0 -0
  512. wx/demo/bmp_source/007.png +0 -0
  513. wx/demo/bmp_source/008.png +0 -0
  514. wx/demo/bmp_source/009.png +0 -0
  515. wx/demo/bmp_source/010.png +0 -0
  516. wx/demo/bmp_source/011.png +0 -0
  517. wx/demo/bmp_source/012.png +0 -0
  518. wx/demo/bmp_source/013.png +0 -0
  519. wx/demo/bmp_source/014.png +0 -0
  520. wx/demo/bmp_source/015.png +0 -0
  521. wx/demo/bmp_source/016.png +0 -0
  522. wx/demo/bmp_source/017.png +0 -0
  523. wx/demo/bmp_source/018.png +0 -0
  524. wx/demo/bmp_source/019.png +0 -0
  525. wx/demo/bmp_source/020.png +0 -0
  526. wx/demo/bmp_source/021.png +0 -0
  527. wx/demo/bmp_source/022.png +0 -0
  528. wx/demo/bmp_source/023.png +0 -0
  529. wx/demo/bmp_source/024.png +0 -0
  530. wx/demo/bmp_source/025.png +0 -0
  531. wx/demo/bmp_source/026.png +0 -0
  532. wx/demo/bmp_source/027.png +0 -0
  533. wx/demo/bmp_source/028.png +0 -0
  534. wx/demo/bmp_source/029.png +0 -0
  535. wx/demo/bmp_source/030.png +0 -0
  536. wx/demo/bmp_source/DbDec.bmp +0 -0
  537. wx/demo/bmp_source/DbInc.bmp +0 -0
  538. wx/demo/bmp_source/Dec.bmp +0 -0
  539. wx/demo/bmp_source/FRM_0.png +0 -0
  540. wx/demo/bmp_source/FRM_1.png +0 -0
  541. wx/demo/bmp_source/FRM_2.png +0 -0
  542. wx/demo/bmp_source/FRM_3.png +0 -0
  543. wx/demo/bmp_source/FRM_4.png +0 -0
  544. wx/demo/bmp_source/FRM_5.png +0 -0
  545. wx/demo/bmp_source/FRM_6.png +0 -0
  546. wx/demo/bmp_source/FRM_7.png +0 -0
  547. wx/demo/bmp_source/FRM_8.png +0 -0
  548. wx/demo/bmp_source/GridBG.gif +0 -0
  549. wx/demo/bmp_source/Inc.bmp +0 -0
  550. wx/demo/bmp_source/LB01.png +0 -0
  551. wx/demo/bmp_source/LB02.png +0 -0
  552. wx/demo/bmp_source/LB03.png +0 -0
  553. wx/demo/bmp_source/LB04.png +0 -0
  554. wx/demo/bmp_source/LB05.png +0 -0
  555. wx/demo/bmp_source/LB06.png +0 -0
  556. wx/demo/bmp_source/LB07.png +0 -0
  557. wx/demo/bmp_source/LB08.png +0 -0
  558. wx/demo/bmp_source/LB09.png +0 -0
  559. wx/demo/bmp_source/LB10.png +0 -0
  560. wx/demo/bmp_source/LB11.png +0 -0
  561. wx/demo/bmp_source/LB12.png +0 -0
  562. wx/demo/bmp_source/Pt.bmp +0 -0
  563. wx/demo/bmp_source/Vippi.png +0 -0
  564. wx/demo/bmp_source/backgrnd.png +0 -0
  565. wx/demo/bmp_source/book.png +0 -0
  566. wx/demo/bmp_source/book_blue.png +0 -0
  567. wx/demo/bmp_source/book_green.png +0 -0
  568. wx/demo/bmp_source/book_red.png +0 -0
  569. wx/demo/bmp_source/bp_btn1.png +0 -0
  570. wx/demo/bmp_source/bp_btn2.png +0 -0
  571. wx/demo/bmp_source/bp_btn3.png +0 -0
  572. wx/demo/bmp_source/bp_btn4.png +0 -0
  573. wx/demo/bmp_source/bulb1.bmp +0 -0
  574. wx/demo/bmp_source/bulb2.bmp +0 -0
  575. wx/demo/bmp_source/carrot.png +0 -0
  576. wx/demo/bmp_source/clipboard.png +0 -0
  577. wx/demo/bmp_source/code.png +0 -0
  578. wx/demo/bmp_source/core.png +0 -0
  579. wx/demo/bmp_source/custom.png +0 -0
  580. wx/demo/bmp_source/customcontrol.png +0 -0
  581. wx/demo/bmp_source/deletedocs.png +0 -0
  582. wx/demo/bmp_source/deleteperspective.png +0 -0
  583. wx/demo/bmp_source/demo.png +0 -0
  584. wx/demo/bmp_source/dialog.png +0 -0
  585. wx/demo/bmp_source/exit.png +0 -0
  586. wx/demo/bmp_source/expansion.png +0 -0
  587. wx/demo/bmp_source/find.png +0 -0
  588. wx/demo/bmp_source/findnext.png +0 -0
  589. wx/demo/bmp_source/floatcanvas.png +0 -0
  590. wx/demo/bmp_source/frame.png +0 -0
  591. wx/demo/bmp_source/images.png +0 -0
  592. wx/demo/bmp_source/inspect.png +0 -0
  593. wx/demo/bmp_source/layout.png +0 -0
  594. wx/demo/bmp_source/logo.png +0 -0
  595. wx/demo/bmp_source/miscellaneous.png +0 -0
  596. wx/demo/bmp_source/modifiedexists.png +0 -0
  597. wx/demo/bmp_source/mondrian.ico +0 -0
  598. wx/demo/bmp_source/morecontrols.png +0 -0
  599. wx/demo/bmp_source/moredialog.png +0 -0
  600. wx/demo/bmp_source/noicon.png +0 -0
  601. wx/demo/bmp_source/overview.png +0 -0
  602. wx/demo/bmp_source/pencil.png +0 -0
  603. wx/demo/bmp_source/pointy.png +0 -0
  604. wx/demo/bmp_source/process.png +0 -0
  605. wx/demo/bmp_source/pyshell.png +0 -0
  606. wx/demo/bmp_source/recent.png +0 -0
  607. wx/demo/bmp_source/rest.png +0 -0
  608. wx/demo/bmp_source/robin.jpg +0 -0
  609. wx/demo/bmp_source/rt_alignleft.xpm +24 -0
  610. wx/demo/bmp_source/rt_alignright.xpm +24 -0
  611. wx/demo/bmp_source/rt_bold.xpm +24 -0
  612. wx/demo/bmp_source/rt_centre.xpm +24 -0
  613. wx/demo/bmp_source/rt_colour.xpm +59 -0
  614. wx/demo/bmp_source/rt_copy.xpm +44 -0
  615. wx/demo/bmp_source/rt_cut.xpm +46 -0
  616. wx/demo/bmp_source/rt_font.xpm +25 -0
  617. wx/demo/bmp_source/rt_idea.xpm +47 -0
  618. wx/demo/bmp_source/rt_indentless.xpm +25 -0
  619. wx/demo/bmp_source/rt_indentmore.xpm +25 -0
  620. wx/demo/bmp_source/rt_italic.xpm +25 -0
  621. wx/demo/bmp_source/rt_open.xpm +57 -0
  622. wx/demo/bmp_source/rt_paste.xpm +46 -0
  623. wx/demo/bmp_source/rt_redo.xpm +58 -0
  624. wx/demo/bmp_source/rt_sample.xpm +44 -0
  625. wx/demo/bmp_source/rt_save.xpm +42 -0
  626. wx/demo/bmp_source/rt_smiley.xpm +42 -0
  627. wx/demo/bmp_source/rt_underline.xpm +25 -0
  628. wx/demo/bmp_source/rt_undo.xpm +58 -0
  629. wx/demo/bmp_source/rt_zebra.xpm +409 -0
  630. wx/demo/bmp_source/saveperspective.png +0 -0
  631. wx/demo/bmp_source/sm_down.bmp +0 -0
  632. wx/demo/bmp_source/sm_up.bmp +0 -0
  633. wx/demo/bmp_source/smiles2.bmp +0 -0
  634. wx/demo/bmp_source/test2.bmp +0 -0
  635. wx/demo/bmp_source/testmask.bmp +0 -0
  636. wx/demo/bmp_source/teststar.png +0 -0
  637. wx/demo/bmp_source/thekid.png +0 -0
  638. wx/demo/bmp_source/tog1.bmp +0 -0
  639. wx/demo/bmp_source/tog2.bmp +0 -0
  640. wx/demo/bmp_source/wiztest1.bmp +0 -0
  641. wx/demo/bmp_source/wiztest2.bmp +0 -0
  642. wx/demo/bmp_source/wxpdemo.ico +0 -0
  643. wx/demo/cursors/paperairplane_arrow_blue.cur +0 -0
  644. wx/demo/cursors/paperairplane_arrow_blue_fadeout80.cur +0 -0
  645. wx/demo/cursors/paperairplane_arrow_colorshift.ani +0 -0
  646. wx/demo/cursors/paperairplane_arrow_dark.cur +0 -0
  647. wx/demo/cursors/paperairplane_arrow_grey.cur +0 -0
  648. wx/demo/cursors/paperairplane_arrow_red.cur +0 -0
  649. wx/demo/cursors/paperairplane_arrow_white.cur +0 -0
  650. wx/demo/cursors/paperairplane_arrow_white24.png +0 -0
  651. wx/demo/data/0-tiger.svg +725 -0
  652. wx/demo/data/Asteroid_blaster.swf +0 -0
  653. wx/demo/data/SIL_OPEN_FONT_LICENSE.txt +97 -0
  654. wx/demo/data/SourceCodePro-Regular.ttf +0 -0
  655. wx/demo/data/accessories-calculator.svg +636 -0
  656. wx/demo/data/accessories-text-editor.svg +554 -0
  657. wx/demo/data/anykey.wav +0 -0
  658. wx/demo/data/applications-internet.svg +623 -0
  659. wx/demo/data/desktop-accessibility.svg +245 -0
  660. wx/demo/data/desktop-keyboard-shortcuts.svg +839 -0
  661. wx/demo/data/desktop-locale.svg +878 -0
  662. wx/demo/data/desktop-remote-desktop.svg +1479 -0
  663. wx/demo/data/desktop-theme.svg +882 -0
  664. wx/demo/data/desktop-wallpaper.svg +747 -0
  665. wx/demo/data/echo.py +25 -0
  666. wx/demo/data/imagemap.htm +20 -0
  667. wx/demo/data/imagemap.png +0 -0
  668. wx/demo/data/internet-group-chat.svg +312 -0
  669. wx/demo/data/internet-mail.svg +440 -0
  670. wx/demo/data/locale/af/LC_MESSAGES/wxpydemo.mo +0 -0
  671. wx/demo/data/locale/de/LC_MESSAGES/wxpydemo.mo +0 -0
  672. wx/demo/data/locale/es/LC_MESSAGES/wxpydemo.mo +0 -0
  673. wx/demo/data/locale/fr/LC_MESSAGES/wxpydemo.mo +0 -0
  674. wx/demo/data/locale/it/LC_MESSAGES/wxpydemo.mo +0 -0
  675. wx/demo/data/locale-src/af.po +23 -0
  676. wx/demo/data/locale-src/de.po +23 -0
  677. wx/demo/data/locale-src/es.po +22 -0
  678. wx/demo/data/locale-src/fr.po +22 -0
  679. wx/demo/data/locale-src/install +15 -0
  680. wx/demo/data/locale-src/it.po +23 -0
  681. wx/demo/data/locale-src/wxpydemo.po +21 -0
  682. wx/demo/data/office-calendar.svg +316 -0
  683. wx/demo/data/pic.png +0 -0
  684. wx/demo/data/pic2.bmp +0 -0
  685. wx/demo/data/plan.wav +0 -0
  686. wx/demo/data/proclamation.txt +115 -0
  687. wx/demo/data/resource.wdr +0 -0
  688. wx/demo/data/resource_wdr.xrc +146 -0
  689. wx/demo/data/romedalen.png +0 -0
  690. wx/demo/data/stc.h.html +3544 -0
  691. wx/demo/data/system-session.svg +510 -0
  692. wx/demo/data/system-users.svg +539 -0
  693. wx/demo/data/tables.htm +116 -0
  694. wx/demo/data/test-gradient-pen.svg +14 -0
  695. wx/demo/data/test-opacity.svg +7 -0
  696. wx/demo/data/test.htm +253 -0
  697. wx/demo/data/testmovie.mpg +0 -0
  698. wx/demo/data/testtable.txt +38 -0
  699. wx/demo/data/tips.txt +73 -0
  700. wx/demo/data/utilities-system-monitor.svg +435 -0
  701. wx/demo/data/utilities-terminal.svg +500 -0
  702. wx/demo/data/widgetTest.htm +70 -0
  703. wx/demo/data/world.dat +24055 -0
  704. wx/demo/demo.py +4 -0
  705. wx/demo/demo.pyw +4 -0
  706. wx/demo/demodata.py +310 -0
  707. wx/demo/encode_bitmaps.py +181 -0
  708. wx/demo/images.py +6812 -0
  709. wx/demo/infoframe.py +149 -0
  710. wx/demo/run.py +171 -0
  711. wx/demo/snippets/__init__.py +13 -0
  712. wx/demo/snippets/arc.py +21 -0
  713. wx/demo/snippets/arc_negative.py +21 -0
  714. wx/demo/snippets/clip.py +13 -0
  715. wx/demo/snippets/clip_image.py +13 -0
  716. wx/demo/snippets/curve_rectangle.py +53 -0
  717. wx/demo/snippets/curve_to.py +17 -0
  718. wx/demo/snippets/dash.py +18 -0
  719. wx/demo/snippets/ellipse.py +33 -0
  720. wx/demo/snippets/fill_and_stroke.py +12 -0
  721. wx/demo/snippets/fill_and_stroke2.py +18 -0
  722. wx/demo/snippets/fill_style.py +31 -0
  723. wx/demo/snippets/glyph_path.py +21 -0
  724. wx/demo/snippets/gradient.py +16 -0
  725. wx/demo/snippets/gradient_mask.py +12 -0
  726. wx/demo/snippets/group.py +16 -0
  727. wx/demo/snippets/image.py +14 -0
  728. wx/demo/snippets/imagepattern.py +23 -0
  729. wx/demo/snippets/path.py +7 -0
  730. wx/demo/snippets/set_line_cap.py +19 -0
  731. wx/demo/snippets/set_line_join.py +21 -0
  732. wx/demo/snippets/show_glyphs.py +15 -0
  733. wx/demo/snippets/text.py +22 -0
  734. wx/demo/snippets/text_align_center.py +26 -0
  735. wx/demo/snippets/text_extents.py +27 -0
  736. wx/demo/template.py +36 -0
  737. wx/demo/throbImages.py +1277 -0
  738. wx/demo/version.py +3 -0
  739. wx/demo/widgetTest.py +72 -0
  740. wx/demo/wxpdemo.ico +0 -0
  741. wx/glcanvas.py +10 -0
  742. wx/glcanvas.pyi +458 -0
  743. wx/grid.py +229 -0
  744. wx/grid.pyi +4959 -0
  745. wx/html.py +35 -0
  746. wx/html.pyi +2965 -0
  747. wx/html2.py +40 -0
  748. wx/html2.pyi +772 -0
  749. wx/lib/CDate.py +202 -0
  750. wx/lib/ClickableHtmlWindow.py +57 -0
  751. wx/lib/__init__.py +0 -0
  752. wx/lib/activex.py +178 -0
  753. wx/lib/activexwrapper.py +153 -0
  754. wx/lib/agw/__init__.py +128 -0
  755. wx/lib/agw/advancedsplash.py +564 -0
  756. wx/lib/agw/aquabutton.py +1127 -0
  757. wx/lib/agw/artmanager.py +2110 -0
  758. wx/lib/agw/aui/__init__.py +295 -0
  759. wx/lib/agw/aui/aui_constants.py +2628 -0
  760. wx/lib/agw/aui/aui_switcherdialog.py +1227 -0
  761. wx/lib/agw/aui/aui_utilities.py +672 -0
  762. wx/lib/agw/aui/auibar.py +4031 -0
  763. wx/lib/agw/aui/auibook.py +6289 -0
  764. wx/lib/agw/aui/dockart.py +1198 -0
  765. wx/lib/agw/aui/framemanager.py +10409 -0
  766. wx/lib/agw/aui/tabart.py +2771 -0
  767. wx/lib/agw/aui/tabmdi.py +679 -0
  768. wx/lib/agw/balloontip.py +1158 -0
  769. wx/lib/agw/buttonpanel.py +2823 -0
  770. wx/lib/agw/cubecolourdialog.py +3529 -0
  771. wx/lib/agw/customtreectrl.py +8963 -0
  772. wx/lib/agw/data/ShortcutEditor_1.png +0 -0
  773. wx/lib/agw/data/ShortcutEditor_1_thumb.png +0 -0
  774. wx/lib/agw/data/ShortcutEditor_2.png +0 -0
  775. wx/lib/agw/data/ShortcutEditor_2_thumb.png +0 -0
  776. wx/lib/agw/data/ShortcutEditor_3.png +0 -0
  777. wx/lib/agw/data/ShortcutEditor_3_thumb.png +0 -0
  778. wx/lib/agw/data/ShortcutEditor_4.png +0 -0
  779. wx/lib/agw/data/ShortcutEditor_4_thumb.png +0 -0
  780. wx/lib/agw/data/default_help_text.html +105 -0
  781. wx/lib/agw/flatmenu.py +7333 -0
  782. wx/lib/agw/flatnotebook.py +6672 -0
  783. wx/lib/agw/floatspin.py +1823 -0
  784. wx/lib/agw/fmcustomizedlg.py +540 -0
  785. wx/lib/agw/fmresources.py +407 -0
  786. wx/lib/agw/foldpanelbar.py +2282 -0
  787. wx/lib/agw/fourwaysplitter.py +1130 -0
  788. wx/lib/agw/genericmessagedialog.py +1549 -0
  789. wx/lib/agw/gradientbutton.py +732 -0
  790. wx/lib/agw/hyperlink.py +664 -0
  791. wx/lib/agw/hypertreelist.py +5374 -0
  792. wx/lib/agw/infobar.py +885 -0
  793. wx/lib/agw/knobctrl.py +945 -0
  794. wx/lib/agw/labelbook.py +3029 -0
  795. wx/lib/agw/multidirdialog.py +615 -0
  796. wx/lib/agw/peakmeter.py +1029 -0
  797. wx/lib/agw/persist/__init__.py +188 -0
  798. wx/lib/agw/persist/persist_constants.py +284 -0
  799. wx/lib/agw/persist/persist_handlers.py +2614 -0
  800. wx/lib/agw/persist/persistencemanager.py +864 -0
  801. wx/lib/agw/piectrl.py +1082 -0
  802. wx/lib/agw/pybusyinfo.py +399 -0
  803. wx/lib/agw/pycollapsiblepane.py +940 -0
  804. wx/lib/agw/pygauge.py +570 -0
  805. wx/lib/agw/pyprogress.py +917 -0
  806. wx/lib/agw/ribbon/__init__.py +198 -0
  807. wx/lib/agw/ribbon/art.py +219 -0
  808. wx/lib/agw/ribbon/art_aui.py +1284 -0
  809. wx/lib/agw/ribbon/art_default.py +81 -0
  810. wx/lib/agw/ribbon/art_internal.py +244 -0
  811. wx/lib/agw/ribbon/art_msw.py +2736 -0
  812. wx/lib/agw/ribbon/art_osx.py +52 -0
  813. wx/lib/agw/ribbon/bar.py +1261 -0
  814. wx/lib/agw/ribbon/buttonbar.py +1320 -0
  815. wx/lib/agw/ribbon/control.py +205 -0
  816. wx/lib/agw/ribbon/gallery.py +974 -0
  817. wx/lib/agw/ribbon/page.py +946 -0
  818. wx/lib/agw/ribbon/panel.py +1170 -0
  819. wx/lib/agw/ribbon/toolbar.py +1442 -0
  820. wx/lib/agw/rulerctrl.py +1887 -0
  821. wx/lib/agw/scrolledthumbnail.py +2119 -0
  822. wx/lib/agw/shapedbutton.py +1809 -0
  823. wx/lib/agw/shortcuteditor.py +2634 -0
  824. wx/lib/agw/speedmeter.py +1801 -0
  825. wx/lib/agw/supertooltip.py +1444 -0
  826. wx/lib/agw/thumbnailctrl.py +529 -0
  827. wx/lib/agw/toasterbox.py +1327 -0
  828. wx/lib/agw/ultimatelistctrl.py +13666 -0
  829. wx/lib/agw/xlsgrid.py +2113 -0
  830. wx/lib/agw/zoombar.py +1339 -0
  831. wx/lib/analogclock/__init__.py +140 -0
  832. wx/lib/analogclock/analogclock.py +631 -0
  833. wx/lib/analogclock/helpers.py +991 -0
  834. wx/lib/analogclock/lib_setup/__init__.py +0 -0
  835. wx/lib/analogclock/lib_setup/buttontreectrlpanel.py +297 -0
  836. wx/lib/analogclock/lib_setup/fontselect.py +57 -0
  837. wx/lib/analogclock/setup.py +490 -0
  838. wx/lib/analogclock/styles.py +47 -0
  839. wx/lib/anchors.py +103 -0
  840. wx/lib/art/__init__.py +4 -0
  841. wx/lib/art/flagart.py +1583 -0
  842. wx/lib/art/img2pyartprov.py +56 -0
  843. wx/lib/busy.py +146 -0
  844. wx/lib/buttons.py +1141 -0
  845. wx/lib/calendar.py +1597 -0
  846. wx/lib/checkbox.py +837 -0
  847. wx/lib/colourchooser/__init__.py +38 -0
  848. wx/lib/colourchooser/canvas.py +145 -0
  849. wx/lib/colourchooser/intl.py +24 -0
  850. wx/lib/colourchooser/pycolourbox.py +89 -0
  851. wx/lib/colourchooser/pycolourchooser.py +629 -0
  852. wx/lib/colourchooser/pycolourslider.py +100 -0
  853. wx/lib/colourchooser/pypalette.py +211 -0
  854. wx/lib/colourdb.py +740 -0
  855. wx/lib/colourselect.py +385 -0
  856. wx/lib/colourutils.py +118 -0
  857. wx/lib/combotreebox.py +944 -0
  858. wx/lib/delayedresult.py +420 -0
  859. wx/lib/dialogs.py +510 -0
  860. wx/lib/docview.py +3210 -0
  861. wx/lib/dragscroller.py +79 -0
  862. wx/lib/editor/README.txt +77 -0
  863. wx/lib/editor/__init__.py +24 -0
  864. wx/lib/editor/editor.py +974 -0
  865. wx/lib/editor/images.py +15 -0
  866. wx/lib/editor/selection.py +44 -0
  867. wx/lib/embeddedimage.py +76 -0
  868. wx/lib/eventStack.py +136 -0
  869. wx/lib/eventwatcher.py +440 -0
  870. wx/lib/evtmgr.py +521 -0
  871. wx/lib/expando.py +393 -0
  872. wx/lib/fancytext.py +505 -0
  873. wx/lib/filebrowsebutton.py +459 -0
  874. wx/lib/flashwin.py +262 -0
  875. wx/lib/flashwin_old.py +651 -0
  876. wx/lib/floatcanvas/FCEvents.py +53 -0
  877. wx/lib/floatcanvas/FCObjects.py +2923 -0
  878. wx/lib/floatcanvas/FloatCanvas.py +1027 -0
  879. wx/lib/floatcanvas/GUIMode.py +396 -0
  880. wx/lib/floatcanvas/NavCanvas.py +161 -0
  881. wx/lib/floatcanvas/Resources.py +319 -0
  882. wx/lib/floatcanvas/ScreenShot.py +1788 -0
  883. wx/lib/floatcanvas/Utilities/BBox.py +314 -0
  884. wx/lib/floatcanvas/Utilities/Colors.py +137 -0
  885. wx/lib/floatcanvas/Utilities/GUI.py +91 -0
  886. wx/lib/floatcanvas/Utilities/__init__.py +7 -0
  887. wx/lib/floatcanvas/__init__.py +124 -0
  888. wx/lib/foldmenu.py +89 -0
  889. wx/lib/gestures.py +310 -0
  890. wx/lib/gizmos/__init__.py +18 -0
  891. wx/lib/gizmos/dynamicsash.py +1202 -0
  892. wx/lib/gizmos/ledctrl.py +300 -0
  893. wx/lib/gizmos/treelistctrl.py +87 -0
  894. wx/lib/graphics.py +1939 -0
  895. wx/lib/gridmovers.py +511 -0
  896. wx/lib/iewin.py +249 -0
  897. wx/lib/iewin_old.py +894 -0
  898. wx/lib/imagebrowser.py +856 -0
  899. wx/lib/imageutils.py +163 -0
  900. wx/lib/infoframe.py +490 -0
  901. wx/lib/inspection.py +1255 -0
  902. wx/lib/intctrl.py +1001 -0
  903. wx/lib/itemspicker.py +256 -0
  904. wx/lib/langlistctrl.py +480 -0
  905. wx/lib/layoutf.py +271 -0
  906. wx/lib/masked/__init__.py +27 -0
  907. wx/lib/masked/combobox.py +839 -0
  908. wx/lib/masked/ctrl.py +108 -0
  909. wx/lib/masked/ipaddrctrl.py +242 -0
  910. wx/lib/masked/maskededit.py +7279 -0
  911. wx/lib/masked/numctrl.py +2001 -0
  912. wx/lib/masked/textctrl.py +465 -0
  913. wx/lib/masked/timectrl.py +1466 -0
  914. wx/lib/mixins/__init__.py +17 -0
  915. wx/lib/mixins/grid.py +47 -0
  916. wx/lib/mixins/gridlabelrenderer.py +251 -0
  917. wx/lib/mixins/imagelist.py +77 -0
  918. wx/lib/mixins/inspection.py +184 -0
  919. wx/lib/mixins/listctrl.py +894 -0
  920. wx/lib/mixins/rubberband.py +404 -0
  921. wx/lib/mixins/treemixin.py +678 -0
  922. wx/lib/msgpanel.py +95 -0
  923. wx/lib/multisash.py +747 -0
  924. wx/lib/myole4ax.idl +178 -0
  925. wx/lib/myole4ax.tlb +0 -0
  926. wx/lib/newevent.py +229 -0
  927. wx/lib/nvdlg.py +156 -0
  928. wx/lib/ogl/__init__.py +13 -0
  929. wx/lib/ogl/basic.py +3991 -0
  930. wx/lib/ogl/bmpshape.py +87 -0
  931. wx/lib/ogl/canvas.py +467 -0
  932. wx/lib/ogl/composit.py +1577 -0
  933. wx/lib/ogl/diagram.py +230 -0
  934. wx/lib/ogl/divided.py +483 -0
  935. wx/lib/ogl/drawn.py +900 -0
  936. wx/lib/ogl/lines.py +1811 -0
  937. wx/lib/ogl/oglmisc.py +608 -0
  938. wx/lib/pdfviewer/__init__.py +113 -0
  939. wx/lib/pdfviewer/bitmaps/ArrowLeft.png +0 -0
  940. wx/lib/pdfviewer/bitmaps/ArrowRight.png +0 -0
  941. wx/lib/pdfviewer/bitmaps/DirectionH.png +0 -0
  942. wx/lib/pdfviewer/bitmaps/DirectionV.png +0 -0
  943. wx/lib/pdfviewer/bitmaps/PlayerFirst.png +0 -0
  944. wx/lib/pdfviewer/bitmaps/PlayerLast.png +0 -0
  945. wx/lib/pdfviewer/bitmaps/PlayerNext.png +0 -0
  946. wx/lib/pdfviewer/bitmaps/PlayerPrev.png +0 -0
  947. wx/lib/pdfviewer/bitmaps/Printer.png +0 -0
  948. wx/lib/pdfviewer/bitmaps/ReadMe.txt +28 -0
  949. wx/lib/pdfviewer/bitmaps/Save.png +0 -0
  950. wx/lib/pdfviewer/bitmaps/ZoomIn.png +0 -0
  951. wx/lib/pdfviewer/bitmaps/ZoomOut.png +0 -0
  952. wx/lib/pdfviewer/bitmaps/encode_bitmaps.py +37 -0
  953. wx/lib/pdfviewer/buttonpanel.py +279 -0
  954. wx/lib/pdfviewer/images.py +240 -0
  955. wx/lib/pdfviewer/viewer.py +1077 -0
  956. wx/lib/pdfwin.py +295 -0
  957. wx/lib/pdfwin_old.py +789 -0
  958. wx/lib/platebtn.py +789 -0
  959. wx/lib/plot/CHANGELOG.md +150 -0
  960. wx/lib/plot/README.md +16 -0
  961. wx/lib/plot/__init__.py +46 -0
  962. wx/lib/plot/__main__.py +5 -0
  963. wx/lib/plot/examples/__init__.py +0 -0
  964. wx/lib/plot/examples/demo.py +1009 -0
  965. wx/lib/plot/examples/simple_example.py +54 -0
  966. wx/lib/plot/plotcanvas.py +2981 -0
  967. wx/lib/plot/polyobjects.py +1525 -0
  968. wx/lib/plot/utils.py +327 -0
  969. wx/lib/popupctl.py +250 -0
  970. wx/lib/printout.py +1157 -0
  971. wx/lib/progressindicator.py +151 -0
  972. wx/lib/pubsub/LICENSE_BSD_Simple.txt +23 -0
  973. wx/lib/pubsub/README_WxPython.txt +22 -0
  974. wx/lib/pubsub/RELEASE_NOTES.txt +71 -0
  975. wx/lib/pubsub/__init__.py +25 -0
  976. wx/lib/pubsub/core/__init__.py +92 -0
  977. wx/lib/pubsub/core/arg1/__init__.py +16 -0
  978. wx/lib/pubsub/core/arg1/listenerimpl.py +97 -0
  979. wx/lib/pubsub/core/arg1/publisher.py +40 -0
  980. wx/lib/pubsub/core/arg1/publishermixin.py +34 -0
  981. wx/lib/pubsub/core/arg1/topicargspecimpl.py +66 -0
  982. wx/lib/pubsub/core/arg1/topicmgrimpl.py +19 -0
  983. wx/lib/pubsub/core/callables.py +191 -0
  984. wx/lib/pubsub/core/imp2.py +63 -0
  985. wx/lib/pubsub/core/itopicdefnprovider.py +0 -0
  986. wx/lib/pubsub/core/kwargs/__init__.py +16 -0
  987. wx/lib/pubsub/core/kwargs/datamsg.py +27 -0
  988. wx/lib/pubsub/core/kwargs/listenerimpl.py +93 -0
  989. wx/lib/pubsub/core/kwargs/publisher.py +77 -0
  990. wx/lib/pubsub/core/kwargs/publishermixin.py +65 -0
  991. wx/lib/pubsub/core/kwargs/topicargspecimpl.py +217 -0
  992. wx/lib/pubsub/core/kwargs/topicmgrimpl.py +13 -0
  993. wx/lib/pubsub/core/listener.py +40 -0
  994. wx/lib/pubsub/core/listenerbase.py +185 -0
  995. wx/lib/pubsub/core/notificationmgr.py +185 -0
  996. wx/lib/pubsub/core/publisherbase.py +191 -0
  997. wx/lib/pubsub/core/topicargspec.py +77 -0
  998. wx/lib/pubsub/core/topicdefnprovider.py +632 -0
  999. wx/lib/pubsub/core/topicexc.py +72 -0
  1000. wx/lib/pubsub/core/topicmgr.py +456 -0
  1001. wx/lib/pubsub/core/topicobj.py +472 -0
  1002. wx/lib/pubsub/core/topictreetraverser.py +143 -0
  1003. wx/lib/pubsub/core/topicutils.py +118 -0
  1004. wx/lib/pubsub/core/treeconfig.py +21 -0
  1005. wx/lib/pubsub/core/validatedefnargs.py +29 -0
  1006. wx/lib/pubsub/core/weakmethod.py +102 -0
  1007. wx/lib/pubsub/policies.py +24 -0
  1008. wx/lib/pubsub/pub.py +199 -0
  1009. wx/lib/pubsub/py2and3.py +608 -0
  1010. wx/lib/pubsub/setuparg1.py +47 -0
  1011. wx/lib/pubsub/setupkwargs.py +29 -0
  1012. wx/lib/pubsub/utils/__init__.py +27 -0
  1013. wx/lib/pubsub/utils/exchandling.py +100 -0
  1014. wx/lib/pubsub/utils/misc.py +100 -0
  1015. wx/lib/pubsub/utils/notification.py +331 -0
  1016. wx/lib/pubsub/utils/topictreeprinter.py +195 -0
  1017. wx/lib/pubsub/utils/xmltopicdefnprovider.py +287 -0
  1018. wx/lib/pydocview.py +3300 -0
  1019. wx/lib/rcsizer.py +229 -0
  1020. wx/lib/resizewidget.py +357 -0
  1021. wx/lib/scrolledpanel.py +225 -0
  1022. wx/lib/sheet.py +350 -0
  1023. wx/lib/sized_controls.py +691 -0
  1024. wx/lib/softwareupdate.py +361 -0
  1025. wx/lib/splitter.py +925 -0
  1026. wx/lib/statbmp.py +199 -0
  1027. wx/lib/stattext.py +322 -0
  1028. wx/lib/throbber.py +425 -0
  1029. wx/lib/ticker.py +295 -0
  1030. wx/lib/ticker_xrc.py +48 -0
  1031. wx/lib/utils.py +89 -0
  1032. wx/lib/wordwrap.py +97 -0
  1033. wx/lib/wxcairo/__init__.py +124 -0
  1034. wx/lib/wxcairo/wx_cairocffi.py +200 -0
  1035. wx/lib/wxcairo/wx_pycairo.py +463 -0
  1036. wx/lib/wxpTag.py +274 -0
  1037. wx/locale/af/LC_MESSAGES/wxstd.mo +0 -0
  1038. wx/locale/an/LC_MESSAGES/wxstd.mo +0 -0
  1039. wx/locale/ar/LC_MESSAGES/wxstd.mo +0 -0
  1040. wx/locale/ca/LC_MESSAGES/wxstd.mo +0 -0
  1041. wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo +0 -0
  1042. wx/locale/cs/LC_MESSAGES/wxstd.mo +0 -0
  1043. wx/locale/da/LC_MESSAGES/wxstd.mo +0 -0
  1044. wx/locale/de/LC_MESSAGES/wxstd.mo +0 -0
  1045. wx/locale/el/LC_MESSAGES/wxstd.mo +0 -0
  1046. wx/locale/es/LC_MESSAGES/wxstd.mo +0 -0
  1047. wx/locale/eu/LC_MESSAGES/wxstd.mo +0 -0
  1048. wx/locale/fa_IR/LC_MESSAGES/wxstd.mo +0 -0
  1049. wx/locale/fi/LC_MESSAGES/wxstd.mo +0 -0
  1050. wx/locale/fr/LC_MESSAGES/wxstd.mo +0 -0
  1051. wx/locale/gl_ES/LC_MESSAGES/wxstd.mo +0 -0
  1052. wx/locale/hi/LC_MESSAGES/wxstd.mo +0 -0
  1053. wx/locale/hr/LC_MESSAGES/wxstd.mo +0 -0
  1054. wx/locale/hu/LC_MESSAGES/wxstd.mo +0 -0
  1055. wx/locale/id/LC_MESSAGES/wxstd.mo +0 -0
  1056. wx/locale/it/LC_MESSAGES/wxstd.mo +0 -0
  1057. wx/locale/ja/LC_MESSAGES/wxstd.mo +0 -0
  1058. wx/locale/ka/LC_MESSAGES/wxstd.mo +0 -0
  1059. wx/locale/ko_KR/LC_MESSAGES/wxstd.mo +0 -0
  1060. wx/locale/lt/LC_MESSAGES/wxstd.mo +0 -0
  1061. wx/locale/lv/LC_MESSAGES/wxstd.mo +0 -0
  1062. wx/locale/ms/LC_MESSAGES/wxstd.mo +0 -0
  1063. wx/locale/nb/LC_MESSAGES/wxstd.mo +0 -0
  1064. wx/locale/ne/LC_MESSAGES/wxstd.mo +0 -0
  1065. wx/locale/nl/LC_MESSAGES/wxstd.mo +0 -0
  1066. wx/locale/pl/LC_MESSAGES/wxstd.mo +0 -0
  1067. wx/locale/pt/LC_MESSAGES/wxstd.mo +0 -0
  1068. wx/locale/pt_BR/LC_MESSAGES/wxstd.mo +0 -0
  1069. wx/locale/ro/LC_MESSAGES/wxstd.mo +0 -0
  1070. wx/locale/ru/LC_MESSAGES/wxstd.mo +0 -0
  1071. wx/locale/sk/LC_MESSAGES/wxstd.mo +0 -0
  1072. wx/locale/sl/LC_MESSAGES/wxstd.mo +0 -0
  1073. wx/locale/sq/LC_MESSAGES/wxstd.mo +0 -0
  1074. wx/locale/sv/LC_MESSAGES/wxstd.mo +0 -0
  1075. wx/locale/ta/LC_MESSAGES/wxstd.mo +0 -0
  1076. wx/locale/tr/LC_MESSAGES/wxstd.mo +0 -0
  1077. wx/locale/uk/LC_MESSAGES/wxstd.mo +0 -0
  1078. wx/locale/vi/LC_MESSAGES/wxstd.mo +0 -0
  1079. wx/locale/zh_CN/LC_MESSAGES/wxstd.mo +0 -0
  1080. wx/locale/zh_TW/LC_MESSAGES/wxstd.mo +0 -0
  1081. wx/media.py +27 -0
  1082. wx/media.pyi +223 -0
  1083. wx/msw.py +13 -0
  1084. wx/msw.pyi +65 -0
  1085. wx/propgrid.py +1451 -0
  1086. wx/propgrid.pyi +7914 -0
  1087. wx/py/CHANGES.txt +796 -0
  1088. wx/py/Py.ico +0 -0
  1089. wx/py/PyAlaCarte.py +34 -0
  1090. wx/py/PyAlaMode.py +34 -0
  1091. wx/py/PyAlaModeTest.py +33 -0
  1092. wx/py/PyCrust.ico +0 -0
  1093. wx/py/PyCrust.py +78 -0
  1094. wx/py/PyCrust_16.png +0 -0
  1095. wx/py/PyCrust_32.png +0 -0
  1096. wx/py/PyFilling.py +35 -0
  1097. wx/py/PyShell.py +78 -0
  1098. wx/py/PySlices.ico +0 -0
  1099. wx/py/PySlices.py +98 -0
  1100. wx/py/PySlicesShell.py +94 -0
  1101. wx/py/PySlices_16.png +0 -0
  1102. wx/py/PySlices_32.png +0 -0
  1103. wx/py/PyWrap.py +52 -0
  1104. wx/py/README.txt +77 -0
  1105. wx/py/__init__.py +20 -0
  1106. wx/py/buffer.py +136 -0
  1107. wx/py/crust.py +403 -0
  1108. wx/py/crustslices.py +403 -0
  1109. wx/py/dispatcher.py +259 -0
  1110. wx/py/document.py +37 -0
  1111. wx/py/editor.py +844 -0
  1112. wx/py/editwindow.py +299 -0
  1113. wx/py/filling.py +357 -0
  1114. wx/py/frame.py +978 -0
  1115. wx/py/images.py +212 -0
  1116. wx/py/interpreter.py +170 -0
  1117. wx/py/introspect.py +393 -0
  1118. wx/py/magic.py +98 -0
  1119. wx/py/parse.py +134 -0
  1120. wx/py/path.py +36 -0
  1121. wx/py/pseudo.py +99 -0
  1122. wx/py/shell.py +1588 -0
  1123. wx/py/sliceshell.py +3814 -0
  1124. wx/py/tests/test_interpreter.py +71 -0
  1125. wx/py/tests/test_introspect.py +862 -0
  1126. wx/py/tests/test_pseudo.py +70 -0
  1127. wx/py/tests/test_version.py +36 -0
  1128. wx/py/tests/testall.py +22 -0
  1129. wx/py/version.py +7 -0
  1130. wx/ribbon.py +45 -0
  1131. wx/ribbon.pyi +2494 -0
  1132. wx/richtext.py +142 -0
  1133. wx/richtext.pyi +12113 -0
  1134. wx/siplib.cp313-win_amd64.pyd +0 -0
  1135. wx/stc.py +58 -0
  1136. wx/stc.pyi +8463 -0
  1137. wx/svg/__init__.py +364 -0
  1138. wx/svg/_nanosvg.cp313-win_amd64.pyd +0 -0
  1139. wx/tools/__init__.py +18 -0
  1140. wx/tools/dbg.py +268 -0
  1141. wx/tools/genaxmodule.py +50 -0
  1142. wx/tools/helpviewer.py +92 -0
  1143. wx/tools/img2img.py +85 -0
  1144. wx/tools/img2png.py +54 -0
  1145. wx/tools/img2py.py +309 -0
  1146. wx/tools/img2xpm.py +54 -0
  1147. wx/tools/pywxrc.py +949 -0
  1148. wx/tools/wxget.py +254 -0
  1149. wx/tools/wxget_docs_demo.py +186 -0
  1150. wx/wxbase315u_net_vc140_x64.dll +0 -0
  1151. wx/wxbase315u_vc140_x64.dll +0 -0
  1152. wx/wxbase315u_xml_vc140_x64.dll +0 -0
  1153. wx/wxmsw315u_adv_vc140_x64.dll +0 -0
  1154. wx/wxmsw315u_aui_vc140_x64.dll +0 -0
  1155. wx/wxmsw315u_core_vc140_x64.dll +0 -0
  1156. wx/wxmsw315u_gl_vc140_x64.dll +0 -0
  1157. wx/wxmsw315u_html_vc140_x64.dll +0 -0
  1158. wx/wxmsw315u_media_vc140_x64.dll +0 -0
  1159. wx/wxmsw315u_propgrid_vc140_x64.dll +0 -0
  1160. wx/wxmsw315u_qa_vc140_x64.dll +0 -0
  1161. wx/wxmsw315u_ribbon_vc140_x64.dll +0 -0
  1162. wx/wxmsw315u_richtext_vc140_x64.dll +0 -0
  1163. wx/wxmsw315u_stc_vc140_x64.dll +0 -0
  1164. wx/wxmsw315u_webview_vc140_x64.dll +0 -0
  1165. wx/wxmsw315u_xrc_vc140_x64.dll +0 -0
  1166. wx/xml.py +15 -0
  1167. wx/xml.pyi +575 -0
  1168. wx/xrc.py +65 -0
  1169. wx/xrc.pyi +742 -0
  1170. wxPython_zombie-3.1.5.8.dist-info/LICENSE.txt +950 -0
  1171. wxPython_zombie-3.1.5.8.dist-info/METADATA +107 -0
  1172. wxPython_zombie-3.1.5.8.dist-info/RECORD +1175 -0
  1173. wxPython_zombie-3.1.5.8.dist-info/WHEEL +5 -0
  1174. wxPython_zombie-3.1.5.8.dist-info/entry_points.txt +2 -0
  1175. wxPython_zombie-3.1.5.8.dist-info/top_level.txt +1 -0
wx/dataview.pyi ADDED
@@ -0,0 +1,3491 @@
1
+ # -*- coding: utf-8 -*-
2
+ #---------------------------------------------------------------------------
3
+ # This file is generated by wxPython's PI generator. Do not edit by hand.
4
+ #
5
+ # The *.pyi files are used by PyCharm and other development tools to provide
6
+ # more information, such as PEP 484 type hints, than it is able to glean from
7
+ # introspection of extension types and methods. They are not intended to be
8
+ # imported, executed or used for any other purpose other than providing info
9
+ # to the tools. If you don't use use a tool that makes use of .pyi files then
10
+ # you can safely ignore this file.
11
+ #
12
+ # See: https://www.python.org/dev/peps/pep-0484/
13
+ # https://www.jetbrains.com/help/pycharm/2016.1/type-hinting-in-pycharm.html
14
+ #
15
+ #---------------------------------------------------------------------------
16
+
17
+
18
+ """
19
+ The classes in this module provide views and data models for viewing tabular
20
+ or hierarchical data in a more advanced way than what is provided by classes
21
+ such as :ref:`wx.ListCtrl`, :ref:`wx.TreeCtrl`, etc.
22
+ """
23
+
24
+ #-- begin-_dataview --#
25
+
26
+ import wx
27
+
28
+ #-- end-_dataview --#
29
+ #-- begin-dataview --#
30
+ DVC_DEFAULT_RENDERER_SIZE = 0
31
+ DVC_DEFAULT_WIDTH = 0
32
+ DVC_TOGGLE_DEFAULT_WIDTH = 0
33
+ DVC_DEFAULT_MINWIDTH = 0
34
+ DVR_DEFAULT_ALIGNMENT = 0
35
+ DV_SINGLE = 0
36
+ DV_MULTIPLE = 0
37
+ DV_NO_HEADER = 0
38
+ DV_HORIZ_RULES = 0
39
+ DV_VERT_RULES = 0
40
+ DV_ROW_LINES = 0
41
+ DV_VARIABLE_LINE_HEIGHT = 0
42
+ DATAVIEW_CELL_INERT = 0
43
+ DATAVIEW_CELL_ACTIVATABLE = 0
44
+ DATAVIEW_CELL_EDITABLE = 0
45
+ DATAVIEW_CELL_SELECTED = 0
46
+ DATAVIEW_CELL_PRELIT = 0
47
+ DATAVIEW_CELL_INSENSITIVE = 0
48
+ DATAVIEW_CELL_FOCUSED = 0
49
+ DATAVIEW_COL_RESIZABLE = 0
50
+ DATAVIEW_COL_SORTABLE = 0
51
+ DATAVIEW_COL_REORDERABLE = 0
52
+ DATAVIEW_COL_HIDDEN = 0
53
+ wxEVT_DATAVIEW_SELECTION_CHANGED = 0
54
+ wxEVT_DATAVIEW_ITEM_ACTIVATED = 0
55
+ wxEVT_DATAVIEW_ITEM_COLLAPSING = 0
56
+ wxEVT_DATAVIEW_ITEM_COLLAPSED = 0
57
+ wxEVT_DATAVIEW_ITEM_EXPANDING = 0
58
+ wxEVT_DATAVIEW_ITEM_EXPANDED = 0
59
+ wxEVT_DATAVIEW_ITEM_START_EDITING = 0
60
+ wxEVT_DATAVIEW_ITEM_EDITING_STARTED = 0
61
+ wxEVT_DATAVIEW_ITEM_EDITING_DONE = 0
62
+ wxEVT_DATAVIEW_ITEM_VALUE_CHANGED = 0
63
+ wxEVT_DATAVIEW_ITEM_CONTEXT_MENU = 0
64
+ wxEVT_DATAVIEW_COLUMN_HEADER_CLICK = 0
65
+ wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK = 0
66
+ wxEVT_DATAVIEW_COLUMN_SORTED = 0
67
+ wxEVT_DATAVIEW_COLUMN_REORDERED = 0
68
+ wxEVT_DATAVIEW_CACHE_HINT = 0
69
+ wxEVT_DATAVIEW_ITEM_BEGIN_DRAG = 0
70
+ wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE = 0
71
+ wxEVT_DATAVIEW_ITEM_DROP = 0
72
+
73
+ class DataViewItem(object):
74
+ """
75
+ DataViewItem()
76
+ DataViewItem(item)
77
+ DataViewItem(id)
78
+
79
+ wxDataViewItem is a small opaque class that represents an item in a
80
+ wxDataViewCtrl in a persistent way, i.e.
81
+ """
82
+
83
+ def __init__(self, *args, **kw):
84
+ """
85
+ DataViewItem()
86
+ DataViewItem(item)
87
+ DataViewItem(id)
88
+
89
+ wxDataViewItem is a small opaque class that represents an item in a
90
+ wxDataViewCtrl in a persistent way, i.e.
91
+ """
92
+
93
+ def GetID(self):
94
+ """
95
+ GetID() -> void
96
+
97
+ Returns the ID.
98
+ """
99
+
100
+ def IsOk(self):
101
+ """
102
+ IsOk() -> bool
103
+
104
+ Returns true if the ID is not NULL.
105
+ """
106
+
107
+ def __nonzero__(self):
108
+ """
109
+ __nonzero__() -> int
110
+ """
111
+
112
+ def __bool__(self):
113
+ """
114
+ __bool__() -> int
115
+ """
116
+
117
+ def __hash__(self):
118
+ """
119
+ __hash__() -> long
120
+ """
121
+
122
+ def __eq__(self, other):
123
+ """
124
+ __eq__(other) -> bool
125
+ """
126
+
127
+ def __ne__(self, other):
128
+ """
129
+ __ne__(other) -> bool
130
+ """
131
+ ID = property(None, None)
132
+ # end of class DataViewItem
133
+
134
+
135
+ class DataViewItemAttr(object):
136
+ """
137
+ DataViewItemAttr()
138
+
139
+ This class is used to indicate to a wxDataViewCtrl that a certain item
140
+ (see wxDataViewItem) has extra font attributes for its renderer.
141
+ """
142
+
143
+ def __init__(self):
144
+ """
145
+ DataViewItemAttr()
146
+
147
+ This class is used to indicate to a wxDataViewCtrl that a certain item
148
+ (see wxDataViewItem) has extra font attributes for its renderer.
149
+ """
150
+
151
+ def SetBold(self, set):
152
+ """
153
+ SetBold(set)
154
+
155
+ Call this to indicate that the item shall be displayed in bold text.
156
+ """
157
+
158
+ def SetColour(self, colour):
159
+ """
160
+ SetColour(colour)
161
+
162
+ Call this to indicate that the item shall be displayed with that
163
+ colour.
164
+ """
165
+
166
+ def SetBackgroundColour(self, colour):
167
+ """
168
+ SetBackgroundColour(colour)
169
+
170
+ Call this to set the background colour to use.
171
+ """
172
+
173
+ def SetItalic(self, set):
174
+ """
175
+ SetItalic(set)
176
+
177
+ Call this to indicate that the item shall be displayed in italic text.
178
+ """
179
+
180
+ def SetStrikethrough(self, set):
181
+ """
182
+ SetStrikethrough(set)
183
+
184
+ Call this to indicate that the item shall be displayed in
185
+ strikethrough text.
186
+ """
187
+
188
+ def HasColour(self):
189
+ """
190
+ HasColour() -> bool
191
+
192
+ Returns true if the colour property has been set.
193
+ """
194
+
195
+ def GetColour(self):
196
+ """
197
+ GetColour() -> wx.Colour
198
+
199
+ Returns this attribute's colour.
200
+ """
201
+
202
+ def HasFont(self):
203
+ """
204
+ HasFont() -> bool
205
+
206
+ Returns true if any property affecting the font has been set.
207
+ """
208
+
209
+ def GetBold(self):
210
+ """
211
+ GetBold() -> bool
212
+
213
+ Returns value of the bold property.
214
+ """
215
+
216
+ def GetItalic(self):
217
+ """
218
+ GetItalic() -> bool
219
+
220
+ Returns value of the italics property.
221
+ """
222
+
223
+ def HasBackgroundColour(self):
224
+ """
225
+ HasBackgroundColour() -> bool
226
+
227
+ Returns true if the background colour property has been set.
228
+ """
229
+
230
+ def GetBackgroundColour(self):
231
+ """
232
+ GetBackgroundColour() -> wx.Colour
233
+
234
+ Returns the colour to be used for the background.
235
+ """
236
+
237
+ def IsDefault(self):
238
+ """
239
+ IsDefault() -> bool
240
+
241
+ Returns true if none of the properties have been set.
242
+ """
243
+
244
+ def GetEffectiveFont(self, font):
245
+ """
246
+ GetEffectiveFont(font) -> wx.Font
247
+
248
+ Return the font based on the given one with this attribute applied to
249
+ it.
250
+ """
251
+ BackgroundColour = property(None, None)
252
+ Bold = property(None, None)
253
+ Colour = property(None, None)
254
+ Italic = property(None, None)
255
+ # end of class DataViewItemAttr
256
+
257
+
258
+ class DataViewIconText(wx.Object):
259
+ """
260
+ DataViewIconText(text=wx.EmptyString, icon=wx.NullIcon)
261
+ DataViewIconText(other)
262
+
263
+ wxDataViewIconText is used by wxDataViewIconTextRenderer for data
264
+ transfer.
265
+ """
266
+
267
+ def __init__(self, *args, **kw):
268
+ """
269
+ DataViewIconText(text=wx.EmptyString, icon=wx.NullIcon)
270
+ DataViewIconText(other)
271
+
272
+ wxDataViewIconText is used by wxDataViewIconTextRenderer for data
273
+ transfer.
274
+ """
275
+
276
+ def GetIcon(self):
277
+ """
278
+ GetIcon() -> wx.Icon
279
+
280
+ Gets the icon.
281
+ """
282
+
283
+ def GetText(self):
284
+ """
285
+ GetText() -> String
286
+
287
+ Gets the text.
288
+ """
289
+
290
+ def SetIcon(self, icon):
291
+ """
292
+ SetIcon(icon)
293
+
294
+ Set the icon.
295
+ """
296
+
297
+ def SetText(self, text):
298
+ """
299
+ SetText(text)
300
+
301
+ Set the text.
302
+ """
303
+ Icon = property(None, None)
304
+ Text = property(None, None)
305
+ # end of class DataViewIconText
306
+
307
+
308
+ class DataViewModelNotifier(object):
309
+ """
310
+ DataViewModelNotifier()
311
+
312
+ A wxDataViewModelNotifier instance is owned by a wxDataViewModel and
313
+ mirrors its notification interface.
314
+ """
315
+
316
+ def __init__(self):
317
+ """
318
+ DataViewModelNotifier()
319
+
320
+ A wxDataViewModelNotifier instance is owned by a wxDataViewModel and
321
+ mirrors its notification interface.
322
+ """
323
+
324
+ def Cleared(self):
325
+ """
326
+ Cleared() -> bool
327
+
328
+ Called by owning model.
329
+ """
330
+
331
+ def GetOwner(self):
332
+ """
333
+ GetOwner() -> DataViewModel
334
+
335
+ Get owning wxDataViewModel.
336
+ """
337
+
338
+ def ItemAdded(self, parent, item):
339
+ """
340
+ ItemAdded(parent, item) -> bool
341
+
342
+ Called by owning model.
343
+ """
344
+
345
+ def ItemChanged(self, item):
346
+ """
347
+ ItemChanged(item) -> bool
348
+
349
+ Called by owning model.
350
+ """
351
+
352
+ def ItemDeleted(self, parent, item):
353
+ """
354
+ ItemDeleted(parent, item) -> bool
355
+
356
+ Called by owning model.
357
+ """
358
+
359
+ def ItemsAdded(self, parent, items):
360
+ """
361
+ ItemsAdded(parent, items) -> bool
362
+
363
+ Called by owning model.
364
+ """
365
+
366
+ def ItemsChanged(self, items):
367
+ """
368
+ ItemsChanged(items) -> bool
369
+
370
+ Called by owning model.
371
+ """
372
+
373
+ def ItemsDeleted(self, parent, items):
374
+ """
375
+ ItemsDeleted(parent, items) -> bool
376
+
377
+ Called by owning model.
378
+ """
379
+
380
+ def Resort(self):
381
+ """
382
+ Resort()
383
+
384
+ Called by owning model.
385
+ """
386
+
387
+ def SetOwner(self, owner):
388
+ """
389
+ SetOwner(owner)
390
+
391
+ Set owner of this notifier.
392
+ """
393
+
394
+ def ValueChanged(self, item, col):
395
+ """
396
+ ValueChanged(item, col) -> bool
397
+
398
+ Called by owning model.
399
+ """
400
+ Owner = property(None, None)
401
+ # end of class DataViewModelNotifier
402
+
403
+
404
+ class DataViewModel(wx.RefCounter):
405
+ """
406
+ DataViewModel()
407
+
408
+ wxDataViewModel is the base class for all data model to be displayed
409
+ by a wxDataViewCtrl.
410
+ """
411
+
412
+ def __init__(self):
413
+ """
414
+ DataViewModel()
415
+
416
+ wxDataViewModel is the base class for all data model to be displayed
417
+ by a wxDataViewCtrl.
418
+ """
419
+
420
+ def AddNotifier(self, notifier):
421
+ """
422
+ AddNotifier(notifier)
423
+
424
+ Adds a wxDataViewModelNotifier to the model.
425
+ """
426
+
427
+ def ChangeValue(self, variant, item, col):
428
+ """
429
+ ChangeValue(variant, item, col) -> bool
430
+
431
+ Change the value of the given item and update the control to reflect
432
+ it.
433
+ """
434
+
435
+ def Cleared(self):
436
+ """
437
+ Cleared() -> bool
438
+
439
+ Called to inform the model that all of its data has been changed.
440
+ """
441
+
442
+ def Compare(self, item1, item2, column, ascending):
443
+ """
444
+ Compare(item1, item2, column, ascending) -> int
445
+
446
+ The compare function to be used by the control.
447
+ """
448
+
449
+ def GetAttr(self, item, col, attr):
450
+ """
451
+ GetAttr(item, col, attr) -> bool
452
+
453
+ Override this to indicate that the item has special font attributes.
454
+ """
455
+
456
+ def IsEnabled(self, item, col):
457
+ """
458
+ IsEnabled(item, col) -> bool
459
+
460
+ Override this to indicate that the item should be disabled.
461
+ """
462
+
463
+ def GetChildren(self, item, children):
464
+ """
465
+ GetChildren(item, children) -> unsignedint
466
+
467
+ Override this so the control can query the child items of an item.
468
+ """
469
+
470
+ def GetColumnCount(self):
471
+ """
472
+ GetColumnCount() -> unsignedint
473
+
474
+ Override this to indicate the number of columns in the model.
475
+ """
476
+
477
+ def GetColumnType(self, col):
478
+ """
479
+ GetColumnType(col) -> String
480
+
481
+ Override this to indicate what type of data is stored in the column
482
+ specified by col.
483
+ """
484
+
485
+ def GetParent(self, item):
486
+ """
487
+ GetParent(item) -> DataViewItem
488
+
489
+ Override this to indicate which wxDataViewItem representing the parent
490
+ of item or an invalid wxDataViewItem if the root item is the parent
491
+ item.
492
+ """
493
+
494
+ def GetValue(self, item, col):
495
+ """
496
+ GetValue(item, col) -> variant
497
+
498
+ Override this to indicate the value of item.
499
+ """
500
+
501
+ def HasContainerColumns(self, item):
502
+ """
503
+ HasContainerColumns(item) -> bool
504
+
505
+ Override this method to indicate if a container item merely acts as a
506
+ headline (or for categorisation) or if it also acts a normal item with
507
+ entries for further columns.
508
+ """
509
+
510
+ def HasDefaultCompare(self):
511
+ """
512
+ HasDefaultCompare() -> bool
513
+
514
+ Override this to indicate that the model provides a default compare
515
+ function that the control should use if no wxDataViewColumn has been
516
+ chosen for sorting.
517
+ """
518
+
519
+ def HasValue(self, item, col):
520
+ """
521
+ HasValue(item, col) -> bool
522
+
523
+ Return true if there is a value in the given column of this item.
524
+ """
525
+
526
+ def IsContainer(self, item):
527
+ """
528
+ IsContainer(item) -> bool
529
+
530
+ Override this to indicate of item is a container, i.e. if it can have
531
+ child items.
532
+ """
533
+
534
+ def ItemAdded(self, parent, item):
535
+ """
536
+ ItemAdded(parent, item) -> bool
537
+
538
+ Call this to inform the model that an item has been added to the data.
539
+ """
540
+
541
+ def ItemChanged(self, item):
542
+ """
543
+ ItemChanged(item) -> bool
544
+
545
+ Call this to inform the model that an item has changed.
546
+ """
547
+
548
+ def ItemDeleted(self, parent, item):
549
+ """
550
+ ItemDeleted(parent, item) -> bool
551
+
552
+ Call this to inform the model that an item has been deleted from the
553
+ data.
554
+ """
555
+
556
+ def ItemsAdded(self, parent, items):
557
+ """
558
+ ItemsAdded(parent, items) -> bool
559
+
560
+ Call this to inform the model that several items have been added to
561
+ the data.
562
+ """
563
+
564
+ def ItemsChanged(self, items):
565
+ """
566
+ ItemsChanged(items) -> bool
567
+
568
+ Call this to inform the model that several items have changed.
569
+ """
570
+
571
+ def ItemsDeleted(self, parent, items):
572
+ """
573
+ ItemsDeleted(parent, items) -> bool
574
+
575
+ Call this to inform the model that several items have been deleted.
576
+ """
577
+
578
+ def RemoveNotifier(self, notifier):
579
+ """
580
+ RemoveNotifier(notifier)
581
+
582
+ Remove the notifier from the list of notifiers.
583
+ """
584
+
585
+ def Resort(self):
586
+ """
587
+ Resort()
588
+
589
+ Call this to initiate a resort after the sort function has been
590
+ changed.
591
+ """
592
+
593
+ def SetValue(self, variant, item, col):
594
+ """
595
+ SetValue(variant, item, col) -> bool
596
+
597
+ This gets called in order to set a value in the data model.
598
+ """
599
+
600
+ def ValueChanged(self, item, col):
601
+ """
602
+ ValueChanged(item, col) -> bool
603
+
604
+ Call this to inform this model that a value in the model has been
605
+ changed.
606
+ """
607
+
608
+ def IsListModel(self):
609
+ """
610
+ IsListModel() -> bool
611
+ """
612
+
613
+ def IsVirtualListModel(self):
614
+ """
615
+ IsVirtualListModel() -> bool
616
+ """
617
+ ColumnCount = property(None, None)
618
+ # end of class DataViewModel
619
+
620
+
621
+ class DataViewListModel(DataViewModel):
622
+ """
623
+ Base class with abstract API for wxDataViewIndexListModel and
624
+ wxDataViewVirtualListModel.
625
+ """
626
+
627
+ def Compare(self, item1, item2, column, ascending):
628
+ """
629
+ Compare(item1, item2, column, ascending) -> int
630
+
631
+ Compare method that sorts the items by their index.
632
+ """
633
+
634
+ def GetAttrByRow(self, row, col, attr):
635
+ """
636
+ GetAttrByRow(row, col, attr) -> bool
637
+
638
+ Override this to indicate that the row has special font attributes.
639
+ """
640
+
641
+ def IsEnabledByRow(self, row, col):
642
+ """
643
+ IsEnabledByRow(row, col) -> bool
644
+
645
+ Override this if you want to disable specific items.
646
+ """
647
+
648
+ def GetCount(self):
649
+ """
650
+ GetCount() -> unsignedint
651
+
652
+ Returns the number of items (or rows) in the list.
653
+ """
654
+
655
+ def GetRow(self, item):
656
+ """
657
+ GetRow(item) -> unsignedint
658
+
659
+ Returns the position of given item.
660
+ """
661
+
662
+ def GetValueByRow(self, row, col):
663
+ """
664
+ GetValueByRow(row, col) -> variant
665
+
666
+ Override this to allow getting values from the model.
667
+ """
668
+
669
+ def SetValueByRow(self, variant, row, col):
670
+ """
671
+ SetValueByRow(variant, row, col) -> bool
672
+
673
+ Called in order to set a value in the model.
674
+ """
675
+ Count = property(None, None)
676
+ # end of class DataViewListModel
677
+
678
+
679
+ class DataViewIndexListModel(DataViewListModel):
680
+ """
681
+ DataViewIndexListModel(initial_size=0)
682
+
683
+ wxDataViewIndexListModel is a specialized data model which lets you
684
+ address an item by its position (row) rather than its wxDataViewItem
685
+ (which you can obtain from this class).
686
+ """
687
+
688
+ def __init__(self, initial_size=0):
689
+ """
690
+ DataViewIndexListModel(initial_size=0)
691
+
692
+ wxDataViewIndexListModel is a specialized data model which lets you
693
+ address an item by its position (row) rather than its wxDataViewItem
694
+ (which you can obtain from this class).
695
+ """
696
+
697
+ def GetItem(self, row):
698
+ """
699
+ GetItem(row) -> DataViewItem
700
+
701
+ Returns the wxDataViewItem at the given row.
702
+ """
703
+
704
+ def Reset(self, new_size):
705
+ """
706
+ Reset(new_size)
707
+
708
+ Call this after if the data has to be read again from the model.
709
+ """
710
+
711
+ def RowAppended(self):
712
+ """
713
+ RowAppended()
714
+
715
+ Call this after a row has been appended to the model.
716
+ """
717
+
718
+ def RowChanged(self, row):
719
+ """
720
+ RowChanged(row)
721
+
722
+ Call this after a row has been changed.
723
+ """
724
+
725
+ def RowDeleted(self, row):
726
+ """
727
+ RowDeleted(row)
728
+
729
+ Call this after a row has been deleted.
730
+ """
731
+
732
+ def RowInserted(self, before):
733
+ """
734
+ RowInserted(before)
735
+
736
+ Call this after a row has been inserted at the given position.
737
+ """
738
+
739
+ def RowPrepended(self):
740
+ """
741
+ RowPrepended()
742
+
743
+ Call this after a row has been prepended to the model.
744
+ """
745
+
746
+ def RowValueChanged(self, row, col):
747
+ """
748
+ RowValueChanged(row, col)
749
+
750
+ Call this after a value has been changed.
751
+ """
752
+
753
+ def RowsDeleted(self, rows):
754
+ """
755
+ RowsDeleted(rows)
756
+
757
+ Call this after rows have been deleted.
758
+ """
759
+ # end of class DataViewIndexListModel
760
+
761
+
762
+ class DataViewVirtualListModel(DataViewListModel):
763
+ """
764
+ DataViewVirtualListModel(initial_size=0)
765
+
766
+ wxDataViewVirtualListModel is a specialized data model which lets you
767
+ address an item by its position (row) rather than its wxDataViewItem
768
+ and as such offers the exact same interface as
769
+ wxDataViewIndexListModel.
770
+ """
771
+
772
+ def __init__(self, initial_size=0):
773
+ """
774
+ DataViewVirtualListModel(initial_size=0)
775
+
776
+ wxDataViewVirtualListModel is a specialized data model which lets you
777
+ address an item by its position (row) rather than its wxDataViewItem
778
+ and as such offers the exact same interface as
779
+ wxDataViewIndexListModel.
780
+ """
781
+
782
+ def GetItem(self, row):
783
+ """
784
+ GetItem(row) -> DataViewItem
785
+
786
+ Returns the wxDataViewItem at the given row.
787
+ """
788
+
789
+ def Reset(self, new_size):
790
+ """
791
+ Reset(new_size)
792
+
793
+ Call this after if the data has to be read again from the model.
794
+ """
795
+
796
+ def RowAppended(self):
797
+ """
798
+ RowAppended()
799
+
800
+ Call this after a row has been appended to the model.
801
+ """
802
+
803
+ def RowChanged(self, row):
804
+ """
805
+ RowChanged(row)
806
+
807
+ Call this after a row has been changed.
808
+ """
809
+
810
+ def RowDeleted(self, row):
811
+ """
812
+ RowDeleted(row)
813
+
814
+ Call this after a row has been deleted.
815
+ """
816
+
817
+ def RowInserted(self, before):
818
+ """
819
+ RowInserted(before)
820
+
821
+ Call this after a row has been inserted at the given position.
822
+ """
823
+
824
+ def RowPrepended(self):
825
+ """
826
+ RowPrepended()
827
+
828
+ Call this after a row has been prepended to the model.
829
+ """
830
+
831
+ def RowValueChanged(self, row, col):
832
+ """
833
+ RowValueChanged(row, col)
834
+
835
+ Call this after a value has been changed.
836
+ """
837
+
838
+ def RowsDeleted(self, rows):
839
+ """
840
+ RowsDeleted(rows)
841
+
842
+ Call this after rows have been deleted.
843
+ """
844
+ # end of class DataViewVirtualListModel
845
+
846
+
847
+ class DataViewRenderer(wx.Object):
848
+ """
849
+ DataViewRenderer(varianttype, mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
850
+
851
+ This class is used by wxDataViewCtrl to render the individual cells.
852
+ """
853
+
854
+ def __init__(self, varianttype, mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
855
+ """
856
+ DataViewRenderer(varianttype, mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
857
+
858
+ This class is used by wxDataViewCtrl to render the individual cells.
859
+ """
860
+
861
+ def EnableEllipsize(self, mode=wx.ELLIPSIZE_MIDDLE):
862
+ """
863
+ EnableEllipsize(mode=wx.ELLIPSIZE_MIDDLE)
864
+
865
+ Enable or disable replacing parts of the item text with ellipsis to
866
+ make it fit the column width.
867
+ """
868
+
869
+ def DisableEllipsize(self):
870
+ """
871
+ DisableEllipsize()
872
+
873
+ Disable replacing parts of the item text with ellipsis.
874
+ """
875
+
876
+ def GetAlignment(self):
877
+ """
878
+ GetAlignment() -> int
879
+
880
+ Returns the alignment.
881
+ """
882
+
883
+ def GetEllipsizeMode(self):
884
+ """
885
+ GetEllipsizeMode() -> EllipsizeMode
886
+
887
+ Returns the ellipsize mode used by the renderer.
888
+ """
889
+
890
+ def GetMode(self):
891
+ """
892
+ GetMode() -> DataViewCellMode
893
+
894
+ Returns the cell mode.
895
+ """
896
+
897
+ def GetOwner(self):
898
+ """
899
+ GetOwner() -> DataViewColumn
900
+
901
+ Returns pointer to the owning wxDataViewColumn.
902
+ """
903
+
904
+ def GetValue(self):
905
+ """
906
+ GetValue() -> value
907
+
908
+ This methods retrieves the value from the renderer in order to
909
+ transfer the value back to the data model.
910
+ """
911
+
912
+ def GetVariantType(self):
913
+ """
914
+ GetVariantType() -> String
915
+
916
+ Returns a string with the type of the wxVariant supported by this
917
+ renderer.
918
+ """
919
+
920
+ def SetAlignment(self, align):
921
+ """
922
+ SetAlignment(align)
923
+
924
+ Sets the alignment of the renderer's content.
925
+ """
926
+
927
+ def SetOwner(self, owner):
928
+ """
929
+ SetOwner(owner)
930
+
931
+ Sets the owning wxDataViewColumn.
932
+ """
933
+
934
+ def SetValue(self, value):
935
+ """
936
+ SetValue(value) -> bool
937
+
938
+ Set the value of the renderer (and thus its cell) to value.
939
+ """
940
+
941
+ def SetValueAdjuster(self, transformer):
942
+ """
943
+ SetValueAdjuster(transformer)
944
+
945
+ Set the transformer object to be used to customize values before they
946
+ are rendered.
947
+ """
948
+
949
+ def Validate(self, value):
950
+ """
951
+ Validate(value) -> bool
952
+
953
+ Before data is committed to the data model, it is passed to this
954
+ method where it can be checked for validity.
955
+ """
956
+
957
+ def HasEditorCtrl(self):
958
+ """
959
+ HasEditorCtrl() -> bool
960
+ """
961
+
962
+ def CreateEditorCtrl(self, parent, labelRect, value):
963
+ """
964
+ CreateEditorCtrl(parent, labelRect, value) -> wx.Window
965
+ """
966
+
967
+ def GetValueFromEditorCtrl(self, editor):
968
+ """
969
+ GetValueFromEditorCtrl(editor) -> value
970
+ """
971
+
972
+ def StartEditing(self, item, labelRect):
973
+ """
974
+ StartEditing(item, labelRect) -> bool
975
+ """
976
+
977
+ def CancelEditing(self):
978
+ """
979
+ CancelEditing()
980
+ """
981
+
982
+ def FinishEditing(self):
983
+ """
984
+ FinishEditing() -> bool
985
+ """
986
+
987
+ def GetEditorCtrl(self):
988
+ """
989
+ GetEditorCtrl() -> wx.Window
990
+ """
991
+ Alignment = property(None, None)
992
+ EditorCtrl = property(None, None)
993
+ EllipsizeMode = property(None, None)
994
+ Mode = property(None, None)
995
+ Owner = property(None, None)
996
+ VariantType = property(None, None)
997
+ View = property(None, None)
998
+
999
+ def GetView(self):
1000
+ """
1001
+ GetView() -> DataViewCtrl
1002
+ """
1003
+ # end of class DataViewRenderer
1004
+
1005
+
1006
+ class DataViewCustomRenderer(DataViewRenderer):
1007
+ """
1008
+ DataViewCustomRenderer(varianttype=DataViewCustomRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1009
+
1010
+ You need to derive a new class from wxDataViewCustomRenderer in order
1011
+ to write a new renderer.
1012
+ """
1013
+
1014
+ def __init__(self, varianttype=DataViewCustomRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1015
+ """
1016
+ DataViewCustomRenderer(varianttype=DataViewCustomRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1017
+
1018
+ You need to derive a new class from wxDataViewCustomRenderer in order
1019
+ to write a new renderer.
1020
+ """
1021
+
1022
+ @staticmethod
1023
+ def GetDefaultType():
1024
+ """
1025
+ GetDefaultType() -> String
1026
+
1027
+ Returns the wxVariant type used with this renderer.
1028
+ """
1029
+
1030
+ def ActivateCell(self, cell, model, item, col, mouseEvent):
1031
+ """
1032
+ ActivateCell(cell, model, item, col, mouseEvent) -> bool
1033
+
1034
+ Override this to react to cell activation.
1035
+ """
1036
+
1037
+ def CreateEditorCtrl(self, parent, labelRect, value):
1038
+ """
1039
+ CreateEditorCtrl(parent, labelRect, value) -> wx.Window
1040
+
1041
+ Override this to create the actual editor control once editing is
1042
+ about to start.
1043
+ """
1044
+
1045
+ def GetAttr(self):
1046
+ """
1047
+ GetAttr() -> DataViewItemAttr
1048
+
1049
+ Return the attribute to be used for rendering.
1050
+ """
1051
+
1052
+ def GetSize(self):
1053
+ """
1054
+ GetSize() -> wx.Size
1055
+
1056
+ Return size required to show content.
1057
+ """
1058
+
1059
+ def GetValueFromEditorCtrl(self, editor):
1060
+ """
1061
+ GetValueFromEditorCtrl(editor) -> value
1062
+
1063
+ Override this so that the renderer can get the value from the editor
1064
+ control (pointed to by editor):
1065
+ """
1066
+
1067
+ def HasEditorCtrl(self):
1068
+ """
1069
+ HasEditorCtrl() -> bool
1070
+
1071
+ Override this and make it return true in order to indicate that this
1072
+ renderer supports in-place editing.
1073
+ """
1074
+
1075
+ def LeftClick(self, cursor, cell, model, item, col):
1076
+ """
1077
+ LeftClick(cursor, cell, model, item, col) -> bool
1078
+
1079
+ Override this to react to a left click.
1080
+ """
1081
+
1082
+ def Activate(self, cell, model, item, col):
1083
+ """
1084
+ Activate(cell, model, item, col) -> bool
1085
+
1086
+ Override this to react to the activation of a cell.
1087
+ """
1088
+
1089
+ def Render(self, cell, dc, state):
1090
+ """
1091
+ Render(cell, dc, state) -> bool
1092
+
1093
+ Override this to render the cell.
1094
+ """
1095
+
1096
+ def RenderText(self, text, xoffset, cell, dc, state):
1097
+ """
1098
+ RenderText(text, xoffset, cell, dc, state)
1099
+
1100
+ This method should be called from within Render() whenever you need to
1101
+ render simple text.
1102
+ """
1103
+
1104
+ def StartDrag(self, cursor, cell, model, item, col):
1105
+ """
1106
+ StartDrag(cursor, cell, model, item, col) -> bool
1107
+
1108
+ Override this to start a drag operation.
1109
+ """
1110
+ Attr = property(None, None)
1111
+ Size = property(None, None)
1112
+
1113
+ def GetTextExtent(self, str):
1114
+ """
1115
+ GetTextExtent(str) -> wx.Size
1116
+
1117
+ Helper for GetSize() implementations, respects attributes.
1118
+ """
1119
+ # end of class DataViewCustomRenderer
1120
+
1121
+
1122
+ class DataViewTextRenderer(DataViewRenderer):
1123
+ """
1124
+ DataViewTextRenderer(varianttype=DataViewTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1125
+
1126
+ wxDataViewTextRenderer is used for rendering text.
1127
+ """
1128
+
1129
+ def __init__(self, varianttype=DataViewTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1130
+ """
1131
+ DataViewTextRenderer(varianttype=DataViewTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1132
+
1133
+ wxDataViewTextRenderer is used for rendering text.
1134
+ """
1135
+
1136
+ @staticmethod
1137
+ def GetDefaultType():
1138
+ """
1139
+ GetDefaultType() -> String
1140
+
1141
+ Returns the wxVariant type used with this renderer.
1142
+ """
1143
+
1144
+ def EnableMarkup(self, enable=True):
1145
+ """
1146
+ EnableMarkup(enable=True)
1147
+
1148
+ Enable interpretation of markup in the item data.
1149
+ """
1150
+ # end of class DataViewTextRenderer
1151
+
1152
+
1153
+ class DataViewIconTextRenderer(DataViewRenderer):
1154
+ """
1155
+ DataViewIconTextRenderer(varianttype=DataViewIconTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1156
+
1157
+ The wxDataViewIconTextRenderer class is used to display text with a
1158
+ small icon next to it as it is typically done in a file manager.
1159
+ """
1160
+
1161
+ def __init__(self, varianttype=DataViewIconTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1162
+ """
1163
+ DataViewIconTextRenderer(varianttype=DataViewIconTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1164
+
1165
+ The wxDataViewIconTextRenderer class is used to display text with a
1166
+ small icon next to it as it is typically done in a file manager.
1167
+ """
1168
+
1169
+ @staticmethod
1170
+ def GetDefaultType():
1171
+ """
1172
+ GetDefaultType() -> String
1173
+
1174
+ Returns the wxVariant type used with this renderer.
1175
+ """
1176
+ # end of class DataViewIconTextRenderer
1177
+
1178
+
1179
+ class DataViewCheckIconTextRenderer(DataViewRenderer):
1180
+ """
1181
+ DataViewCheckIconTextRenderer(mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT)
1182
+
1183
+ This renderer class shows a checkbox in addition to the icon and text
1184
+ shown by the base class and also allows the user to toggle this
1185
+ checkbox.
1186
+ """
1187
+
1188
+ def __init__(self, mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT):
1189
+ """
1190
+ DataViewCheckIconTextRenderer(mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT)
1191
+
1192
+ This renderer class shows a checkbox in addition to the icon and text
1193
+ shown by the base class and also allows the user to toggle this
1194
+ checkbox.
1195
+ """
1196
+
1197
+ @staticmethod
1198
+ def GetDefaultType():
1199
+ """
1200
+ GetDefaultType() -> String
1201
+ """
1202
+
1203
+ def Allow3rdStateForUser(self, allow=True):
1204
+ """
1205
+ Allow3rdStateForUser(allow=True)
1206
+
1207
+ Allow the user to interactively select the 3rd state for the items
1208
+ rendered by this object.
1209
+ """
1210
+ # end of class DataViewCheckIconTextRenderer
1211
+
1212
+
1213
+ class DataViewProgressRenderer(DataViewRenderer):
1214
+ """
1215
+ DataViewProgressRenderer(label=wx.EmptyString, varianttype=DataViewProgressRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1216
+
1217
+ This class is used by wxDataViewCtrl to render progress bars.
1218
+ """
1219
+
1220
+ def __init__(self, label=wx.EmptyString, varianttype=DataViewProgressRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1221
+ """
1222
+ DataViewProgressRenderer(label=wx.EmptyString, varianttype=DataViewProgressRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1223
+
1224
+ This class is used by wxDataViewCtrl to render progress bars.
1225
+ """
1226
+
1227
+ @staticmethod
1228
+ def GetDefaultType():
1229
+ """
1230
+ GetDefaultType() -> String
1231
+
1232
+ Returns the wxVariant type used with this renderer.
1233
+ """
1234
+ # end of class DataViewProgressRenderer
1235
+
1236
+
1237
+ class DataViewSpinRenderer(DataViewCustomRenderer):
1238
+ """
1239
+ DataViewSpinRenderer(min, max, mode=DATAVIEW_CELL_EDITABLE, align=DVR_DEFAULT_ALIGNMENT)
1240
+
1241
+ This is a specialized renderer for rendering integer values.
1242
+ """
1243
+
1244
+ def __init__(self, min, max, mode=DATAVIEW_CELL_EDITABLE, align=DVR_DEFAULT_ALIGNMENT):
1245
+ """
1246
+ DataViewSpinRenderer(min, max, mode=DATAVIEW_CELL_EDITABLE, align=DVR_DEFAULT_ALIGNMENT)
1247
+
1248
+ This is a specialized renderer for rendering integer values.
1249
+ """
1250
+ # end of class DataViewSpinRenderer
1251
+
1252
+
1253
+ class DataViewToggleRenderer(DataViewRenderer):
1254
+ """
1255
+ DataViewToggleRenderer(varianttype=DataViewToggleRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1256
+
1257
+ This class is used by wxDataViewCtrl to render toggle controls.
1258
+ """
1259
+
1260
+ def __init__(self, varianttype=DataViewToggleRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1261
+ """
1262
+ DataViewToggleRenderer(varianttype=DataViewToggleRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1263
+
1264
+ This class is used by wxDataViewCtrl to render toggle controls.
1265
+ """
1266
+
1267
+ @staticmethod
1268
+ def GetDefaultType():
1269
+ """
1270
+ GetDefaultType() -> String
1271
+
1272
+ Returns the wxVariant type used with this renderer.
1273
+ """
1274
+
1275
+ def ShowAsRadio(self):
1276
+ """
1277
+ ShowAsRadio()
1278
+
1279
+ Switch to using radiobutton-like appearance instead of the default
1280
+ checkbox-like one.
1281
+ """
1282
+ # end of class DataViewToggleRenderer
1283
+
1284
+
1285
+ class DataViewChoiceRenderer(DataViewRenderer):
1286
+ """
1287
+ DataViewChoiceRenderer(choices, mode=DATAVIEW_CELL_EDITABLE, alignment=DVR_DEFAULT_ALIGNMENT)
1288
+
1289
+ A wxDataViewCtrl renderer using wxChoice control and values of strings
1290
+ in it.
1291
+ """
1292
+
1293
+ def __init__(self, choices, mode=DATAVIEW_CELL_EDITABLE, alignment=DVR_DEFAULT_ALIGNMENT):
1294
+ """
1295
+ DataViewChoiceRenderer(choices, mode=DATAVIEW_CELL_EDITABLE, alignment=DVR_DEFAULT_ALIGNMENT)
1296
+
1297
+ A wxDataViewCtrl renderer using wxChoice control and values of strings
1298
+ in it.
1299
+ """
1300
+
1301
+ def GetChoice(self, index):
1302
+ """
1303
+ GetChoice(index) -> String
1304
+
1305
+ Returns the choice referred to by index.
1306
+ """
1307
+
1308
+ def GetChoices(self):
1309
+ """
1310
+ GetChoices() -> ArrayString
1311
+
1312
+ Returns all choices.
1313
+ """
1314
+ Choices = property(None, None)
1315
+ # end of class DataViewChoiceRenderer
1316
+
1317
+
1318
+ class DataViewDateRenderer(DataViewRenderer):
1319
+ """
1320
+ DataViewDateRenderer(varianttype=DataViewDateRenderer.GetDefaultType(), mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT)
1321
+
1322
+ This class is used by wxDataViewCtrl to render calendar controls.
1323
+ """
1324
+
1325
+ def __init__(self, varianttype=DataViewDateRenderer.GetDefaultType(), mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT):
1326
+ """
1327
+ DataViewDateRenderer(varianttype=DataViewDateRenderer.GetDefaultType(), mode=DATAVIEW_CELL_ACTIVATABLE, align=DVR_DEFAULT_ALIGNMENT)
1328
+
1329
+ This class is used by wxDataViewCtrl to render calendar controls.
1330
+ """
1331
+
1332
+ @staticmethod
1333
+ def GetDefaultType():
1334
+ """
1335
+ GetDefaultType() -> String
1336
+
1337
+ Returns the wxVariant type used with this renderer.
1338
+ """
1339
+ # end of class DataViewDateRenderer
1340
+
1341
+
1342
+ class DataViewBitmapRenderer(DataViewRenderer):
1343
+ """
1344
+ DataViewBitmapRenderer(varianttype=DataViewBitmapRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1345
+
1346
+ This class is used by wxDataViewCtrl to render bitmap controls.
1347
+ """
1348
+
1349
+ def __init__(self, varianttype=DataViewBitmapRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT):
1350
+ """
1351
+ DataViewBitmapRenderer(varianttype=DataViewBitmapRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
1352
+
1353
+ This class is used by wxDataViewCtrl to render bitmap controls.
1354
+ """
1355
+
1356
+ @staticmethod
1357
+ def GetDefaultType():
1358
+ """
1359
+ GetDefaultType() -> String
1360
+
1361
+ Returns the wxVariant type used with this renderer.
1362
+ """
1363
+ # end of class DataViewBitmapRenderer
1364
+
1365
+
1366
+ class DataViewColumn(wx.SettableHeaderColumn):
1367
+ """
1368
+ DataViewColumn(title, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
1369
+ DataViewColumn(bitmap, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
1370
+
1371
+ This class represents a column in a wxDataViewCtrl.
1372
+ """
1373
+
1374
+ def __init__(self, *args, **kw):
1375
+ """
1376
+ DataViewColumn(title, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
1377
+ DataViewColumn(bitmap, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
1378
+
1379
+ This class represents a column in a wxDataViewCtrl.
1380
+ """
1381
+
1382
+ def GetModelColumn(self):
1383
+ """
1384
+ GetModelColumn() -> unsignedint
1385
+
1386
+ Returns the index of the column of the model, which this
1387
+ wxDataViewColumn is displaying.
1388
+ """
1389
+
1390
+ def GetOwner(self):
1391
+ """
1392
+ GetOwner() -> DataViewCtrl
1393
+
1394
+ Returns the owning wxDataViewCtrl.
1395
+ """
1396
+
1397
+ def GetRenderer(self):
1398
+ """
1399
+ GetRenderer() -> DataViewRenderer
1400
+
1401
+ Returns the renderer of this wxDataViewColumn.
1402
+ """
1403
+ ModelColumn = property(None, None)
1404
+ Owner = property(None, None)
1405
+ Renderer = property(None, None)
1406
+ Title = property(None, None)
1407
+ Bitmap = property(None, None)
1408
+ Width = property(None, None)
1409
+ MinWidth = property(None, None)
1410
+ Alignment = property(None, None)
1411
+ Flags = property(None, None)
1412
+ SortOrder = property(None, None)
1413
+ # end of class DataViewColumn
1414
+
1415
+ DataViewCtrlNameStr = char()
1416
+
1417
+ class DataViewCtrl(wx.Control):
1418
+ """
1419
+ DataViewCtrl()
1420
+ DataViewCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=DataViewCtrlNameStr)
1421
+
1422
+ wxDataViewCtrl is a control to display data either in a tree like
1423
+ fashion or in a tabular form or both.
1424
+ """
1425
+
1426
+ def __init__(self, *args, **kw):
1427
+ """
1428
+ DataViewCtrl()
1429
+ DataViewCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=DataViewCtrlNameStr)
1430
+
1431
+ wxDataViewCtrl is a control to display data either in a tree like
1432
+ fashion or in a tabular form or both.
1433
+ """
1434
+
1435
+ def AppendBitmapColumn(self, *args, **kw):
1436
+ """
1437
+ AppendBitmapColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1438
+ AppendBitmapColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1439
+
1440
+ Appends a column for rendering a bitmap.
1441
+ """
1442
+
1443
+ def PrependBitmapColumn(self, *args, **kw):
1444
+ """
1445
+ PrependBitmapColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1446
+ PrependBitmapColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1447
+
1448
+ Prepends a column for rendering a bitmap.
1449
+ """
1450
+
1451
+ def AppendDateColumn(self, *args, **kw):
1452
+ """
1453
+ AppendDateColumn(label, model_column, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1454
+ AppendDateColumn(label, model_column, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1455
+
1456
+ Appends a column for rendering a date.
1457
+ """
1458
+
1459
+ def PrependDateColumn(self, *args, **kw):
1460
+ """
1461
+ PrependDateColumn(label, model_column, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1462
+ PrependDateColumn(label, model_column, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1463
+
1464
+ Prepends a column for rendering a date.
1465
+ """
1466
+
1467
+ def AppendIconTextColumn(self, *args, **kw):
1468
+ """
1469
+ AppendIconTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1470
+ AppendIconTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1471
+
1472
+ Appends a column for rendering text with an icon.
1473
+ """
1474
+
1475
+ def PrependIconTextColumn(self, *args, **kw):
1476
+ """
1477
+ PrependIconTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1478
+ PrependIconTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1479
+
1480
+ Prepends a column for rendering text with an icon.
1481
+ """
1482
+
1483
+ def AppendProgressColumn(self, *args, **kw):
1484
+ """
1485
+ AppendProgressColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=80, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1486
+ AppendProgressColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=80, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1487
+
1488
+ Appends a column for rendering a progress indicator.
1489
+ """
1490
+
1491
+ def PrependProgressColumn(self, *args, **kw):
1492
+ """
1493
+ PrependProgressColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=80, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1494
+ PrependProgressColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=80, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1495
+
1496
+ Prepends a column for rendering a progress indicator.
1497
+ """
1498
+
1499
+ def AppendTextColumn(self, *args, **kw):
1500
+ """
1501
+ AppendTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1502
+ AppendTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1503
+
1504
+ Appends a column for rendering text.
1505
+ """
1506
+
1507
+ def PrependTextColumn(self, *args, **kw):
1508
+ """
1509
+ PrependTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1510
+ PrependTextColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_NOT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1511
+
1512
+ Prepends a column for rendering text.
1513
+ """
1514
+
1515
+ def AppendToggleColumn(self, *args, **kw):
1516
+ """
1517
+ AppendToggleColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=30, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1518
+ AppendToggleColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=30, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1519
+
1520
+ Appends a column for rendering a toggle.
1521
+ """
1522
+
1523
+ def PrependToggleColumn(self, *args, **kw):
1524
+ """
1525
+ PrependToggleColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=30, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1526
+ PrependToggleColumn(label, model_column, mode=DATAVIEW_CELL_INERT, width=30, align=wx.ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
1527
+
1528
+ Prepends a column for rendering a toggle.
1529
+ """
1530
+
1531
+ def AllowMultiColumnSort(self, allow):
1532
+ """
1533
+ AllowMultiColumnSort(allow) -> bool
1534
+
1535
+ Call to allow using multiple columns for sorting.
1536
+ """
1537
+
1538
+ def Create(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=DataViewCtrlNameStr):
1539
+ """
1540
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name=DataViewCtrlNameStr) -> bool
1541
+
1542
+ Create the control.
1543
+ """
1544
+
1545
+ def AppendColumn(self, col):
1546
+ """
1547
+ AppendColumn(col) -> bool
1548
+
1549
+ Appends a wxDataViewColumn to the control.
1550
+ """
1551
+
1552
+ def PrependColumn(self, col):
1553
+ """
1554
+ PrependColumn(col) -> bool
1555
+
1556
+ Prepends a wxDataViewColumn to the control.
1557
+ """
1558
+
1559
+ def InsertColumn(self, pos, col):
1560
+ """
1561
+ InsertColumn(pos, col) -> bool
1562
+
1563
+ Inserts a wxDataViewColumn to the control.
1564
+ """
1565
+
1566
+ def _AssociateModel(self, model):
1567
+ """
1568
+ _AssociateModel(model) -> bool
1569
+
1570
+ Associates a wxDataViewModel with the control.
1571
+ """
1572
+
1573
+ def ClearColumns(self):
1574
+ """
1575
+ ClearColumns() -> bool
1576
+
1577
+ Removes all columns.
1578
+ """
1579
+
1580
+ def Collapse(self, item):
1581
+ """
1582
+ Collapse(item)
1583
+
1584
+ Collapses the item.
1585
+ """
1586
+
1587
+ def DeleteColumn(self, column):
1588
+ """
1589
+ DeleteColumn(column) -> bool
1590
+
1591
+ Deletes given column.
1592
+ """
1593
+
1594
+ def EditItem(self, item, column):
1595
+ """
1596
+ EditItem(item, column)
1597
+
1598
+ Programmatically starts editing given cell of item.
1599
+ """
1600
+
1601
+ def EnableDragSource(self, format):
1602
+ """
1603
+ EnableDragSource(format) -> bool
1604
+
1605
+ Enable drag operations using the given format.
1606
+ """
1607
+
1608
+ def EnableDropTarget(self, format):
1609
+ """
1610
+ EnableDropTarget(format) -> bool
1611
+
1612
+ Enable drop operations using the given format.
1613
+ """
1614
+
1615
+ def EnsureVisible(self, item, column=None):
1616
+ """
1617
+ EnsureVisible(item, column=None)
1618
+
1619
+ Call this to ensure that the given item is visible.
1620
+ """
1621
+
1622
+ def Expand(self, item):
1623
+ """
1624
+ Expand(item)
1625
+
1626
+ Expands the item.
1627
+ """
1628
+
1629
+ def ExpandAncestors(self, item):
1630
+ """
1631
+ ExpandAncestors(item)
1632
+
1633
+ Expands all ancestors of the item.
1634
+ """
1635
+
1636
+ def ExpandChildren(self, item):
1637
+ """
1638
+ ExpandChildren(item)
1639
+
1640
+ Expand all children of the given item recursively.
1641
+ """
1642
+
1643
+ def GetColumn(self, pos):
1644
+ """
1645
+ GetColumn(pos) -> DataViewColumn
1646
+
1647
+ Returns pointer to the column.
1648
+ """
1649
+
1650
+ def GetColumnCount(self):
1651
+ """
1652
+ GetColumnCount() -> unsignedint
1653
+
1654
+ Returns the number of columns.
1655
+ """
1656
+
1657
+ def GetColumnPosition(self, column):
1658
+ """
1659
+ GetColumnPosition(column) -> int
1660
+
1661
+ Returns the position of the column or -1 if not found in the control.
1662
+ """
1663
+
1664
+ def GetExpanderColumn(self):
1665
+ """
1666
+ GetExpanderColumn() -> DataViewColumn
1667
+
1668
+ Returns column containing the expanders.
1669
+ """
1670
+
1671
+ def GetCurrentItem(self):
1672
+ """
1673
+ GetCurrentItem() -> DataViewItem
1674
+
1675
+ Returns the currently focused item.
1676
+ """
1677
+
1678
+ def GetCurrentColumn(self):
1679
+ """
1680
+ GetCurrentColumn() -> DataViewColumn
1681
+
1682
+ Returns the column that currently has focus.
1683
+ """
1684
+
1685
+ def GetIndent(self):
1686
+ """
1687
+ GetIndent() -> int
1688
+
1689
+ Returns indentation.
1690
+ """
1691
+
1692
+ def GetItemRect(self, item, col=None):
1693
+ """
1694
+ GetItemRect(item, col=None) -> wx.Rect
1695
+
1696
+ Returns item rectangle.
1697
+ """
1698
+
1699
+ def GetMainWindow(self):
1700
+ """
1701
+ GetMainWindow() -> wx.Window
1702
+
1703
+ Returns the window corresponding to the main area of the control.
1704
+ """
1705
+
1706
+ def GetModel(self):
1707
+ """
1708
+ GetModel() -> DataViewModel
1709
+
1710
+ Returns pointer to the data model associated with the control (if
1711
+ any).
1712
+ """
1713
+
1714
+ def GetSelectedItemsCount(self):
1715
+ """
1716
+ GetSelectedItemsCount() -> int
1717
+
1718
+ Returns the number of currently selected items.
1719
+ """
1720
+
1721
+ def GetSelection(self):
1722
+ """
1723
+ GetSelection() -> DataViewItem
1724
+
1725
+ Returns first selected item or an invalid item if none is selected.
1726
+ """
1727
+
1728
+ def GetSelections(self):
1729
+ """
1730
+ GetSelections() -> DataViewItemArray
1731
+
1732
+ Returns a list of the currently selected items.
1733
+ """
1734
+
1735
+ def GetSortingColumn(self):
1736
+ """
1737
+ GetSortingColumn() -> DataViewColumn
1738
+
1739
+ Returns the wxDataViewColumn currently responsible for sorting or NULL
1740
+ if none has been selected.
1741
+ """
1742
+
1743
+ def HasSelection(self):
1744
+ """
1745
+ HasSelection() -> bool
1746
+
1747
+ Returns true if any items are currently selected.
1748
+ """
1749
+
1750
+ def HitTest(self, point):
1751
+ """
1752
+ HitTest(point) -> PyObject
1753
+
1754
+ HitTest(point) -> (item, col)
1755
+
1756
+ Returns the item and column located at point, as a 2 element tuple.
1757
+ """
1758
+
1759
+ def IsExpanded(self, item):
1760
+ """
1761
+ IsExpanded(item) -> bool
1762
+
1763
+ Return true if the item is expanded.
1764
+ """
1765
+
1766
+ def IsMultiColumnSortAllowed(self):
1767
+ """
1768
+ IsMultiColumnSortAllowed() -> bool
1769
+
1770
+ Return true if using more than one column for sorting is allowed.
1771
+ """
1772
+
1773
+ def IsSelected(self, item):
1774
+ """
1775
+ IsSelected(item) -> bool
1776
+
1777
+ Return true if the item is selected.
1778
+ """
1779
+
1780
+ def Select(self, item):
1781
+ """
1782
+ Select(item)
1783
+
1784
+ Select the given item.
1785
+ """
1786
+
1787
+ def SelectAll(self):
1788
+ """
1789
+ SelectAll()
1790
+
1791
+ Select all items.
1792
+ """
1793
+
1794
+ def SetAlternateRowColour(self, colour):
1795
+ """
1796
+ SetAlternateRowColour(colour) -> bool
1797
+
1798
+ Set custom colour for the alternate rows used with wxDV_ROW_LINES
1799
+ style.
1800
+ """
1801
+
1802
+ def SetExpanderColumn(self, col):
1803
+ """
1804
+ SetExpanderColumn(col)
1805
+
1806
+ Set which column shall contain the tree-like expanders.
1807
+ """
1808
+
1809
+ def SetCurrentItem(self, item):
1810
+ """
1811
+ SetCurrentItem(item)
1812
+
1813
+ Changes the currently focused item.
1814
+ """
1815
+
1816
+ def SetHeaderAttr(self, attr):
1817
+ """
1818
+ SetHeaderAttr(attr) -> bool
1819
+
1820
+ Set custom colours and/or font to use for the header.
1821
+ """
1822
+
1823
+ def SetIndent(self, indent):
1824
+ """
1825
+ SetIndent(indent)
1826
+
1827
+ Sets the indentation.
1828
+ """
1829
+
1830
+ def SetSelections(self, sel):
1831
+ """
1832
+ SetSelections(sel)
1833
+
1834
+ Sets the selection to the array of wxDataViewItems.
1835
+ """
1836
+
1837
+ def Unselect(self, item):
1838
+ """
1839
+ Unselect(item)
1840
+
1841
+ Unselect the given item.
1842
+ """
1843
+
1844
+ def UnselectAll(self):
1845
+ """
1846
+ UnselectAll()
1847
+
1848
+ Unselect all item.
1849
+ """
1850
+
1851
+ def SetRowHeight(self, rowHeight):
1852
+ """
1853
+ SetRowHeight(rowHeight) -> bool
1854
+
1855
+ Sets the row height.
1856
+ """
1857
+
1858
+ def ToggleSortByColumn(self, column):
1859
+ """
1860
+ ToggleSortByColumn(column)
1861
+
1862
+ Toggle sorting by the given column.
1863
+ """
1864
+
1865
+ def GetCountPerPage(self):
1866
+ """
1867
+ GetCountPerPage() -> int
1868
+
1869
+ Return the number of items that can fit vertically in the visible area
1870
+ of the control.
1871
+ """
1872
+
1873
+ def GetTopItem(self):
1874
+ """
1875
+ GetTopItem() -> DataViewItem
1876
+
1877
+ Return the topmost visible item.
1878
+ """
1879
+
1880
+ @staticmethod
1881
+ def GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL):
1882
+ """
1883
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
1884
+ """
1885
+
1886
+ def EnableSystemTheme(self, enable=True):
1887
+ """
1888
+ EnableSystemTheme(enable=True)
1889
+
1890
+ Can be used to disable the system theme of controls using it by
1891
+ default.
1892
+ """
1893
+
1894
+ def AssociateModel(self, model):
1895
+ """
1896
+ Associates a :class:`DataViewModel` with the control.
1897
+ Ownership of the model object is passed to C++, however it
1898
+ is reference counted so it can be shared with other views.
1899
+ """
1900
+
1901
+ def GetColumns(self):
1902
+ """
1903
+ Returns a list of column objects.
1904
+ """
1905
+ ColumnCount = property(None, None)
1906
+ Columns = property(None, None)
1907
+ CountPerPage = property(None, None)
1908
+ CurrentColumn = property(None, None)
1909
+ CurrentItem = property(None, None)
1910
+ ExpanderColumn = property(None, None)
1911
+ Indent = property(None, None)
1912
+ MainWindow = property(None, None)
1913
+ Model = property(None, None)
1914
+ SelectedItemsCount = property(None, None)
1915
+ Selection = property(None, None)
1916
+ Selections = property(None, None)
1917
+ SortingColumn = property(None, None)
1918
+ TopItem = property(None, None)
1919
+ # end of class DataViewCtrl
1920
+
1921
+
1922
+ class DataViewEvent(wx.NotifyEvent):
1923
+ """
1924
+ DataViewEvent()
1925
+ DataViewEvent(evtType, dvc, column, item=DataViewItem())
1926
+ DataViewEvent(evtType, dvc, item)
1927
+ DataViewEvent(event)
1928
+
1929
+ This is the event class for the wxDataViewCtrl notifications.
1930
+ """
1931
+
1932
+ def __init__(self, *args, **kw):
1933
+ """
1934
+ DataViewEvent()
1935
+ DataViewEvent(evtType, dvc, column, item=DataViewItem())
1936
+ DataViewEvent(evtType, dvc, item)
1937
+ DataViewEvent(event)
1938
+
1939
+ This is the event class for the wxDataViewCtrl notifications.
1940
+ """
1941
+
1942
+ def GetColumn(self):
1943
+ """
1944
+ GetColumn() -> int
1945
+
1946
+ Returns the position of the column in the control or -1 if column
1947
+ field is unavailable for this event.
1948
+ """
1949
+
1950
+ def GetDataViewColumn(self):
1951
+ """
1952
+ GetDataViewColumn() -> DataViewColumn
1953
+
1954
+ Returns a pointer to the wxDataViewColumn from which the event was
1955
+ emitted or NULL.
1956
+ """
1957
+
1958
+ def GetModel(self):
1959
+ """
1960
+ GetModel() -> DataViewModel
1961
+
1962
+ Returns the wxDataViewModel associated with the event.
1963
+ """
1964
+
1965
+ def GetPosition(self):
1966
+ """
1967
+ GetPosition() -> wx.Point
1968
+
1969
+ Returns the position of a context menu event in screen coordinates.
1970
+ """
1971
+
1972
+ def GetValue(self):
1973
+ """
1974
+ GetValue() -> DVCVariant
1975
+
1976
+ Returns a reference to a value.
1977
+ """
1978
+
1979
+ def IsEditCancelled(self):
1980
+ """
1981
+ IsEditCancelled() -> bool
1982
+
1983
+ Can be used to determine whether the new value is going to be accepted
1984
+ in wxEVT_DATAVIEW_ITEM_EDITING_DONE handler.
1985
+ """
1986
+
1987
+ def SetColumn(self, col):
1988
+ """
1989
+ SetColumn(col)
1990
+
1991
+ Sets the column index associated with this event.
1992
+ """
1993
+
1994
+ def SetDataViewColumn(self, col):
1995
+ """
1996
+ SetDataViewColumn(col)
1997
+
1998
+ For wxEVT_DATAVIEW_COLUMN_HEADER_CLICK only.
1999
+ """
2000
+
2001
+ def SetModel(self, model):
2002
+ """
2003
+ SetModel(model)
2004
+
2005
+ Sets the dataview model associated with this event.
2006
+ """
2007
+
2008
+ def SetValue(self, value):
2009
+ """
2010
+ SetValue(value)
2011
+
2012
+ Sets the value associated with this event.
2013
+ """
2014
+
2015
+ def SetDataObject(self, obj):
2016
+ """
2017
+ SetDataObject(obj)
2018
+
2019
+ Set wxDataObject for data transfer within a drag operation.
2020
+ """
2021
+
2022
+ def GetDataFormat(self):
2023
+ """
2024
+ GetDataFormat() -> wx.DataFormat
2025
+
2026
+ Gets the wxDataFormat during a drop operation.
2027
+ """
2028
+
2029
+ def GetDataSize(self):
2030
+ """
2031
+ GetDataSize() -> size_t
2032
+
2033
+ Gets the data size for a drop data transfer.
2034
+ """
2035
+
2036
+ def GetDataBuffer(self):
2037
+ """
2038
+ GetDataBuffer() -> PyObject
2039
+
2040
+ Gets the data buffer for a drop data transfer
2041
+ """
2042
+
2043
+ def SetDragFlags(self, flags):
2044
+ """
2045
+ SetDragFlags(flags)
2046
+
2047
+ Specify the kind of the drag operation to perform.
2048
+ """
2049
+
2050
+ def GetDropEffect(self):
2051
+ """
2052
+ GetDropEffect() -> DragResult
2053
+
2054
+ Returns the effect the user requested to happen to the dropped data.
2055
+ """
2056
+
2057
+ def GetCacheFrom(self):
2058
+ """
2059
+ GetCacheFrom() -> int
2060
+
2061
+ Return the first row that will be displayed.
2062
+ """
2063
+
2064
+ def GetCacheTo(self):
2065
+ """
2066
+ GetCacheTo() -> int
2067
+
2068
+ Return the last row that will be displayed.
2069
+ """
2070
+
2071
+ def GetProposedDropIndex(self):
2072
+ """
2073
+ GetProposedDropIndex() -> int
2074
+
2075
+ Returns the index of the child item at which an item currently being
2076
+ dragged would be dropped.
2077
+ """
2078
+
2079
+ def GetItem(self):
2080
+ """
2081
+ GetItem() -> DataViewItem
2082
+
2083
+ Returns the item affected by the event.
2084
+ """
2085
+
2086
+ def SetItem(self, item):
2087
+ """
2088
+ SetItem(item)
2089
+ """
2090
+
2091
+ def SetPosition(self, x, y):
2092
+ """
2093
+ SetPosition(x, y)
2094
+ """
2095
+
2096
+ def SetCache(self, from_, to_):
2097
+ """
2098
+ SetCache(from_, to_)
2099
+ """
2100
+
2101
+ def GetDataObject(self):
2102
+ """
2103
+ GetDataObject() -> wx.DataObject
2104
+ """
2105
+
2106
+ def SetDataFormat(self, format):
2107
+ """
2108
+ SetDataFormat(format)
2109
+ """
2110
+
2111
+ def SetDataSize(self, size):
2112
+ """
2113
+ SetDataSize(size)
2114
+ """
2115
+
2116
+ def SetDataBuffer(self, buf):
2117
+ """
2118
+ SetDataBuffer(buf)
2119
+ """
2120
+
2121
+ def GetDragFlags(self):
2122
+ """
2123
+ GetDragFlags() -> int
2124
+ """
2125
+
2126
+ def SetDropEffect(self, effect):
2127
+ """
2128
+ SetDropEffect(effect)
2129
+ """
2130
+ CacheFrom = property(None, None)
2131
+ CacheTo = property(None, None)
2132
+ Column = property(None, None)
2133
+ DataBuffer = property(None, None)
2134
+ DataFormat = property(None, None)
2135
+ DataObject = property(None, None)
2136
+ DataSize = property(None, None)
2137
+ DataViewColumn = property(None, None)
2138
+ DragFlags = property(None, None)
2139
+ DropEffect = property(None, None)
2140
+ Item = property(None, None)
2141
+ Model = property(None, None)
2142
+ Position = property(None, None)
2143
+ ProposedDropIndex = property(None, None)
2144
+ Value = property(None, None)
2145
+ # end of class DataViewEvent
2146
+
2147
+
2148
+ class DataViewValueAdjuster(object):
2149
+ """
2150
+ This class can be used with wxDataViewRenderer::SetValueAdjuster() to
2151
+ customize rendering of model values with standard renderers.
2152
+ """
2153
+
2154
+ def MakeHighlighted(self, value):
2155
+ """
2156
+ MakeHighlighted(value) -> DVCVariant
2157
+
2158
+ Change value for rendering when highlighted.
2159
+ """
2160
+ # end of class DataViewValueAdjuster
2161
+
2162
+
2163
+ class DataViewListCtrl(DataViewCtrl):
2164
+ """
2165
+ DataViewListCtrl()
2166
+ DataViewListCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_ROW_LINES, validator=wx.DefaultValidator)
2167
+
2168
+ This class is a wxDataViewCtrl which internally uses a
2169
+ wxDataViewListStore and forwards most of its API to that class.
2170
+ """
2171
+
2172
+ def __init__(self, *args, **kw):
2173
+ """
2174
+ DataViewListCtrl()
2175
+ DataViewListCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_ROW_LINES, validator=wx.DefaultValidator)
2176
+
2177
+ This class is a wxDataViewCtrl which internally uses a
2178
+ wxDataViewListStore and forwards most of its API to that class.
2179
+ """
2180
+
2181
+ def GetStore(self):
2182
+ """
2183
+ GetStore() -> DataViewListStore
2184
+
2185
+ Returns the store.
2186
+ """
2187
+
2188
+ def GetSelectedRow(self):
2189
+ """
2190
+ GetSelectedRow() -> int
2191
+
2192
+ Returns index of the selected row or wxNOT_FOUND.
2193
+ """
2194
+
2195
+ def SelectRow(self, row):
2196
+ """
2197
+ SelectRow(row)
2198
+
2199
+ Selects given row.
2200
+ """
2201
+
2202
+ def UnselectRow(self, row):
2203
+ """
2204
+ UnselectRow(row)
2205
+
2206
+ Unselects given row.
2207
+ """
2208
+
2209
+ def IsRowSelected(self, row):
2210
+ """
2211
+ IsRowSelected(row) -> bool
2212
+
2213
+ Returns true if row is selected.
2214
+ """
2215
+
2216
+ def AppendColumn(self, *args, **kw):
2217
+ """
2218
+ AppendColumn(column) -> bool
2219
+ AppendColumn(column, varianttype)
2220
+
2221
+ Appends a column to the control and additionally appends a column to
2222
+ the store with the type string.
2223
+ """
2224
+
2225
+ def AppendTextColumn(self, label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE):
2226
+ """
2227
+ AppendTextColumn(label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
2228
+
2229
+ Appends a text column to the control and the store.
2230
+ """
2231
+
2232
+ def AppendToggleColumn(self, label, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE):
2233
+ """
2234
+ AppendToggleColumn(label, mode=DATAVIEW_CELL_ACTIVATABLE, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
2235
+
2236
+ Appends a toggle column to the control and the store.
2237
+ """
2238
+
2239
+ def AppendProgressColumn(self, label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE):
2240
+ """
2241
+ AppendProgressColumn(label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
2242
+
2243
+ Appends a progress column to the control and the store.
2244
+ """
2245
+
2246
+ def AppendIconTextColumn(self, label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE):
2247
+ """
2248
+ AppendIconTextColumn(label, mode=DATAVIEW_CELL_INERT, width=-1, align=wx.ALIGN_LEFT, flags=DATAVIEW_COL_RESIZABLE) -> DataViewColumn
2249
+
2250
+ Appends an icon-and-text column to the control and the store.
2251
+ """
2252
+
2253
+ def InsertColumn(self, *args, **kw):
2254
+ """
2255
+ InsertColumn(pos, column) -> bool
2256
+ InsertColumn(pos, column, varianttype)
2257
+
2258
+ Inserts a column to the control and additionally inserts a column to
2259
+ the store with the type string.
2260
+ """
2261
+
2262
+ def PrependColumn(self, *args, **kw):
2263
+ """
2264
+ PrependColumn(column) -> bool
2265
+ PrependColumn(column, varianttype)
2266
+
2267
+ Prepends a column to the control and additionally prepends a column to
2268
+ the store with the type string.
2269
+ """
2270
+
2271
+ def AppendItem(self, values, data=None):
2272
+ """
2273
+ AppendItem(values, data=None)
2274
+
2275
+ Appends an item (i.e. a row) to the control.
2276
+ """
2277
+
2278
+ def PrependItem(self, values, data=None):
2279
+ """
2280
+ PrependItem(values, data=None)
2281
+
2282
+ Prepends an item (i.e. a row) to the control.
2283
+ """
2284
+
2285
+ def InsertItem(self, row, values, data=None):
2286
+ """
2287
+ InsertItem(row, values, data=None)
2288
+
2289
+ Inserts an item (i.e. a row) to the control.
2290
+ """
2291
+
2292
+ def DeleteItem(self, row):
2293
+ """
2294
+ DeleteItem(row)
2295
+
2296
+ Delete the row at position row.
2297
+ """
2298
+
2299
+ def DeleteAllItems(self):
2300
+ """
2301
+ DeleteAllItems()
2302
+
2303
+ Delete all items (= all rows).
2304
+ """
2305
+
2306
+ def GetItemCount(self):
2307
+ """
2308
+ GetItemCount() -> unsignedint
2309
+
2310
+ Returns the number of items (=rows) in the control.
2311
+ """
2312
+
2313
+ def GetItemData(self, item):
2314
+ """
2315
+ GetItemData(item) -> UIntPtr
2316
+
2317
+ Returns the client data associated with the item.
2318
+ """
2319
+
2320
+ def SetValue(self, value, row, col):
2321
+ """
2322
+ SetValue(value, row, col)
2323
+
2324
+ Sets the value in the store and update the control.
2325
+ """
2326
+
2327
+ def GetValue(self, row, col):
2328
+ """
2329
+ GetValue(row, col) -> value
2330
+
2331
+ Returns the value from the store.
2332
+ """
2333
+
2334
+ def SetTextValue(self, value, row, col):
2335
+ """
2336
+ SetTextValue(value, row, col)
2337
+
2338
+ Sets the value in the store and update the control.
2339
+ """
2340
+
2341
+ def GetTextValue(self, row, col):
2342
+ """
2343
+ GetTextValue(row, col) -> String
2344
+
2345
+ Returns the value from the store.
2346
+ """
2347
+
2348
+ def SetToggleValue(self, value, row, col):
2349
+ """
2350
+ SetToggleValue(value, row, col)
2351
+
2352
+ Sets the value in the store and update the control.
2353
+ """
2354
+
2355
+ def GetToggleValue(self, row, col):
2356
+ """
2357
+ GetToggleValue(row, col) -> bool
2358
+
2359
+ Returns the value from the store.
2360
+ """
2361
+
2362
+ def SetItemData(self, item, data):
2363
+ """
2364
+ SetItemData(item, data)
2365
+
2366
+ Associates a client data pointer with the given item.
2367
+ """
2368
+
2369
+ def Create(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_ROW_LINES, validator=wx.DefaultValidator):
2370
+ """
2371
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_ROW_LINES, validator=wx.DefaultValidator) -> bool
2372
+
2373
+ Creates the control and a wxDataViewListStore as its internal model.
2374
+ """
2375
+
2376
+ def ItemToRow(self, item):
2377
+ """
2378
+ ItemToRow(item) -> int
2379
+
2380
+ Returns the position of given item or wxNOT_FOUND if it's not a valid
2381
+ item.
2382
+ """
2383
+
2384
+ def RowToItem(self, row):
2385
+ """
2386
+ RowToItem(row) -> DataViewItem
2387
+
2388
+ Returns the wxDataViewItem at the given row.
2389
+ """
2390
+
2391
+ @staticmethod
2392
+ def GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL):
2393
+ """
2394
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
2395
+ """
2396
+ ItemCount = property(None, None)
2397
+ SelectedRow = property(None, None)
2398
+ Store = property(None, None)
2399
+ # end of class DataViewListCtrl
2400
+
2401
+
2402
+ class DataViewListStore(DataViewIndexListModel):
2403
+ """
2404
+ DataViewListStore()
2405
+
2406
+ wxDataViewListStore is a specialised wxDataViewModel for storing a
2407
+ simple table of data.
2408
+ """
2409
+
2410
+ def __init__(self):
2411
+ """
2412
+ DataViewListStore()
2413
+
2414
+ wxDataViewListStore is a specialised wxDataViewModel for storing a
2415
+ simple table of data.
2416
+ """
2417
+
2418
+ def PrependColumn(self, varianttype):
2419
+ """
2420
+ PrependColumn(varianttype)
2421
+
2422
+ Prepends a data column.
2423
+ """
2424
+
2425
+ def InsertColumn(self, pos, varianttype):
2426
+ """
2427
+ InsertColumn(pos, varianttype)
2428
+
2429
+ Inserts a data column before pos.
2430
+ """
2431
+
2432
+ def AppendColumn(self, varianttype):
2433
+ """
2434
+ AppendColumn(varianttype)
2435
+
2436
+ Appends a data column.
2437
+ """
2438
+
2439
+ def AppendItem(self, values, data=None):
2440
+ """
2441
+ AppendItem(values, data=None)
2442
+
2443
+ Appends an item (=row) and fills it with values.
2444
+ """
2445
+
2446
+ def PrependItem(self, values, data=None):
2447
+ """
2448
+ PrependItem(values, data=None)
2449
+
2450
+ Prepends an item (=row) and fills it with values.
2451
+ """
2452
+
2453
+ def InsertItem(self, row, values, data=None):
2454
+ """
2455
+ InsertItem(row, values, data=None)
2456
+
2457
+ Inserts an item (=row) and fills it with values.
2458
+ """
2459
+
2460
+ def DeleteItem(self, pos):
2461
+ """
2462
+ DeleteItem(pos)
2463
+
2464
+ Delete the item (=row) at position pos.
2465
+ """
2466
+
2467
+ def DeleteAllItems(self):
2468
+ """
2469
+ DeleteAllItems()
2470
+
2471
+ Delete all item (=all rows) in the store.
2472
+ """
2473
+
2474
+ def GetItemCount(self):
2475
+ """
2476
+ GetItemCount() -> unsignedint
2477
+
2478
+ Returns the number of items (=rows) in the control.
2479
+ """
2480
+
2481
+ def GetItemData(self, item):
2482
+ """
2483
+ GetItemData(item) -> UIntPtr
2484
+
2485
+ Returns the client data associated with the item.
2486
+ """
2487
+
2488
+ def GetColumnCount(self):
2489
+ """
2490
+ GetColumnCount() -> unsignedint
2491
+
2492
+ Overridden from wxDataViewModel.
2493
+ """
2494
+
2495
+ def GetColumnType(self, col):
2496
+ """
2497
+ GetColumnType(col) -> String
2498
+
2499
+ Overridden from wxDataViewModel.
2500
+ """
2501
+
2502
+ def SetItemData(self, item, data):
2503
+ """
2504
+ SetItemData(item, data)
2505
+
2506
+ Sets the client data associated with the item.
2507
+ """
2508
+
2509
+ def GetValueByRow(self, row, col):
2510
+ """
2511
+ GetValueByRow(row, col) -> value
2512
+
2513
+ Overridden from wxDataViewIndexListModel.
2514
+ """
2515
+
2516
+ def SetValueByRow(self, value, row, col):
2517
+ """
2518
+ SetValueByRow(value, row, col) -> bool
2519
+
2520
+ Overridden from wxDataViewIndexListModel.
2521
+ """
2522
+ ColumnCount = property(None, None)
2523
+ ItemCount = property(None, None)
2524
+ # end of class DataViewListStore
2525
+
2526
+
2527
+ class DataViewTreeCtrl(DataViewCtrl):
2528
+ """
2529
+ DataViewTreeCtrl()
2530
+ DataViewTreeCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_NO_HEADER|DV_ROW_LINES, validator=wx.DefaultValidator)
2531
+
2532
+ This class is a wxDataViewCtrl which internally uses a
2533
+ wxDataViewTreeStore and forwards most of its API to that class.
2534
+ """
2535
+
2536
+ def __init__(self, *args, **kw):
2537
+ """
2538
+ DataViewTreeCtrl()
2539
+ DataViewTreeCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_NO_HEADER|DV_ROW_LINES, validator=wx.DefaultValidator)
2540
+
2541
+ This class is a wxDataViewCtrl which internally uses a
2542
+ wxDataViewTreeStore and forwards most of its API to that class.
2543
+ """
2544
+
2545
+ def GetStore(self):
2546
+ """
2547
+ GetStore() -> DataViewTreeStore
2548
+
2549
+ Returns the store.
2550
+ """
2551
+
2552
+ def AppendContainer(self, parent, text, icon=-1, expanded=-1, data=None):
2553
+ """
2554
+ AppendContainer(parent, text, icon=-1, expanded=-1, data=None) -> DataViewItem
2555
+
2556
+ Appends a container to the given parent.
2557
+ """
2558
+
2559
+ def AppendItem(self, parent, text, icon=-1, data=None):
2560
+ """
2561
+ AppendItem(parent, text, icon=-1, data=None) -> DataViewItem
2562
+
2563
+ Appends an item to the given parent.
2564
+ """
2565
+
2566
+ def Create(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_NO_HEADER|DV_ROW_LINES, validator=wx.DefaultValidator):
2567
+ """
2568
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=DV_NO_HEADER|DV_ROW_LINES, validator=wx.DefaultValidator) -> bool
2569
+
2570
+ Creates the control and a wxDataViewTreeStore as its internal model.
2571
+ """
2572
+
2573
+ def DeleteAllItems(self):
2574
+ """
2575
+ DeleteAllItems()
2576
+
2577
+ Calls the identical method from wxDataViewTreeStore.
2578
+ """
2579
+
2580
+ def DeleteChildren(self, item):
2581
+ """
2582
+ DeleteChildren(item)
2583
+
2584
+ Calls the identical method from wxDataViewTreeStore.
2585
+ """
2586
+
2587
+ def DeleteItem(self, item):
2588
+ """
2589
+ DeleteItem(item)
2590
+
2591
+ Calls the identical method from wxDataViewTreeStore.
2592
+ """
2593
+
2594
+ def GetChildCount(self, parent):
2595
+ """
2596
+ GetChildCount(parent) -> int
2597
+
2598
+ Calls the identical method from wxDataViewTreeStore.
2599
+ """
2600
+
2601
+ def GetImageList(self):
2602
+ """
2603
+ GetImageList() -> wx.ImageList
2604
+
2605
+ Returns the image list.
2606
+ """
2607
+
2608
+ def GetItemData(self, item):
2609
+ """
2610
+ GetItemData(item) -> ClientData
2611
+
2612
+ Calls the identical method from wxDataViewTreeStore.
2613
+ """
2614
+
2615
+ def GetItemExpandedIcon(self, item):
2616
+ """
2617
+ GetItemExpandedIcon(item) -> wx.Icon
2618
+
2619
+ Calls the identical method from wxDataViewTreeStore.
2620
+ """
2621
+
2622
+ def GetItemIcon(self, item):
2623
+ """
2624
+ GetItemIcon(item) -> wx.Icon
2625
+
2626
+ Calls the identical method from wxDataViewTreeStore.
2627
+ """
2628
+
2629
+ def GetItemText(self, item):
2630
+ """
2631
+ GetItemText(item) -> String
2632
+
2633
+ Calls the identical method from wxDataViewTreeStore.
2634
+ """
2635
+
2636
+ def GetNthChild(self, parent, pos):
2637
+ """
2638
+ GetNthChild(parent, pos) -> DataViewItem
2639
+
2640
+ Calls the identical method from wxDataViewTreeStore.
2641
+ """
2642
+
2643
+ def InsertContainer(self, parent, previous, text, icon=-1, expanded=-1, data=None):
2644
+ """
2645
+ InsertContainer(parent, previous, text, icon=-1, expanded=-1, data=None) -> DataViewItem
2646
+
2647
+ Calls the same method from wxDataViewTreeStore but uses an index
2648
+ position in the image list instead of a wxIcon.
2649
+ """
2650
+
2651
+ def InsertItem(self, parent, previous, text, icon=-1, data=None):
2652
+ """
2653
+ InsertItem(parent, previous, text, icon=-1, data=None) -> DataViewItem
2654
+
2655
+ Calls the same method from wxDataViewTreeStore but uses an index
2656
+ position in the image list instead of a wxIcon.
2657
+ """
2658
+
2659
+ def IsContainer(self, item):
2660
+ """
2661
+ IsContainer(item) -> bool
2662
+
2663
+ Returns true if item is a container.
2664
+ """
2665
+
2666
+ def PrependContainer(self, parent, text, icon=-1, expanded=-1, data=None):
2667
+ """
2668
+ PrependContainer(parent, text, icon=-1, expanded=-1, data=None) -> DataViewItem
2669
+
2670
+ Calls the same method from wxDataViewTreeStore but uses an index
2671
+ position in the image list instead of a wxIcon.
2672
+ """
2673
+
2674
+ def PrependItem(self, parent, text, icon=-1, data=None):
2675
+ """
2676
+ PrependItem(parent, text, icon=-1, data=None) -> DataViewItem
2677
+
2678
+ Calls the same method from wxDataViewTreeStore but uses an index
2679
+ position in the image list instead of a wxIcon.
2680
+ """
2681
+
2682
+ def SetImageList(self, imagelist):
2683
+ """
2684
+ SetImageList(imagelist)
2685
+
2686
+ Sets the image list.
2687
+ """
2688
+
2689
+ def SetItemData(self, item, data):
2690
+ """
2691
+ SetItemData(item, data)
2692
+
2693
+ Calls the identical method from wxDataViewTreeStore.
2694
+ """
2695
+
2696
+ def SetItemExpandedIcon(self, item, icon):
2697
+ """
2698
+ SetItemExpandedIcon(item, icon)
2699
+
2700
+ Calls the identical method from wxDataViewTreeStore.
2701
+ """
2702
+
2703
+ def SetItemIcon(self, item, icon):
2704
+ """
2705
+ SetItemIcon(item, icon)
2706
+
2707
+ Calls the identical method from wxDataViewTreeStore.
2708
+ """
2709
+
2710
+ def SetItemText(self, item, text):
2711
+ """
2712
+ SetItemText(item, text)
2713
+
2714
+ Calls the identical method from wxDataViewTreeStore.
2715
+ """
2716
+
2717
+ @staticmethod
2718
+ def GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL):
2719
+ """
2720
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
2721
+ """
2722
+ ImageList = property(None, None)
2723
+ Store = property(None, None)
2724
+ # end of class DataViewTreeCtrl
2725
+
2726
+
2727
+ class DataViewTreeStore(DataViewModel):
2728
+ """
2729
+ DataViewTreeStore()
2730
+
2731
+ wxDataViewTreeStore is a specialised wxDataViewModel for storing
2732
+ simple trees very much like wxTreeCtrl does and it offers a similar
2733
+ API.
2734
+ """
2735
+
2736
+ def __init__(self):
2737
+ """
2738
+ DataViewTreeStore()
2739
+
2740
+ wxDataViewTreeStore is a specialised wxDataViewModel for storing
2741
+ simple trees very much like wxTreeCtrl does and it offers a similar
2742
+ API.
2743
+ """
2744
+
2745
+ def AppendContainer(self, parent, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None):
2746
+ """
2747
+ AppendContainer(parent, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None) -> DataViewItem
2748
+
2749
+ Append a container.
2750
+ """
2751
+
2752
+ def AppendItem(self, parent, text, icon=wx.NullIcon, data=None):
2753
+ """
2754
+ AppendItem(parent, text, icon=wx.NullIcon, data=None) -> DataViewItem
2755
+
2756
+ Append an item.
2757
+ """
2758
+
2759
+ def DeleteAllItems(self):
2760
+ """
2761
+ DeleteAllItems()
2762
+
2763
+ Delete all item in the model.
2764
+ """
2765
+
2766
+ def DeleteChildren(self, item):
2767
+ """
2768
+ DeleteChildren(item)
2769
+
2770
+ Delete all children of the item, but not the item itself.
2771
+ """
2772
+
2773
+ def DeleteItem(self, item):
2774
+ """
2775
+ DeleteItem(item)
2776
+
2777
+ Delete this item.
2778
+ """
2779
+
2780
+ def GetChildCount(self, parent):
2781
+ """
2782
+ GetChildCount(parent) -> int
2783
+
2784
+ Return the number of children of item.
2785
+ """
2786
+
2787
+ def GetItemData(self, item):
2788
+ """
2789
+ GetItemData(item) -> ClientData
2790
+
2791
+ Returns the client data associated with the item.
2792
+ """
2793
+
2794
+ def GetItemExpandedIcon(self, item):
2795
+ """
2796
+ GetItemExpandedIcon(item) -> wx.Icon
2797
+
2798
+ Returns the icon to display in expanded containers.
2799
+ """
2800
+
2801
+ def GetItemIcon(self, item):
2802
+ """
2803
+ GetItemIcon(item) -> wx.Icon
2804
+
2805
+ Returns the icon of the item.
2806
+ """
2807
+
2808
+ def GetItemText(self, item):
2809
+ """
2810
+ GetItemText(item) -> String
2811
+
2812
+ Returns the text of the item.
2813
+ """
2814
+
2815
+ def GetNthChild(self, parent, pos):
2816
+ """
2817
+ GetNthChild(parent, pos) -> DataViewItem
2818
+
2819
+ Returns the nth child item of item.
2820
+ """
2821
+
2822
+ def InsertContainer(self, parent, previous, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None):
2823
+ """
2824
+ InsertContainer(parent, previous, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None) -> DataViewItem
2825
+
2826
+ Inserts a container after previous.
2827
+ """
2828
+
2829
+ def InsertItem(self, parent, previous, text, icon=wx.NullIcon, data=None):
2830
+ """
2831
+ InsertItem(parent, previous, text, icon=wx.NullIcon, data=None) -> DataViewItem
2832
+
2833
+ Inserts an item after previous.
2834
+ """
2835
+
2836
+ def PrependContainer(self, parent, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None):
2837
+ """
2838
+ PrependContainer(parent, text, icon=wx.NullIcon, expanded=wx.NullIcon, data=None) -> DataViewItem
2839
+
2840
+ Inserts a container before the first child item or parent.
2841
+ """
2842
+
2843
+ def PrependItem(self, parent, text, icon=wx.NullIcon, data=None):
2844
+ """
2845
+ PrependItem(parent, text, icon=wx.NullIcon, data=None) -> DataViewItem
2846
+
2847
+ Inserts an item before the first child item or parent.
2848
+ """
2849
+
2850
+ def SetItemData(self, item, data):
2851
+ """
2852
+ SetItemData(item, data)
2853
+
2854
+ Sets the client data associated with the item.
2855
+ """
2856
+
2857
+ def SetItemExpandedIcon(self, item, icon):
2858
+ """
2859
+ SetItemExpandedIcon(item, icon)
2860
+
2861
+ Sets the expanded icon for the item.
2862
+ """
2863
+
2864
+ def SetItemIcon(self, item, icon):
2865
+ """
2866
+ SetItemIcon(item, icon)
2867
+
2868
+ Sets the icon for the item.
2869
+ """
2870
+ # end of class DataViewTreeStore
2871
+
2872
+
2873
+ NullDataViewItem = DataViewItem()
2874
+ class DataViewItemObjectMapper(object):
2875
+ """
2876
+ This class provides a mechanism for mapping between Python objects and the
2877
+ :class:`DataViewItem` objects used by the :class:`DataViewModel` for tracking the items in
2878
+ the view. The ID used for the item is the id() of the Python object. Use
2879
+ :meth:`ObjectToItem` to create a :class:`DataViewItem` using a Python object as its ID,
2880
+ and use :meth:`ItemToObject` to fetch that Python object again later for a given
2881
+ :class:`DataViewItem`.
2882
+
2883
+ By default a regular dictionary is used to implement the ID to object
2884
+ mapping. Optionally a WeakValueDictionary can be useful when there will be
2885
+ a high turnover of objects and maintaining an extra reference to the
2886
+ objects would be unwise. If weak references are used then the objects
2887
+ associated with data items must be weak-referenceable. (Things like
2888
+ stock lists and dictionaries are not.) See :meth:`UseWeakRefs`.
2889
+
2890
+ This class is used in :class:`PyDataViewModel` as a mixin for convenience.
2891
+ """
2892
+
2893
+ def __init__(self):
2894
+ pass
2895
+
2896
+ def ObjectToItem(self, obj):
2897
+ """
2898
+ Create a :class:`DataViewItem` for the object, and remember the ID-->obj mapping.
2899
+ """
2900
+ pass
2901
+
2902
+ def ItemToObject(self, item):
2903
+ """
2904
+ Retrieve the object that was used to create an item.
2905
+ """
2906
+ pass
2907
+
2908
+ def UseWeakRefs(self, flag):
2909
+ """
2910
+ Switch to or from using a weak value dictionary for keeping the ID to
2911
+ object map.
2912
+ """
2913
+ pass
2914
+ class PyDataViewModel(DataViewModel, DataViewItemObjectMapper):
2915
+ """
2916
+ A convenience class that is a :class:`DataViewModel` combined with an object mapper.
2917
+ """
2918
+
2919
+ def __init__(self):
2920
+ pass
2921
+
2922
+ PyDataViewIndexListModel = wx.deprecated(DataViewIndexListModel)
2923
+ PyDataViewVirtualListModel = wx.deprecated(DataViewVirtualListModel)
2924
+
2925
+ PyDataViewCustomRenderer = wx.deprecated(DataViewCustomRenderer,
2926
+ "Use DataViewCustomRenderer instead")
2927
+
2928
+ EVT_DATAVIEW_SELECTION_CHANGED = wx.PyEventBinder( wxEVT_DATAVIEW_SELECTION_CHANGED, 1)
2929
+ EVT_DATAVIEW_ITEM_ACTIVATED = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_ACTIVATED, 1)
2930
+ EVT_DATAVIEW_ITEM_COLLAPSED = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_COLLAPSED, 1)
2931
+ EVT_DATAVIEW_ITEM_EXPANDED = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_EXPANDED, 1)
2932
+ EVT_DATAVIEW_ITEM_COLLAPSING = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_COLLAPSING, 1)
2933
+ EVT_DATAVIEW_ITEM_EXPANDING = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_EXPANDING, 1)
2934
+ EVT_DATAVIEW_ITEM_START_EDITING = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_START_EDITING, 1)
2935
+ EVT_DATAVIEW_ITEM_EDITING_STARTED = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_EDITING_STARTED, 1)
2936
+ EVT_DATAVIEW_ITEM_EDITING_DONE = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_EDITING_DONE, 1)
2937
+ EVT_DATAVIEW_ITEM_VALUE_CHANGED = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_VALUE_CHANGED, 1)
2938
+ EVT_DATAVIEW_ITEM_CONTEXT_MENU = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_CONTEXT_MENU, 1)
2939
+ EVT_DATAVIEW_COLUMN_HEADER_CLICK = wx.PyEventBinder( wxEVT_DATAVIEW_COLUMN_HEADER_CLICK, 1)
2940
+ EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK = wx.PyEventBinder( wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, 1)
2941
+ EVT_DATAVIEW_COLUMN_SORTED = wx.PyEventBinder( wxEVT_DATAVIEW_COLUMN_SORTED, 1)
2942
+ EVT_DATAVIEW_COLUMN_REORDERED = wx.PyEventBinder( wxEVT_DATAVIEW_COLUMN_REORDERED, 1)
2943
+ EVT_DATAVIEW_ITEM_BEGIN_DRAG = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_BEGIN_DRAG, 1)
2944
+ EVT_DATAVIEW_ITEM_DROP_POSSIBLE = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE, 1)
2945
+ EVT_DATAVIEW_ITEM_DROP = wx.PyEventBinder( wxEVT_DATAVIEW_ITEM_DROP, 1)
2946
+ EVT_DATAVIEW_CACHE_HINT = wx.PyEventBinder( wxEVT_DATAVIEW_CACHE_HINT, 1 )
2947
+
2948
+ # deprecated wxEVT aliases
2949
+ wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED = wxEVT_DATAVIEW_SELECTION_CHANGED
2950
+ wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED = wxEVT_DATAVIEW_ITEM_ACTIVATED
2951
+ wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED = wxEVT_DATAVIEW_ITEM_COLLAPSED
2952
+ wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED = wxEVT_DATAVIEW_ITEM_EXPANDED
2953
+ wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING = wxEVT_DATAVIEW_ITEM_COLLAPSING
2954
+ wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING = wxEVT_DATAVIEW_ITEM_EXPANDING
2955
+ wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING = wxEVT_DATAVIEW_ITEM_START_EDITING
2956
+ wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED = wxEVT_DATAVIEW_ITEM_EDITING_STARTED
2957
+ wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE = wxEVT_DATAVIEW_ITEM_EDITING_DONE
2958
+ wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED = wxEVT_DATAVIEW_ITEM_VALUE_CHANGED
2959
+ wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU = wxEVT_DATAVIEW_ITEM_CONTEXT_MENU
2960
+ wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK = wxEVT_DATAVIEW_COLUMN_HEADER_CLICK
2961
+ wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK = wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK
2962
+ wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED = wxEVT_DATAVIEW_COLUMN_SORTED
2963
+ wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED = wxEVT_DATAVIEW_COLUMN_REORDERED
2964
+ wxEVT_COMMAND_DATAVIEW_CACHE_HINT = wxEVT_DATAVIEW_CACHE_HINT
2965
+ wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG = wxEVT_DATAVIEW_ITEM_BEGIN_DRAG
2966
+ wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE = wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE
2967
+ wxEVT_COMMAND_DATAVIEW_ITEM_DROP = wxEVT_DATAVIEW_ITEM_DROP
2968
+
2969
+ #-- end-dataview --#
2970
+ #-- begin-treelist --#
2971
+ TL_SINGLE = 0
2972
+ TL_MULTIPLE = 0
2973
+ TL_CHECKBOX = 0
2974
+ TL_3STATE = 0
2975
+ TL_USER_3STATE = 0
2976
+ TL_NO_HEADER = 0
2977
+ TL_DEFAULT_STYLE = 0
2978
+ TL_STYLE_MASK = 0
2979
+ wxEVT_TREELIST_SELECTION_CHANGED = 0
2980
+ wxEVT_TREELIST_ITEM_EXPANDING = 0
2981
+ wxEVT_TREELIST_ITEM_EXPANDED = 0
2982
+ wxEVT_TREELIST_ITEM_CHECKED = 0
2983
+ wxEVT_TREELIST_ITEM_ACTIVATED = 0
2984
+ wxEVT_TREELIST_ITEM_CONTEXT_MENU = 0
2985
+ wxEVT_TREELIST_COLUMN_SORTED = 0
2986
+
2987
+ class TreeListItem(object):
2988
+ """
2989
+ TreeListItem()
2990
+
2991
+ Unique identifier of an item in wxTreeListCtrl.
2992
+ """
2993
+
2994
+ def __init__(self):
2995
+ """
2996
+ TreeListItem()
2997
+
2998
+ Unique identifier of an item in wxTreeListCtrl.
2999
+ """
3000
+
3001
+ def IsOk(self):
3002
+ """
3003
+ IsOk() -> bool
3004
+
3005
+ Return true if the item is valid.
3006
+ """
3007
+
3008
+ def __nonzero__(self):
3009
+ """
3010
+ __nonzero__() -> int
3011
+ """
3012
+
3013
+ def __bool__(self):
3014
+ """
3015
+ __bool__() -> int
3016
+ """
3017
+
3018
+ def __hash__(self):
3019
+ """
3020
+ __hash__() -> long
3021
+ """
3022
+
3023
+ def __eq__(self, other):
3024
+ """
3025
+ __eq__(other) -> bool
3026
+ """
3027
+
3028
+ def __ne__(self, other):
3029
+ """
3030
+ __ne__(other) -> bool
3031
+ """
3032
+ # end of class TreeListItem
3033
+
3034
+
3035
+ class TreeListItemComparator(object):
3036
+ """
3037
+ TreeListItemComparator()
3038
+
3039
+ Class defining sort order for the items in wxTreeListCtrl.
3040
+ """
3041
+
3042
+ def __init__(self):
3043
+ """
3044
+ TreeListItemComparator()
3045
+
3046
+ Class defining sort order for the items in wxTreeListCtrl.
3047
+ """
3048
+
3049
+ def Compare(self, treelist, column, first, second):
3050
+ """
3051
+ Compare(treelist, column, first, second) -> int
3052
+
3053
+ Pure virtual function which must be overridden to define sort order.
3054
+ """
3055
+ # end of class TreeListItemComparator
3056
+
3057
+ TreeListCtrlNameStr = char()
3058
+
3059
+ class TreeListCtrl(wx.Window):
3060
+ """
3061
+ TreeListCtrl()
3062
+ TreeListCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TL_DEFAULT_STYLE, name=TreeListCtrlNameStr)
3063
+
3064
+ A control combining wxTreeCtrl and wxListCtrl features.
3065
+ """
3066
+
3067
+ def __init__(self, *args, **kw):
3068
+ """
3069
+ TreeListCtrl()
3070
+ TreeListCtrl(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TL_DEFAULT_STYLE, name=TreeListCtrlNameStr)
3071
+
3072
+ A control combining wxTreeCtrl and wxListCtrl features.
3073
+ """
3074
+ NO_IMAGE = property(None, None)
3075
+
3076
+ def AssignImageList(self, imageList):
3077
+ """
3078
+ AssignImageList(imageList)
3079
+
3080
+ Sets the image list and gives its ownership to the control.
3081
+ """
3082
+
3083
+ def SetImageList(self, imageList):
3084
+ """
3085
+ SetImageList(imageList)
3086
+
3087
+ Sets the image list.
3088
+ """
3089
+
3090
+ def AppendColumn(self, title, width=wx.COL_WIDTH_AUTOSIZE, align=wx.ALIGN_LEFT, flags=wx.COL_RESIZABLE):
3091
+ """
3092
+ AppendColumn(title, width=wx.COL_WIDTH_AUTOSIZE, align=wx.ALIGN_LEFT, flags=wx.COL_RESIZABLE) -> int
3093
+
3094
+ Add a column with the given title and attributes.
3095
+ """
3096
+
3097
+ def GetColumnCount(self):
3098
+ """
3099
+ GetColumnCount() -> unsigned
3100
+
3101
+ Return the total number of columns.
3102
+ """
3103
+
3104
+ def DeleteColumn(self, col):
3105
+ """
3106
+ DeleteColumn(col) -> bool
3107
+
3108
+ Delete the column with the given index.
3109
+ """
3110
+
3111
+ def ClearColumns(self):
3112
+ """
3113
+ ClearColumns()
3114
+
3115
+ Delete all columns.
3116
+ """
3117
+
3118
+ def SetColumnWidth(self, col, width):
3119
+ """
3120
+ SetColumnWidth(col, width)
3121
+
3122
+ Change the width of the given column.
3123
+ """
3124
+
3125
+ def GetColumnWidth(self, col):
3126
+ """
3127
+ GetColumnWidth(col) -> int
3128
+
3129
+ Get the current width of the given column in pixels.
3130
+ """
3131
+
3132
+ def WidthFor(self, text):
3133
+ """
3134
+ WidthFor(text) -> int
3135
+
3136
+ Get the width appropriate for showing the given text.
3137
+ """
3138
+
3139
+ def AppendItem(self, parent, text, imageClosed=-1, imageOpened=-1, data=None):
3140
+ """
3141
+ AppendItem(parent, text, imageClosed=-1, imageOpened=-1, data=None) -> TreeListItem
3142
+
3143
+ Same as InsertItem() with wxTLI_LAST.
3144
+ """
3145
+
3146
+ def InsertItem(self, parent, previous, text, imageClosed=-1, imageOpened=-1, data=None):
3147
+ """
3148
+ InsertItem(parent, previous, text, imageClosed=-1, imageOpened=-1, data=None) -> TreeListItem
3149
+
3150
+ Insert a new item into the tree.
3151
+ """
3152
+
3153
+ def PrependItem(self, parent, text, imageClosed=-1, imageOpened=-1, data=None):
3154
+ """
3155
+ PrependItem(parent, text, imageClosed=-1, imageOpened=-1, data=None) -> TreeListItem
3156
+
3157
+ Same as InsertItem() with wxTLI_FIRST.
3158
+ """
3159
+
3160
+ def DeleteItem(self, item):
3161
+ """
3162
+ DeleteItem(item)
3163
+
3164
+ Delete the specified item.
3165
+ """
3166
+
3167
+ def DeleteAllItems(self):
3168
+ """
3169
+ DeleteAllItems()
3170
+
3171
+ Delete all tree items.
3172
+ """
3173
+
3174
+ def GetRootItem(self):
3175
+ """
3176
+ GetRootItem() -> TreeListItem
3177
+
3178
+ Return the (never shown) root item.
3179
+ """
3180
+
3181
+ def GetItemParent(self, item):
3182
+ """
3183
+ GetItemParent(item) -> TreeListItem
3184
+
3185
+ Return the parent of the given item.
3186
+ """
3187
+
3188
+ def GetFirstChild(self, item):
3189
+ """
3190
+ GetFirstChild(item) -> TreeListItem
3191
+
3192
+ Return the first child of the given item.
3193
+ """
3194
+
3195
+ def GetNextSibling(self, item):
3196
+ """
3197
+ GetNextSibling(item) -> TreeListItem
3198
+
3199
+ Return the next sibling of the given item.
3200
+ """
3201
+
3202
+ def GetFirstItem(self):
3203
+ """
3204
+ GetFirstItem() -> TreeListItem
3205
+
3206
+ Return the first item in the tree.
3207
+ """
3208
+
3209
+ def GetNextItem(self, item):
3210
+ """
3211
+ GetNextItem(item) -> TreeListItem
3212
+
3213
+ Get item after the given one in the depth-first tree-traversal order.
3214
+ """
3215
+
3216
+ def GetItemText(self, item, col=0):
3217
+ """
3218
+ GetItemText(item, col=0) -> String
3219
+
3220
+ Return the text of the given item.
3221
+ """
3222
+
3223
+ def SetItemText(self, *args, **kw):
3224
+ """
3225
+ SetItemText(item, col, text)
3226
+ SetItemText(item, text)
3227
+
3228
+ Set the text of the specified column of the given item.
3229
+ """
3230
+
3231
+ def SetItemImage(self, item, closed, opened=-1):
3232
+ """
3233
+ SetItemImage(item, closed, opened=-1)
3234
+
3235
+ Set the images for the given item.
3236
+ """
3237
+
3238
+ def GetItemData(self, item):
3239
+ """
3240
+ GetItemData(item) -> ClientData
3241
+
3242
+ Get the data associated with the given item.
3243
+ """
3244
+
3245
+ def SetItemData(self, item, data):
3246
+ """
3247
+ SetItemData(item, data)
3248
+
3249
+ Set the data associated with the given item.
3250
+ """
3251
+
3252
+ def Expand(self, item):
3253
+ """
3254
+ Expand(item)
3255
+
3256
+ Expand the given tree branch.
3257
+ """
3258
+
3259
+ def Collapse(self, item):
3260
+ """
3261
+ Collapse(item)
3262
+
3263
+ Collapse the given tree branch.
3264
+ """
3265
+
3266
+ def IsExpanded(self, item):
3267
+ """
3268
+ IsExpanded(item) -> bool
3269
+
3270
+ Return whether the given item is expanded.
3271
+ """
3272
+
3273
+ def GetSelection(self):
3274
+ """
3275
+ GetSelection() -> TreeListItem
3276
+
3277
+ Return the currently selected item.
3278
+ """
3279
+
3280
+ def GetSelections(self):
3281
+ """
3282
+ GetSelections() -> PyObject
3283
+
3284
+ Returns a list of all selected items. This method can be used in
3285
+ both single and multi-selection case.
3286
+ """
3287
+
3288
+ def Select(self, item):
3289
+ """
3290
+ Select(item)
3291
+
3292
+ Select the given item.
3293
+ """
3294
+
3295
+ def Unselect(self, item):
3296
+ """
3297
+ Unselect(item)
3298
+
3299
+ Deselect the given item.
3300
+ """
3301
+
3302
+ def IsSelected(self, item):
3303
+ """
3304
+ IsSelected(item) -> bool
3305
+
3306
+ Return true if the item is selected.
3307
+ """
3308
+
3309
+ def SelectAll(self):
3310
+ """
3311
+ SelectAll()
3312
+
3313
+ Select all the control items.
3314
+ """
3315
+
3316
+ def UnselectAll(self):
3317
+ """
3318
+ UnselectAll()
3319
+
3320
+ Deselect all the control items.
3321
+ """
3322
+
3323
+ def EnsureVisible(self, item):
3324
+ """
3325
+ EnsureVisible(item)
3326
+
3327
+ Call this to ensure that the given item is visible.
3328
+ """
3329
+
3330
+ def CheckItem(self, item, state=wx.CHK_CHECKED):
3331
+ """
3332
+ CheckItem(item, state=wx.CHK_CHECKED)
3333
+
3334
+ Change the item checked state.
3335
+ """
3336
+
3337
+ def CheckItemRecursively(self, item, state=wx.CHK_CHECKED):
3338
+ """
3339
+ CheckItemRecursively(item, state=wx.CHK_CHECKED)
3340
+
3341
+ Change the checked state of the given item and all its children.
3342
+ """
3343
+
3344
+ def UncheckItem(self, item):
3345
+ """
3346
+ UncheckItem(item)
3347
+
3348
+ Uncheck the given item.
3349
+ """
3350
+
3351
+ def UpdateItemParentStateRecursively(self, item):
3352
+ """
3353
+ UpdateItemParentStateRecursively(item)
3354
+
3355
+ Update the state of the parent item to reflect the checked state of
3356
+ its children.
3357
+ """
3358
+
3359
+ def GetCheckedState(self, item):
3360
+ """
3361
+ GetCheckedState(item) -> CheckBoxState
3362
+
3363
+ Return the checked state of the item.
3364
+ """
3365
+
3366
+ def AreAllChildrenInState(self, item, state):
3367
+ """
3368
+ AreAllChildrenInState(item, state) -> bool
3369
+
3370
+ Return true if all children of the given item are in the specified
3371
+ state.
3372
+ """
3373
+
3374
+ def SetSortColumn(self, col, ascendingOrder=True):
3375
+ """
3376
+ SetSortColumn(col, ascendingOrder=True)
3377
+
3378
+ Set the column to use for sorting and the order in which to sort.
3379
+ """
3380
+
3381
+ def GetSortColumn(self):
3382
+ """
3383
+ GetSortColumn() -> (bool, col, ascendingOrder)
3384
+
3385
+ Return the column currently used for sorting, if any.
3386
+ """
3387
+
3388
+ def SetItemComparator(self, comparator):
3389
+ """
3390
+ SetItemComparator(comparator)
3391
+
3392
+ Set the object to use for comparing the items.
3393
+ """
3394
+
3395
+ def GetView(self):
3396
+ """
3397
+ GetView() -> wx.Window
3398
+
3399
+ Return the view part of this control as a wxWindow.
3400
+ """
3401
+
3402
+ def GetDataView(self):
3403
+ """
3404
+ GetDataView() -> DataViewCtrl
3405
+
3406
+ Return the view part of this control as wxDataViewCtrl.
3407
+ """
3408
+
3409
+ def Create(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TL_DEFAULT_STYLE, name=TreeListCtrlNameStr):
3410
+ """
3411
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=TL_DEFAULT_STYLE, name=TreeListCtrlNameStr) -> bool
3412
+
3413
+ Create the control window.
3414
+ """
3415
+
3416
+ @staticmethod
3417
+ def GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL):
3418
+ """
3419
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
3420
+ """
3421
+ ColumnCount = property(None, None)
3422
+ DataView = property(None, None)
3423
+ FirstItem = property(None, None)
3424
+ RootItem = property(None, None)
3425
+ Selection = property(None, None)
3426
+ Selections = property(None, None)
3427
+ SortColumn = property(None, None)
3428
+ View = property(None, None)
3429
+ # end of class TreeListCtrl
3430
+
3431
+
3432
+ class TreeListEvent(wx.NotifyEvent):
3433
+ """
3434
+ TreeListEvent()
3435
+
3436
+ Event generated by wxTreeListCtrl.
3437
+ """
3438
+
3439
+ def __init__(self):
3440
+ """
3441
+ TreeListEvent()
3442
+
3443
+ Event generated by wxTreeListCtrl.
3444
+ """
3445
+
3446
+ def GetItem(self):
3447
+ """
3448
+ GetItem() -> TreeListItem
3449
+
3450
+ Return the item affected by the event.
3451
+ """
3452
+
3453
+ def GetOldCheckedState(self):
3454
+ """
3455
+ GetOldCheckedState() -> CheckBoxState
3456
+
3457
+ Return the previous state of the item checkbox.
3458
+ """
3459
+
3460
+ def GetColumn(self):
3461
+ """
3462
+ GetColumn() -> unsigned
3463
+
3464
+ Return the column affected by the event.
3465
+ """
3466
+ Column = property(None, None)
3467
+ Item = property(None, None)
3468
+ OldCheckedState = property(None, None)
3469
+ # end of class TreeListEvent
3470
+
3471
+ TLI_FIRST = TreeListItem()
3472
+ TLI_LAST = TreeListItem()
3473
+
3474
+ EVT_TREELIST_SELECTION_CHANGED = wx.PyEventBinder( wxEVT_TREELIST_SELECTION_CHANGED )
3475
+ EVT_TREELIST_ITEM_EXPANDING = wx.PyEventBinder( wxEVT_TREELIST_ITEM_EXPANDING )
3476
+ EVT_TREELIST_ITEM_EXPANDED = wx.PyEventBinder( wxEVT_TREELIST_ITEM_EXPANDED )
3477
+ EVT_TREELIST_ITEM_CHECKED = wx.PyEventBinder( wxEVT_TREELIST_ITEM_CHECKED )
3478
+ EVT_TREELIST_ITEM_ACTIVATED = wx.PyEventBinder( wxEVT_TREELIST_ITEM_ACTIVATED )
3479
+ EVT_TREELIST_ITEM_CONTEXT_MENU = wx.PyEventBinder( wxEVT_TREELIST_ITEM_CONTEXT_MENU )
3480
+ EVT_TREELIST_COLUMN_SORTED = wx.PyEventBinder( wxEVT_TREELIST_COLUMN_SORTED )
3481
+
3482
+ # deprecated wxEVT aliases
3483
+ wxEVT_COMMAND_TREELIST_SELECTION_CHANGED = wxEVT_TREELIST_SELECTION_CHANGED
3484
+ wxEVT_COMMAND_TREELIST_ITEM_EXPANDING = wxEVT_TREELIST_ITEM_EXPANDING
3485
+ wxEVT_COMMAND_TREELIST_ITEM_EXPANDED = wxEVT_TREELIST_ITEM_EXPANDED
3486
+ wxEVT_COMMAND_TREELIST_ITEM_CHECKED = wxEVT_TREELIST_ITEM_CHECKED
3487
+ wxEVT_COMMAND_TREELIST_ITEM_ACTIVATED = wxEVT_TREELIST_ITEM_ACTIVATED
3488
+ wxEVT_COMMAND_TREELIST_ITEM_CONTEXT_MENU = wxEVT_TREELIST_ITEM_CONTEXT_MENU
3489
+ wxEVT_COMMAND_TREELIST_COLUMN_SORTED = wxEVT_TREELIST_COLUMN_SORTED
3490
+
3491
+ #-- end-treelist --#