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/grid.pyi ADDED
@@ -0,0 +1,4959 @@
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 Grid and related classes in this module provide functionality similar to a
20
+ spreadsheet, where the application can display rows and columns of data of
21
+ various types, which the user can edit and otherwise interact with.
22
+ """
23
+
24
+ #-- begin-_grid --#
25
+
26
+ import wx
27
+
28
+ #-- end-_grid --#
29
+ #-- begin-grid --#
30
+ GridNameStr = char()
31
+ GRID_AUTOSIZE = 0
32
+ GRID_FLOAT_FORMAT_FIXED = 0
33
+ GRID_FLOAT_FORMAT_SCIENTIFIC = 0
34
+ GRID_FLOAT_FORMAT_COMPACT = 0
35
+ GRID_FLOAT_FORMAT_UPPER = 0
36
+ GRID_FLOAT_FORMAT_DEFAULT = 0
37
+ GRIDTABLE_NOTIFY_ROWS_INSERTED = 0
38
+ GRIDTABLE_NOTIFY_ROWS_APPENDED = 0
39
+ GRIDTABLE_NOTIFY_ROWS_DELETED = 0
40
+ GRIDTABLE_NOTIFY_COLS_INSERTED = 0
41
+ GRIDTABLE_NOTIFY_COLS_APPENDED = 0
42
+ GRIDTABLE_NOTIFY_COLS_DELETED = 0
43
+ GRID_DRAW_ROWS_HEADER = 0
44
+ GRID_DRAW_COLS_HEADER = 0
45
+ GRID_DRAW_CELL_LINES = 0
46
+ GRID_DRAW_BOX_RECT = 0
47
+ GRID_DRAW_SELECTION = 0
48
+ GRID_DRAW_DEFAULT = 0
49
+ wxEVT_GRID_CELL_LEFT_CLICK = 0
50
+ wxEVT_GRID_CELL_RIGHT_CLICK = 0
51
+ wxEVT_GRID_CELL_LEFT_DCLICK = 0
52
+ wxEVT_GRID_CELL_RIGHT_DCLICK = 0
53
+ wxEVT_GRID_LABEL_LEFT_CLICK = 0
54
+ wxEVT_GRID_LABEL_RIGHT_CLICK = 0
55
+ wxEVT_GRID_LABEL_LEFT_DCLICK = 0
56
+ wxEVT_GRID_LABEL_RIGHT_DCLICK = 0
57
+ wxEVT_GRID_ROW_SIZE = 0
58
+ wxEVT_GRID_COL_SIZE = 0
59
+ wxEVT_GRID_COL_AUTO_SIZE = 0
60
+ wxEVT_GRID_RANGE_SELECTING = 0
61
+ wxEVT_GRID_RANGE_SELECTED = 0
62
+ wxEVT_GRID_CELL_CHANGING = 0
63
+ wxEVT_GRID_CELL_CHANGED = 0
64
+ wxEVT_GRID_SELECT_CELL = 0
65
+ wxEVT_GRID_EDITOR_SHOWN = 0
66
+ wxEVT_GRID_EDITOR_HIDDEN = 0
67
+ wxEVT_GRID_EDITOR_CREATED = 0
68
+ wxEVT_GRID_CELL_BEGIN_DRAG = 0
69
+ wxEVT_GRID_COL_MOVE = 0
70
+ wxEVT_GRID_COL_SORT = 0
71
+ wxEVT_GRID_TABBING = 0
72
+
73
+ class GridCellCoords(object):
74
+ """
75
+ GridCellCoords()
76
+ GridCellCoords(row, col)
77
+
78
+ Represents coordinates of a grid cell.
79
+ """
80
+
81
+ def __init__(self, *args, **kw):
82
+ """
83
+ GridCellCoords()
84
+ GridCellCoords(row, col)
85
+
86
+ Represents coordinates of a grid cell.
87
+ """
88
+
89
+ def GetRow(self):
90
+ """
91
+ GetRow() -> int
92
+
93
+ Return the row of the coordinate.
94
+ """
95
+
96
+ def SetRow(self, n):
97
+ """
98
+ SetRow(n)
99
+
100
+ Set the row of the coordinate.
101
+ """
102
+
103
+ def GetCol(self):
104
+ """
105
+ GetCol() -> int
106
+
107
+ Return the column of the coordinate.
108
+ """
109
+
110
+ def SetCol(self, n):
111
+ """
112
+ SetCol(n)
113
+
114
+ Set the column of the coordinate.
115
+ """
116
+
117
+ def Set(self, row, col):
118
+ """
119
+ Set(row, col)
120
+
121
+ Set the row and column of the coordinate.
122
+ """
123
+
124
+ def __eq__(self):
125
+ """
126
+ """
127
+
128
+ def __ne__(self):
129
+ """
130
+ """
131
+ Col = property(None, None)
132
+ Row = property(None, None)
133
+
134
+ def Get(self):
135
+ """
136
+ Get() -> (row,col)
137
+
138
+ Return the row and col properties as a tuple.
139
+ """
140
+
141
+ def GetIM(self):
142
+ """
143
+ Returns an immutable representation of the ``wx.GridCellCoords`` object, based on ``namedtuple``.
144
+
145
+ This new object is hashable and can be used as a dictionary key,
146
+ be added to sets, etc. It can be converted back into a real ``wx.GridCellCoords``
147
+ with a simple statement like this: ``obj = wx.GridCellCoords(imObj)``.
148
+ """
149
+
150
+ def __str__(self):
151
+ """
152
+
153
+ """
154
+
155
+ def __repr__(self):
156
+ """
157
+
158
+ """
159
+
160
+ def __len__(self):
161
+ """
162
+
163
+ """
164
+
165
+ def __nonzero__(self):
166
+ """
167
+
168
+ """
169
+
170
+ def __bool__(self):
171
+ """
172
+
173
+ """
174
+
175
+ def __reduce__(self):
176
+ """
177
+
178
+ """
179
+
180
+ def __getitem__(self, idx):
181
+ """
182
+
183
+ """
184
+
185
+ def __setitem__(self, idx, val):
186
+ """
187
+
188
+ """
189
+
190
+ __safe_for_unpickling__ = True
191
+ # end of class GridCellCoords
192
+
193
+
194
+ class GridBlockCoords(object):
195
+ """
196
+ GridBlockCoords()
197
+ GridBlockCoords(topRow, leftCol, bottomRow, rightCol)
198
+
199
+ Represents coordinates of a block of cells in the grid.
200
+ """
201
+
202
+ def __init__(self, *args, **kw):
203
+ """
204
+ GridBlockCoords()
205
+ GridBlockCoords(topRow, leftCol, bottomRow, rightCol)
206
+
207
+ Represents coordinates of a block of cells in the grid.
208
+ """
209
+
210
+ def GetTopRow(self):
211
+ """
212
+ GetTopRow() -> int
213
+
214
+ Return the row of the left top corner.
215
+ """
216
+
217
+ def SetTopRow(self, row):
218
+ """
219
+ SetTopRow(row)
220
+
221
+ Set the row of the left top corner.
222
+ """
223
+
224
+ def GetLeftCol(self):
225
+ """
226
+ GetLeftCol() -> int
227
+
228
+ Return the column of the left top corner.
229
+ """
230
+
231
+ def SetLeftCol(self, col):
232
+ """
233
+ SetLeftCol(col)
234
+
235
+ Set the column of the left top corner.
236
+ """
237
+
238
+ def GetBottomRow(self):
239
+ """
240
+ GetBottomRow() -> int
241
+
242
+ Return the row of the bottom right corner.
243
+ """
244
+
245
+ def SetBottomRow(self, row):
246
+ """
247
+ SetBottomRow(row)
248
+
249
+ Set the row of the bottom right corner.
250
+ """
251
+
252
+ def GetRightCol(self):
253
+ """
254
+ GetRightCol() -> int
255
+
256
+ Return the column of the bottom right corner.
257
+ """
258
+
259
+ def SetRightCol(self, col):
260
+ """
261
+ SetRightCol(col)
262
+
263
+ Set the column of the bottom right corner.
264
+ """
265
+
266
+ def GetTopLeft(self):
267
+ """
268
+ GetTopLeft() -> GridCellCoords
269
+
270
+ Return the coordinates of the top left corner.
271
+ """
272
+
273
+ def GetBottomRight(self):
274
+ """
275
+ GetBottomRight() -> GridCellCoords
276
+
277
+ Return the coordinates of the bottom right corner.
278
+ """
279
+
280
+ def Canonicalize(self):
281
+ """
282
+ Canonicalize() -> GridBlockCoords
283
+
284
+ Return the canonicalized block where top left coordinates is less then
285
+ bottom right coordinates.
286
+ """
287
+
288
+ def Intersects(self, other):
289
+ """
290
+ Intersects(other) -> bool
291
+
292
+ Whether the blocks intersect.
293
+ """
294
+
295
+ def Contains(self, *args, **kw):
296
+ """
297
+ Contains(cell) -> bool
298
+ Contains(other) -> bool
299
+
300
+ Check whether this block contains the given cell.
301
+ """
302
+
303
+ def Difference(self, other, splitOrientation):
304
+ """
305
+ Difference(other, splitOrientation) -> GridBlockDiffResult
306
+
307
+ Calculates the result blocks by subtracting the other block from this
308
+ block.
309
+ """
310
+
311
+ def SymDifference(self, other):
312
+ """
313
+ SymDifference(other) -> GridBlockDiffResult
314
+
315
+ Calculates the symmetric difference of the blocks.
316
+ """
317
+
318
+ def __eq__(self):
319
+ """
320
+ """
321
+
322
+ def __ne__(self):
323
+ """
324
+ """
325
+ BottomRight = property(None, None)
326
+ BottomRow = property(None, None)
327
+ LeftCol = property(None, None)
328
+ RightCol = property(None, None)
329
+ TopLeft = property(None, None)
330
+ TopRow = property(None, None)
331
+
332
+ def __bool__(self):
333
+ """
334
+ __bool__() -> int
335
+ """
336
+
337
+ def Get(self):
338
+ """
339
+ Get() -> (topRow, leftCol, bottomRow, rightCol)
340
+
341
+ Return the block coordinants as a tuple.
342
+ """
343
+
344
+ def __str__(self):
345
+ """
346
+
347
+ """
348
+
349
+ def __repr__(self):
350
+ """
351
+
352
+ """
353
+ # end of class GridBlockCoords
354
+
355
+
356
+ class GridBlockDiffResult(object):
357
+ """
358
+ The helper struct uses as a result type for difference functions of
359
+ wxGridBlockCoords class.
360
+ """
361
+
362
+ def _getParts(self):
363
+ """
364
+ _getParts() -> PyObject
365
+ """
366
+ m_parts = property(None, None)
367
+ # end of class GridBlockDiffResult
368
+
369
+
370
+ class GridBlocks(object):
371
+ """
372
+ Represents a collection of grid blocks that can be iterated over.
373
+ """
374
+
375
+ class iterator(object):
376
+ """
377
+ Read-only forward iterator type.
378
+ """
379
+ # end of class iterator
380
+
381
+
382
+ def begin(self):
383
+ """
384
+ begin() -> iterator
385
+
386
+ Return iterator corresponding to the beginning of the range.
387
+ """
388
+
389
+ def end(self):
390
+ """
391
+ end() -> iterator
392
+
393
+ Return iterator corresponding to the end of the range.
394
+ """
395
+
396
+ def __iter__(self):
397
+ """
398
+ Returns a Python iterator for accessing the collection of grid blocks.
399
+ """
400
+
401
+ class PyGridBlocksIterator(object):
402
+ "A Python iterator for GridBlocks objects"
403
+ def __init__(self, blocks):
404
+ self._blocks = blocks
405
+ self._iterator = self._blocks.begin()
406
+
407
+ def __next__(self):
408
+ if self._iterator == self._blocks.end():
409
+ raise StopIteration
410
+ obj = self._iterator._get()
411
+ self._iterator = self._iterator._next()
412
+ return obj
413
+ # end of class GridBlocks
414
+
415
+
416
+ class GridCellRenderer(wx.ClientDataContainer, wx.RefCounter):
417
+ """
418
+ GridCellRenderer()
419
+
420
+ This class is responsible for actually drawing the cell in the grid.
421
+ """
422
+
423
+ def __init__(self):
424
+ """
425
+ GridCellRenderer()
426
+
427
+ This class is responsible for actually drawing the cell in the grid.
428
+ """
429
+
430
+ def Clone(self):
431
+ """
432
+ Clone() -> GridCellRenderer
433
+
434
+ This function must be implemented in derived classes to return a copy
435
+ of itself.
436
+ """
437
+
438
+ def Draw(self, grid, attr, dc, rect, row, col, isSelected):
439
+ """
440
+ Draw(grid, attr, dc, rect, row, col, isSelected)
441
+
442
+ Draw the given cell on the provided DC inside the given rectangle
443
+ using the style specified by the attribute and the default or selected
444
+ state corresponding to the isSelected value.
445
+ """
446
+
447
+ def GetBestSize(self, grid, attr, dc, row, col):
448
+ """
449
+ GetBestSize(grid, attr, dc, row, col) -> wx.Size
450
+
451
+ Get the preferred size of the cell for its contents.
452
+ """
453
+
454
+ def GetBestHeight(self, grid, attr, dc, row, col, width):
455
+ """
456
+ GetBestHeight(grid, attr, dc, row, col, width) -> int
457
+
458
+ Get the preferred height of the cell at the given width.
459
+ """
460
+
461
+ def GetBestWidth(self, grid, attr, dc, row, col, height):
462
+ """
463
+ GetBestWidth(grid, attr, dc, row, col, height) -> int
464
+
465
+ Get the preferred width of the cell at the given height.
466
+ """
467
+
468
+ def GetMaxBestSize(self, grid, attr, dc):
469
+ """
470
+ GetMaxBestSize(grid, attr, dc) -> wx.Size
471
+
472
+ Get the maximum possible size for a cell using this renderer, if
473
+ possible.
474
+ """
475
+ # end of class GridCellRenderer
476
+
477
+
478
+ class GridCellStringRenderer(GridCellRenderer):
479
+ """
480
+ GridCellStringRenderer()
481
+
482
+ This class may be used to format string data in a cell; it is the
483
+ default for string cells.
484
+ """
485
+
486
+ def __init__(self):
487
+ """
488
+ GridCellStringRenderer()
489
+
490
+ This class may be used to format string data in a cell; it is the
491
+ default for string cells.
492
+ """
493
+ # end of class GridCellStringRenderer
494
+
495
+
496
+ class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
497
+ """
498
+ GridCellAutoWrapStringRenderer()
499
+
500
+ This class may be used to format string data in a cell.
501
+ """
502
+
503
+ def __init__(self):
504
+ """
505
+ GridCellAutoWrapStringRenderer()
506
+
507
+ This class may be used to format string data in a cell.
508
+ """
509
+ # end of class GridCellAutoWrapStringRenderer
510
+
511
+
512
+ class GridCellBoolRenderer(GridCellRenderer):
513
+ """
514
+ GridCellBoolRenderer()
515
+
516
+ This class may be used to format boolean data in a cell.
517
+ """
518
+
519
+ def __init__(self):
520
+ """
521
+ GridCellBoolRenderer()
522
+
523
+ This class may be used to format boolean data in a cell.
524
+ """
525
+ # end of class GridCellBoolRenderer
526
+
527
+
528
+ class GridCellDateRenderer(GridCellStringRenderer):
529
+ """
530
+ GridCellDateRenderer(outformat="")
531
+
532
+ This class may be used to show a date, without time, in a cell.
533
+ """
534
+
535
+ def __init__(self, outformat=""):
536
+ """
537
+ GridCellDateRenderer(outformat="")
538
+
539
+ This class may be used to show a date, without time, in a cell.
540
+ """
541
+
542
+ def SetParameters(self, params):
543
+ """
544
+ SetParameters(params)
545
+
546
+ Sets the strftime()-like format string which will be used to render
547
+ the date.
548
+ """
549
+ # end of class GridCellDateRenderer
550
+
551
+
552
+ class GridCellDateTimeRenderer(GridCellDateRenderer):
553
+ """
554
+ GridCellDateTimeRenderer(outformat=wx.DefaultDateTimeFormat, informat=wx.DefaultDateTimeFormat)
555
+
556
+ This class may be used to format a date/time data in a cell.
557
+ """
558
+
559
+ def __init__(self, outformat=wx.DefaultDateTimeFormat, informat=wx.DefaultDateTimeFormat):
560
+ """
561
+ GridCellDateTimeRenderer(outformat=wx.DefaultDateTimeFormat, informat=wx.DefaultDateTimeFormat)
562
+
563
+ This class may be used to format a date/time data in a cell.
564
+ """
565
+ # end of class GridCellDateTimeRenderer
566
+
567
+
568
+ class GridCellEnumRenderer(GridCellStringRenderer):
569
+ """
570
+ GridCellEnumRenderer(choices=wx.EmptyString)
571
+
572
+ This class may be used to render in a cell a number as a textual
573
+ equivalent.
574
+ """
575
+
576
+ def __init__(self, choices=wx.EmptyString):
577
+ """
578
+ GridCellEnumRenderer(choices=wx.EmptyString)
579
+
580
+ This class may be used to render in a cell a number as a textual
581
+ equivalent.
582
+ """
583
+
584
+ def SetParameters(self, params):
585
+ """
586
+ SetParameters(params)
587
+
588
+ Sets the comma separated string content of the enum.
589
+ """
590
+ # end of class GridCellEnumRenderer
591
+
592
+
593
+ class GridCellFloatRenderer(GridCellStringRenderer):
594
+ """
595
+ GridCellFloatRenderer(width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT)
596
+
597
+ This class may be used to format floating point data in a cell.
598
+ """
599
+
600
+ def __init__(self, width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT):
601
+ """
602
+ GridCellFloatRenderer(width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT)
603
+
604
+ This class may be used to format floating point data in a cell.
605
+ """
606
+
607
+ def GetFormat(self):
608
+ """
609
+ GetFormat() -> int
610
+
611
+ Returns the specifier used to format the data to string.
612
+ """
613
+
614
+ def GetPrecision(self):
615
+ """
616
+ GetPrecision() -> int
617
+
618
+ Returns the precision.
619
+ """
620
+
621
+ def GetWidth(self):
622
+ """
623
+ GetWidth() -> int
624
+
625
+ Returns the width.
626
+ """
627
+
628
+ def SetFormat(self, format):
629
+ """
630
+ SetFormat(format)
631
+
632
+ Set the format to use for display the number.
633
+ """
634
+
635
+ def SetParameters(self, params):
636
+ """
637
+ SetParameters(params)
638
+
639
+ The parameters string format is "width[,precision[,format]]" where
640
+ format should be chosen between f|e|g|E|G (f is used by default)
641
+ """
642
+
643
+ def SetPrecision(self, precision):
644
+ """
645
+ SetPrecision(precision)
646
+
647
+ Sets the precision.
648
+ """
649
+
650
+ def SetWidth(self, width):
651
+ """
652
+ SetWidth(width)
653
+
654
+ Sets the width.
655
+ """
656
+ Format = property(None, None)
657
+ Precision = property(None, None)
658
+ Width = property(None, None)
659
+ # end of class GridCellFloatRenderer
660
+
661
+
662
+ class GridCellNumberRenderer(GridCellStringRenderer):
663
+ """
664
+ GridCellNumberRenderer()
665
+
666
+ This class may be used to format integer data in a cell.
667
+ """
668
+
669
+ def __init__(self):
670
+ """
671
+ GridCellNumberRenderer()
672
+
673
+ This class may be used to format integer data in a cell.
674
+ """
675
+ # end of class GridCellNumberRenderer
676
+
677
+
678
+ class GridActivationResult(object):
679
+ """
680
+ Represents the result of wxGridCellEditor::TryActivate().
681
+ """
682
+
683
+ @staticmethod
684
+ def DoNothing():
685
+ """
686
+ DoNothing() -> GridActivationResult
687
+
688
+ Indicate that nothing should be done and the cell shouldn't be edited
689
+ at all.
690
+ """
691
+
692
+ @staticmethod
693
+ def DoChange(newval):
694
+ """
695
+ DoChange(newval) -> GridActivationResult
696
+
697
+ Indicate that activating the cell is possible and would change its
698
+ value to the given one.
699
+ """
700
+
701
+ @staticmethod
702
+ def DoEdit():
703
+ """
704
+ DoEdit() -> GridActivationResult
705
+
706
+ Indicate that the editor control should be shown and the cell should
707
+ be edited normally.
708
+ """
709
+ # end of class GridActivationResult
710
+
711
+
712
+ class GridActivationSource(object):
713
+ """
714
+ Represents a source of cell activation, which may be either a user
715
+ event (mouse or keyboard) or the program itself.
716
+ """
717
+ Program = 0
718
+ Key = 0
719
+ Mouse = 0
720
+
721
+ def GetOrigin(self):
722
+ """
723
+ GetOrigin() -> Origin
724
+
725
+ Get the origin of the activation.
726
+ """
727
+
728
+ def GetKeyEvent(self):
729
+ """
730
+ GetKeyEvent() -> wx.KeyEvent
731
+
732
+ Get the key event corresponding to the key press activating the cell.
733
+ """
734
+
735
+ def GetMouseEvent(self):
736
+ """
737
+ GetMouseEvent() -> wx.MouseEvent
738
+
739
+ Get the mouse event corresponding to the click activating the cell.
740
+ """
741
+ KeyEvent = property(None, None)
742
+ MouseEvent = property(None, None)
743
+ # end of class GridActivationSource
744
+
745
+
746
+ class GridCellEditor(wx.ClientDataContainer, wx.RefCounter):
747
+ """
748
+ GridCellEditor()
749
+
750
+ This class is responsible for providing and manipulating the in-place
751
+ edit controls for the grid.
752
+ """
753
+
754
+ def __init__(self):
755
+ """
756
+ GridCellEditor()
757
+
758
+ This class is responsible for providing and manipulating the in-place
759
+ edit controls for the grid.
760
+ """
761
+
762
+ def BeginEdit(self, row, col, grid):
763
+ """
764
+ BeginEdit(row, col, grid)
765
+
766
+ Fetch the value from the table and prepare the edit control to begin
767
+ editing.
768
+ """
769
+
770
+ def Clone(self):
771
+ """
772
+ Clone() -> GridCellEditor
773
+
774
+ Create a new object which is the copy of this one.
775
+ """
776
+
777
+ def Create(self, parent, id, evtHandler):
778
+ """
779
+ Create(parent, id, evtHandler)
780
+
781
+ Creates the actual edit control.
782
+ """
783
+
784
+ def Destroy(self):
785
+ """
786
+ Destroy()
787
+
788
+ Final cleanup.
789
+ """
790
+
791
+ def EndEdit(self, row, col, grid, oldval):
792
+ """
793
+ EndEdit(row, col, grid, oldval)
794
+
795
+ End editing the cell.
796
+
797
+ This function must check if the current value of the editing cell
798
+ is valid and different from the original value in its string
799
+ form. If not then simply return None. If it has changed then
800
+ this method should save the new value so that ApplyEdit can
801
+ apply it later and the string representation of the new value
802
+ should be returned.
803
+
804
+ Notice that this method shoiuld not modify the grid as the
805
+ change could still be vetoed.
806
+ """
807
+
808
+ def ApplyEdit(self, row, col, grid):
809
+ """
810
+ ApplyEdit(row, col, grid)
811
+
812
+ Effectively save the changes in the grid.
813
+ """
814
+
815
+ def HandleReturn(self, event):
816
+ """
817
+ HandleReturn(event)
818
+
819
+ Some types of controls on some platforms may need some help with the
820
+ Return key.
821
+ """
822
+
823
+ def IsCreated(self):
824
+ """
825
+ IsCreated() -> bool
826
+
827
+ Returns true if the edit control has been created.
828
+ """
829
+
830
+ def PaintBackground(self, dc, rectCell, attr):
831
+ """
832
+ PaintBackground(dc, rectCell, attr)
833
+
834
+ Draws the part of the cell not occupied by the control: the base class
835
+ version just fills it with background colour from the attribute.
836
+ """
837
+
838
+ def Reset(self):
839
+ """
840
+ Reset()
841
+
842
+ Reset the value in the control back to its starting value.
843
+ """
844
+
845
+ def SetSize(self, rect):
846
+ """
847
+ SetSize(rect)
848
+
849
+ Size and position the edit control.
850
+ """
851
+
852
+ def Show(self, show, attr=None):
853
+ """
854
+ Show(show, attr=None)
855
+
856
+ Show or hide the edit control, use the specified attributes to set
857
+ colours/fonts for it.
858
+ """
859
+
860
+ def StartingClick(self):
861
+ """
862
+ StartingClick()
863
+
864
+ If the editor is enabled by clicking on the cell, this method will be
865
+ called.
866
+ """
867
+
868
+ def StartingKey(self, event):
869
+ """
870
+ StartingKey(event)
871
+
872
+ If the editor is enabled by pressing keys on the grid, this will be
873
+ called to let the editor do something about that first key if desired.
874
+ """
875
+
876
+ def IsAcceptedKey(self, event):
877
+ """
878
+ IsAcceptedKey(event) -> bool
879
+
880
+ Return true to allow the given key to start editing: the base class
881
+ version only checks that the event has no modifiers.
882
+ """
883
+
884
+ def GetValue(self):
885
+ """
886
+ GetValue() -> String
887
+
888
+ Returns the value currently in the editor control.
889
+ """
890
+
891
+ def GetWindow(self):
892
+ """
893
+ GetWindow() -> wx.Window
894
+
895
+ Get the edit window used by this editor.
896
+ """
897
+
898
+ def SetWindow(self, window):
899
+ """
900
+ SetWindow(window)
901
+
902
+ Set the wxWindow that will be used by this cell editor for editing the
903
+ value.
904
+ """
905
+
906
+ def GetControl(self):
907
+ """
908
+ GetControl() -> wx.Control
909
+
910
+ Get the wxControl used by this editor.
911
+ """
912
+
913
+ def SetControl(self, control):
914
+ """
915
+ SetControl(control)
916
+
917
+ Set the wxControl that will be used by this cell editor for editing
918
+ the value.
919
+ """
920
+
921
+ def TryActivate(self, row, col, grid, actSource):
922
+ """
923
+ TryActivate(row, col, grid, actSource) -> GridActivationResult
924
+
925
+ Function allowing to create an "activatable" editor.
926
+ """
927
+
928
+ def DoActivate(self, row, col, grid):
929
+ """
930
+ DoActivate(row, col, grid)
931
+
932
+ Function which must be overridden for "activatable" editors.
933
+ """
934
+ Control = property(None, None)
935
+ Value = property(None, None)
936
+ Window = property(None, None)
937
+ # end of class GridCellEditor
938
+
939
+
940
+ class GridCellActivatableEditor(GridCellEditor):
941
+ """
942
+ Base class for activatable editors.
943
+ """
944
+
945
+ def TryActivate(self, row, col, grid, actSource):
946
+ """
947
+ TryActivate(row, col, grid, actSource) -> GridActivationResult
948
+
949
+ Same method as in wxGridCellEditor, but pure virtual.
950
+ """
951
+
952
+ def DoActivate(self, row, col, grid):
953
+ """
954
+ DoActivate(row, col, grid)
955
+
956
+ Same method as in wxGridCellEditor, but pure virtual.
957
+ """
958
+ # end of class GridCellActivatableEditor
959
+
960
+
961
+ class GridCellTextEditor(GridCellEditor):
962
+ """
963
+ GridCellTextEditor(maxChars=0)
964
+
965
+ Grid cell editor for string/text data.
966
+ """
967
+
968
+ def __init__(self, maxChars=0):
969
+ """
970
+ GridCellTextEditor(maxChars=0)
971
+
972
+ Grid cell editor for string/text data.
973
+ """
974
+
975
+ def SetParameters(self, params):
976
+ """
977
+ SetParameters(params)
978
+
979
+ The parameters string format is "n" where n is a number representing
980
+ the maximum width.
981
+ """
982
+
983
+ def SetValidator(self, validator):
984
+ """
985
+ SetValidator(validator)
986
+
987
+ Set validator to validate user input.
988
+ """
989
+
990
+ def EndEdit(self, row, col, grid, oldval):
991
+ """
992
+ EndEdit(row, col, grid, oldval)
993
+
994
+ End editing the cell.
995
+
996
+ This function must check if the current value of the editing cell
997
+ is valid and different from the original value in its string
998
+ form. If not then simply return None. If it has changed then
999
+ this method should save the new value so that ApplyEdit can
1000
+ apply it later and the string representation of the new value
1001
+ should be returned.
1002
+
1003
+ Notice that this method shoiuld not modify the grid as the
1004
+ change could still be vetoed.
1005
+ """
1006
+ # end of class GridCellTextEditor
1007
+
1008
+
1009
+ class GridCellDateEditor(GridCellEditor):
1010
+ """
1011
+ GridCellDateEditor(format="")
1012
+
1013
+ Grid cell editor for dates.
1014
+ """
1015
+
1016
+ def __init__(self, format=""):
1017
+ """
1018
+ GridCellDateEditor(format="")
1019
+
1020
+ Grid cell editor for dates.
1021
+ """
1022
+
1023
+ def EndEdit(self, row, col, grid, oldval):
1024
+ """
1025
+ EndEdit(row, col, grid, oldval)
1026
+
1027
+ End editing the cell.
1028
+
1029
+ This function must check if the current value of the editing cell
1030
+ is valid and different from the original value in its string
1031
+ form. If not then simply return None. If it has changed then
1032
+ this method should save the new value so that ApplyEdit can
1033
+ apply it later and the string representation of the new value
1034
+ should be returned.
1035
+
1036
+ Notice that this method shoiuld not modify the grid as the
1037
+ change could still be vetoed.
1038
+ """
1039
+ # end of class GridCellDateEditor
1040
+
1041
+
1042
+ class GridCellAutoWrapStringEditor(GridCellTextEditor):
1043
+ """
1044
+ GridCellAutoWrapStringEditor()
1045
+
1046
+ Grid cell editor for wrappable string/text data.
1047
+ """
1048
+
1049
+ def __init__(self):
1050
+ """
1051
+ GridCellAutoWrapStringEditor()
1052
+
1053
+ Grid cell editor for wrappable string/text data.
1054
+ """
1055
+
1056
+ def EndEdit(self, row, col, grid, oldval):
1057
+ """
1058
+ EndEdit(row, col, grid, oldval)
1059
+
1060
+ End editing the cell.
1061
+
1062
+ This function must check if the current value of the editing cell
1063
+ is valid and different from the original value in its string
1064
+ form. If not then simply return None. If it has changed then
1065
+ this method should save the new value so that ApplyEdit can
1066
+ apply it later and the string representation of the new value
1067
+ should be returned.
1068
+
1069
+ Notice that this method shoiuld not modify the grid as the
1070
+ change could still be vetoed.
1071
+ """
1072
+ # end of class GridCellAutoWrapStringEditor
1073
+
1074
+
1075
+ class GridCellBoolEditor(GridCellEditor):
1076
+ """
1077
+ GridCellBoolEditor()
1078
+
1079
+ Grid cell editor for boolean data.
1080
+ """
1081
+
1082
+ def __init__(self):
1083
+ """
1084
+ GridCellBoolEditor()
1085
+
1086
+ Grid cell editor for boolean data.
1087
+ """
1088
+
1089
+ @staticmethod
1090
+ def IsTrueValue(value):
1091
+ """
1092
+ IsTrueValue(value) -> bool
1093
+
1094
+ Returns true if the given value is equal to the string representation
1095
+ of the truth value we currently use (see UseStringValues()).
1096
+ """
1097
+
1098
+ @staticmethod
1099
+ def UseStringValues(valueTrue="1", valueFalse=wx.EmptyString):
1100
+ """
1101
+ UseStringValues(valueTrue="1", valueFalse=wx.EmptyString)
1102
+
1103
+ This method allows you to customize the values returned by GetValue()
1104
+ for the cell using this editor.
1105
+ """
1106
+
1107
+ def EndEdit(self, row, col, grid, oldval):
1108
+ """
1109
+ EndEdit(row, col, grid, oldval)
1110
+
1111
+ End editing the cell.
1112
+
1113
+ This function must check if the current value of the editing cell
1114
+ is valid and different from the original value in its string
1115
+ form. If not then simply return None. If it has changed then
1116
+ this method should save the new value so that ApplyEdit can
1117
+ apply it later and the string representation of the new value
1118
+ should be returned.
1119
+
1120
+ Notice that this method shoiuld not modify the grid as the
1121
+ change could still be vetoed.
1122
+ """
1123
+ # end of class GridCellBoolEditor
1124
+
1125
+
1126
+ class GridCellChoiceEditor(GridCellEditor):
1127
+ """
1128
+ GridCellChoiceEditor(choices, allowOthers=False)
1129
+
1130
+ Grid cell editor for string data providing the user a choice from a
1131
+ list of strings.
1132
+ """
1133
+
1134
+ def __init__(self, choices, allowOthers=False):
1135
+ """
1136
+ GridCellChoiceEditor(choices, allowOthers=False)
1137
+
1138
+ Grid cell editor for string data providing the user a choice from a
1139
+ list of strings.
1140
+ """
1141
+
1142
+ def SetParameters(self, params):
1143
+ """
1144
+ SetParameters(params)
1145
+
1146
+ Parameters string format is "item1[,item2[...,itemN]]".
1147
+ """
1148
+
1149
+ def EndEdit(self, row, col, grid, oldval):
1150
+ """
1151
+ EndEdit(row, col, grid, oldval)
1152
+
1153
+ End editing the cell.
1154
+
1155
+ This function must check if the current value of the editing cell
1156
+ is valid and different from the original value in its string
1157
+ form. If not then simply return None. If it has changed then
1158
+ this method should save the new value so that ApplyEdit can
1159
+ apply it later and the string representation of the new value
1160
+ should be returned.
1161
+
1162
+ Notice that this method shoiuld not modify the grid as the
1163
+ change could still be vetoed.
1164
+ """
1165
+ # end of class GridCellChoiceEditor
1166
+
1167
+
1168
+ class GridCellEnumEditor(GridCellChoiceEditor):
1169
+ """
1170
+ GridCellEnumEditor(choices=wx.EmptyString)
1171
+
1172
+ Grid cell editor which displays an enum number as a textual equivalent
1173
+ (e.g.
1174
+ """
1175
+
1176
+ def __init__(self, choices=wx.EmptyString):
1177
+ """
1178
+ GridCellEnumEditor(choices=wx.EmptyString)
1179
+
1180
+ Grid cell editor which displays an enum number as a textual equivalent
1181
+ (e.g.
1182
+ """
1183
+
1184
+ def EndEdit(self, row, col, grid, oldval):
1185
+ """
1186
+ EndEdit(row, col, grid, oldval)
1187
+
1188
+ End editing the cell.
1189
+
1190
+ This function must check if the current value of the editing cell
1191
+ is valid and different from the original value in its string
1192
+ form. If not then simply return None. If it has changed then
1193
+ this method should save the new value so that ApplyEdit can
1194
+ apply it later and the string representation of the new value
1195
+ should be returned.
1196
+
1197
+ Notice that this method shoiuld not modify the grid as the
1198
+ change could still be vetoed.
1199
+ """
1200
+ # end of class GridCellEnumEditor
1201
+
1202
+
1203
+ class GridCellFloatEditor(GridCellTextEditor):
1204
+ """
1205
+ GridCellFloatEditor(width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT)
1206
+
1207
+ The editor for floating point numbers data.
1208
+ """
1209
+
1210
+ def __init__(self, width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT):
1211
+ """
1212
+ GridCellFloatEditor(width=-1, precision=-1, format=GRID_FLOAT_FORMAT_DEFAULT)
1213
+
1214
+ The editor for floating point numbers data.
1215
+ """
1216
+
1217
+ def SetParameters(self, params):
1218
+ """
1219
+ SetParameters(params)
1220
+
1221
+ The parameters string format is "width[,precision[,format]]" where
1222
+ format should be chosen between f|e|g|E|G (f is used by default)
1223
+ """
1224
+
1225
+ def EndEdit(self, row, col, grid, oldval):
1226
+ """
1227
+ EndEdit(row, col, grid, oldval)
1228
+
1229
+ End editing the cell.
1230
+
1231
+ This function must check if the current value of the editing cell
1232
+ is valid and different from the original value in its string
1233
+ form. If not then simply return None. If it has changed then
1234
+ this method should save the new value so that ApplyEdit can
1235
+ apply it later and the string representation of the new value
1236
+ should be returned.
1237
+
1238
+ Notice that this method shoiuld not modify the grid as the
1239
+ change could still be vetoed.
1240
+ """
1241
+ # end of class GridCellFloatEditor
1242
+
1243
+
1244
+ class GridCellNumberEditor(GridCellTextEditor):
1245
+ """
1246
+ GridCellNumberEditor(min=-1, max=-1)
1247
+
1248
+ Grid cell editor for numeric integer data.
1249
+ """
1250
+
1251
+ def __init__(self, min=-1, max=-1):
1252
+ """
1253
+ GridCellNumberEditor(min=-1, max=-1)
1254
+
1255
+ Grid cell editor for numeric integer data.
1256
+ """
1257
+
1258
+ def SetParameters(self, params):
1259
+ """
1260
+ SetParameters(params)
1261
+
1262
+ Parameters string format is "min,max".
1263
+ """
1264
+
1265
+ def EndEdit(self, row, col, grid, oldval):
1266
+ """
1267
+ EndEdit(row, col, grid, oldval)
1268
+
1269
+ End editing the cell.
1270
+
1271
+ This function must check if the current value of the editing cell
1272
+ is valid and different from the original value in its string
1273
+ form. If not then simply return None. If it has changed then
1274
+ this method should save the new value so that ApplyEdit can
1275
+ apply it later and the string representation of the new value
1276
+ should be returned.
1277
+
1278
+ Notice that this method shoiuld not modify the grid as the
1279
+ change could still be vetoed.
1280
+ """
1281
+ # end of class GridCellNumberEditor
1282
+
1283
+
1284
+ class GridFitMode(object):
1285
+ """
1286
+ GridFitMode()
1287
+
1288
+ Allows to specify the behaviour when the cell contents doesn't fit
1289
+ into its allotted space.
1290
+ """
1291
+
1292
+ def __init__(self):
1293
+ """
1294
+ GridFitMode()
1295
+
1296
+ Allows to specify the behaviour when the cell contents doesn't fit
1297
+ into its allotted space.
1298
+ """
1299
+
1300
+ def IsSpecified(self):
1301
+ """
1302
+ IsSpecified() -> bool
1303
+
1304
+ Return true if the object specifies some particular behaviour.
1305
+ """
1306
+
1307
+ def IsClip(self):
1308
+ """
1309
+ IsClip() -> bool
1310
+
1311
+ Return true if the object specifies clipping behaviour.
1312
+ """
1313
+
1314
+ def IsOverflow(self):
1315
+ """
1316
+ IsOverflow() -> bool
1317
+
1318
+ Return true if the object specifies overflow behaviour.
1319
+ """
1320
+
1321
+ def GetEllipsizeMode(self):
1322
+ """
1323
+ GetEllipsizeMode() -> EllipsizeMode
1324
+
1325
+ Return ellipsize mode, possibly wxELLIPSIZE_NONE.
1326
+ """
1327
+
1328
+ @staticmethod
1329
+ def Clip():
1330
+ """
1331
+ Clip() -> GridFitMode
1332
+
1333
+ Pseudo-constructor for object specifying clipping behaviour.
1334
+ """
1335
+
1336
+ @staticmethod
1337
+ def Overflow():
1338
+ """
1339
+ Overflow() -> GridFitMode
1340
+
1341
+ Pseudo-constructor for object specifying overflow behaviour.
1342
+ """
1343
+
1344
+ @staticmethod
1345
+ def Ellipsize(ellipsize=wx.ELLIPSIZE_END):
1346
+ """
1347
+ Ellipsize(ellipsize=wx.ELLIPSIZE_END) -> GridFitMode
1348
+
1349
+ Pseudo-constructor for object specifying ellipsize behaviour.
1350
+ """
1351
+ EllipsizeMode = property(None, None)
1352
+ # end of class GridFitMode
1353
+
1354
+
1355
+ class GridCellAttr(wx.ClientDataContainer, wx.RefCounter):
1356
+ """
1357
+ GridCellAttr(attrDefault=None)
1358
+ GridCellAttr(colText, colBack, font, hAlign, vAlign)
1359
+
1360
+ This class can be used to alter the cells' appearance in the grid by
1361
+ changing their attributes from the defaults.
1362
+ """
1363
+ Any = 0
1364
+ Cell = 0
1365
+ Row = 0
1366
+ Col = 0
1367
+ Default = 0
1368
+ Merged = 0
1369
+
1370
+ def __init__(self, *args, **kw):
1371
+ """
1372
+ GridCellAttr(attrDefault=None)
1373
+ GridCellAttr(colText, colBack, font, hAlign, vAlign)
1374
+
1375
+ This class can be used to alter the cells' appearance in the grid by
1376
+ changing their attributes from the defaults.
1377
+ """
1378
+
1379
+ def Clone(self):
1380
+ """
1381
+ Clone() -> GridCellAttr
1382
+
1383
+ Creates a new copy of this object.
1384
+ """
1385
+
1386
+ def DecRef(self):
1387
+ """
1388
+ DecRef()
1389
+
1390
+ This class is reference counted: it is created with ref count of 1, so
1391
+ calling DecRef() once will delete it.
1392
+ """
1393
+
1394
+ def GetAlignment(self):
1395
+ """
1396
+ GetAlignment() -> (hAlign, vAlign)
1397
+
1398
+ Get the alignment to use for the cell with the given attribute.
1399
+ """
1400
+
1401
+ def GetBackgroundColour(self):
1402
+ """
1403
+ GetBackgroundColour() -> wx.Colour
1404
+
1405
+ Returns the background colour.
1406
+ """
1407
+
1408
+ def GetEditor(self, grid, row, col):
1409
+ """
1410
+ GetEditor(grid, row, col) -> GridCellEditor
1411
+
1412
+ Returns the cell editor.
1413
+ """
1414
+
1415
+ def GetEditorPtr(self, grid, row, col):
1416
+ """
1417
+ GetEditorPtr(grid, row, col) -> GridCellEditorPtr
1418
+
1419
+ Returns the cell editor.
1420
+ """
1421
+
1422
+ def GetFont(self):
1423
+ """
1424
+ GetFont() -> wx.Font
1425
+
1426
+ Returns the font.
1427
+ """
1428
+
1429
+ def GetNonDefaultAlignment(self):
1430
+ """
1431
+ GetNonDefaultAlignment() -> (hAlign, vAlign)
1432
+
1433
+ Get the alignment defined by this attribute.
1434
+ """
1435
+
1436
+ def GetRenderer(self, grid, row, col):
1437
+ """
1438
+ GetRenderer(grid, row, col) -> GridCellRenderer
1439
+
1440
+ Returns the cell renderer.
1441
+ """
1442
+
1443
+ def GetRendererPtr(self, grid, row, col):
1444
+ """
1445
+ GetRendererPtr(grid, row, col) -> GridCellRendererPtr
1446
+
1447
+ Returns the cell editor.
1448
+ """
1449
+
1450
+ def GetTextColour(self):
1451
+ """
1452
+ GetTextColour() -> wx.Colour
1453
+
1454
+ Returns the text colour.
1455
+ """
1456
+
1457
+ def HasAlignment(self):
1458
+ """
1459
+ HasAlignment() -> bool
1460
+
1461
+ Returns true if this attribute has a valid alignment set.
1462
+ """
1463
+
1464
+ def HasBackgroundColour(self):
1465
+ """
1466
+ HasBackgroundColour() -> bool
1467
+
1468
+ Returns true if this attribute has a valid background colour set.
1469
+ """
1470
+
1471
+ def HasEditor(self):
1472
+ """
1473
+ HasEditor() -> bool
1474
+
1475
+ Returns true if this attribute has a valid cell editor set.
1476
+ """
1477
+
1478
+ def HasFont(self):
1479
+ """
1480
+ HasFont() -> bool
1481
+
1482
+ Returns true if this attribute has a valid font set.
1483
+ """
1484
+
1485
+ def HasRenderer(self):
1486
+ """
1487
+ HasRenderer() -> bool
1488
+
1489
+ Returns true if this attribute has a valid cell renderer set.
1490
+ """
1491
+
1492
+ def HasTextColour(self):
1493
+ """
1494
+ HasTextColour() -> bool
1495
+
1496
+ Returns true if this attribute has a valid text colour set.
1497
+ """
1498
+
1499
+ def IncRef(self):
1500
+ """
1501
+ IncRef()
1502
+
1503
+ This class is reference counted: it is created with ref count of 1, so
1504
+ calling DecRef() once will delete it.
1505
+ """
1506
+
1507
+ def IsReadOnly(self):
1508
+ """
1509
+ IsReadOnly() -> bool
1510
+
1511
+ Returns true if this cell is set as read-only.
1512
+ """
1513
+
1514
+ def SetAlignment(self, hAlign, vAlign):
1515
+ """
1516
+ SetAlignment(hAlign, vAlign)
1517
+
1518
+ Sets the alignment.
1519
+ """
1520
+
1521
+ def SetBackgroundColour(self, colBack):
1522
+ """
1523
+ SetBackgroundColour(colBack)
1524
+
1525
+ Sets the background colour.
1526
+ """
1527
+
1528
+ def SetDefAttr(self, defAttr):
1529
+ """
1530
+ SetDefAttr(defAttr)
1531
+ """
1532
+
1533
+ def SetEditor(self, editor):
1534
+ """
1535
+ SetEditor(editor)
1536
+
1537
+ Sets the editor to be used with the cells with this attribute.
1538
+ """
1539
+
1540
+ def SetFont(self, font):
1541
+ """
1542
+ SetFont(font)
1543
+
1544
+ Sets the font.
1545
+ """
1546
+
1547
+ def SetReadOnly(self, isReadOnly=True):
1548
+ """
1549
+ SetReadOnly(isReadOnly=True)
1550
+
1551
+ Sets the cell as read-only.
1552
+ """
1553
+
1554
+ def SetRenderer(self, renderer):
1555
+ """
1556
+ SetRenderer(renderer)
1557
+
1558
+ Sets the renderer to be used for cells with this attribute.
1559
+ """
1560
+
1561
+ def SetTextColour(self, colText):
1562
+ """
1563
+ SetTextColour(colText)
1564
+
1565
+ Sets the text colour.
1566
+ """
1567
+
1568
+ def MergeWith(self, mergefrom):
1569
+ """
1570
+ MergeWith(mergefrom)
1571
+ """
1572
+
1573
+ def SetSize(self, num_rows, num_cols):
1574
+ """
1575
+ SetSize(num_rows, num_cols)
1576
+ """
1577
+
1578
+ def SetFitMode(self, fitMode):
1579
+ """
1580
+ SetFitMode(fitMode)
1581
+
1582
+ Specifies the behaviour of the cell contents if it doesn't fit into
1583
+ the available space.
1584
+ """
1585
+
1586
+ def SetOverflow(self, allow=True):
1587
+ """
1588
+ SetOverflow(allow=True)
1589
+
1590
+ Specifies if cells using this attribute should overflow or clip their
1591
+ contents.
1592
+ """
1593
+
1594
+ def SetKind(self, kind):
1595
+ """
1596
+ SetKind(kind)
1597
+ """
1598
+
1599
+ def HasReadWriteMode(self):
1600
+ """
1601
+ HasReadWriteMode() -> bool
1602
+ """
1603
+
1604
+ def HasOverflowMode(self):
1605
+ """
1606
+ HasOverflowMode() -> bool
1607
+ """
1608
+
1609
+ def HasSize(self):
1610
+ """
1611
+ HasSize() -> bool
1612
+ """
1613
+
1614
+ def GetSize(self):
1615
+ """
1616
+ GetSize() -> (num_rows, num_cols)
1617
+ """
1618
+
1619
+ def GetFitMode(self):
1620
+ """
1621
+ GetFitMode() -> GridFitMode
1622
+
1623
+ Returns the fitting mode for the cells using this attribute.
1624
+ """
1625
+
1626
+ def GetOverflow(self):
1627
+ """
1628
+ GetOverflow() -> bool
1629
+
1630
+ Returns true if the cells using this attribute overflow into the
1631
+ neighbouring cells.
1632
+ """
1633
+
1634
+ def CanOverflow(self):
1635
+ """
1636
+ CanOverflow() -> bool
1637
+
1638
+ Returns true if the cell will draw an overflowed text into the
1639
+ neighbouring cells.
1640
+ """
1641
+
1642
+ def GetKind(self):
1643
+ """
1644
+ GetKind() -> AttrKind
1645
+ """
1646
+ BackgroundColour = property(None, None)
1647
+ FitMode = property(None, None)
1648
+ Font = property(None, None)
1649
+ Kind = property(None, None)
1650
+ Overflow = property(None, None)
1651
+ TextColour = property(None, None)
1652
+ # end of class GridCellAttr
1653
+
1654
+
1655
+ class GridCornerHeaderRenderer(GridHeaderLabelsRenderer):
1656
+ """
1657
+ Base class for corner header renderer.
1658
+ """
1659
+ # end of class GridCornerHeaderRenderer
1660
+
1661
+
1662
+ class GridHeaderLabelsRenderer(object):
1663
+ """
1664
+ Base class for header cells renderers.
1665
+ """
1666
+
1667
+ def DrawBorder(self, grid, dc, rect):
1668
+ """
1669
+ DrawBorder(grid, dc, rect)
1670
+
1671
+ Called by the grid to draw the border around the cell header.
1672
+ """
1673
+
1674
+ def DrawLabel(self, grid, dc, value, rect, horizAlign, vertAlign, textOrientation):
1675
+ """
1676
+ DrawLabel(grid, dc, value, rect, horizAlign, vertAlign, textOrientation)
1677
+
1678
+ Called by the grid to draw the specified label.
1679
+ """
1680
+ # end of class GridHeaderLabelsRenderer
1681
+
1682
+
1683
+ class GridRowHeaderRenderer(GridHeaderLabelsRenderer):
1684
+ """
1685
+ Base class for row headers renderer.
1686
+ """
1687
+ # end of class GridRowHeaderRenderer
1688
+
1689
+
1690
+ class GridColumnHeaderRenderer(GridHeaderLabelsRenderer):
1691
+ """
1692
+ Base class for column headers renderer.
1693
+ """
1694
+ # end of class GridColumnHeaderRenderer
1695
+
1696
+
1697
+ class GridRowHeaderRendererDefault(GridRowHeaderRenderer):
1698
+ """
1699
+ Default row header renderer.
1700
+ """
1701
+
1702
+ def DrawBorder(self, grid, dc, rect):
1703
+ """
1704
+ DrawBorder(grid, dc, rect)
1705
+
1706
+ Implement border drawing for the row labels.
1707
+ """
1708
+ # end of class GridRowHeaderRendererDefault
1709
+
1710
+
1711
+ class GridColumnHeaderRendererDefault(GridColumnHeaderRenderer):
1712
+ """
1713
+ Default column header renderer.
1714
+ """
1715
+
1716
+ def DrawBorder(self, grid, dc, rect):
1717
+ """
1718
+ DrawBorder(grid, dc, rect)
1719
+
1720
+ Implement border drawing for the column labels.
1721
+ """
1722
+ # end of class GridColumnHeaderRendererDefault
1723
+
1724
+
1725
+ class GridCornerHeaderRendererDefault(GridCornerHeaderRenderer):
1726
+ """
1727
+ Default corner window renderer.
1728
+ """
1729
+
1730
+ def DrawBorder(self, grid, dc, rect):
1731
+ """
1732
+ DrawBorder(grid, dc, rect)
1733
+
1734
+ Implement border drawing for the corner window.
1735
+ """
1736
+ # end of class GridCornerHeaderRendererDefault
1737
+
1738
+
1739
+ class GridCellAttrProvider(wx.ClientDataContainer):
1740
+ """
1741
+ GridCellAttrProvider()
1742
+
1743
+ Class providing attributes to be used for the grid cells.
1744
+ """
1745
+
1746
+ def __init__(self):
1747
+ """
1748
+ GridCellAttrProvider()
1749
+
1750
+ Class providing attributes to be used for the grid cells.
1751
+ """
1752
+
1753
+ def SetAttr(self, attr, row, col):
1754
+ """
1755
+ SetAttr(attr, row, col)
1756
+
1757
+ Set attribute for the specified cell.
1758
+ """
1759
+
1760
+ def SetRowAttr(self, attr, row):
1761
+ """
1762
+ SetRowAttr(attr, row)
1763
+
1764
+ Set attribute for the specified row.
1765
+ """
1766
+
1767
+ def SetColAttr(self, attr, col):
1768
+ """
1769
+ SetColAttr(attr, col)
1770
+
1771
+ Set attribute for the specified column.
1772
+ """
1773
+
1774
+ def GetColumnHeaderRenderer(self, col):
1775
+ """
1776
+ GetColumnHeaderRenderer(col) -> GridColumnHeaderRenderer
1777
+
1778
+ Return the renderer used for drawing column headers.
1779
+ """
1780
+
1781
+ def GetRowHeaderRenderer(self, row):
1782
+ """
1783
+ GetRowHeaderRenderer(row) -> GridRowHeaderRenderer
1784
+
1785
+ Return the renderer used for drawing row headers.
1786
+ """
1787
+
1788
+ def GetCornerRenderer(self):
1789
+ """
1790
+ GetCornerRenderer() -> GridCornerHeaderRenderer
1791
+
1792
+ Return the renderer used for drawing the corner window.
1793
+ """
1794
+
1795
+ def GetAttr(self, row, col, kind):
1796
+ """
1797
+ GetAttr(row, col, kind) -> GridCellAttr
1798
+
1799
+ Get the attribute to use for the specified cell.
1800
+ """
1801
+
1802
+ def GetAttrPtr(self, row, col, kind):
1803
+ """
1804
+ GetAttrPtr(row, col, kind) -> GridCellAttrPtr
1805
+
1806
+ Get the attribute to use for the specified cell.
1807
+ """
1808
+ CornerRenderer = property(None, None)
1809
+ # end of class GridCellAttrProvider
1810
+
1811
+
1812
+ class GridTableBase(wx.Object):
1813
+ """
1814
+ GridTableBase()
1815
+
1816
+ The almost abstract base class for grid tables.
1817
+ """
1818
+
1819
+ def __init__(self):
1820
+ """
1821
+ GridTableBase()
1822
+
1823
+ The almost abstract base class for grid tables.
1824
+ """
1825
+
1826
+ def IsEmptyCell(self, row, col):
1827
+ """
1828
+ IsEmptyCell(row, col) -> bool
1829
+
1830
+ May be overridden to implement testing for empty cells.
1831
+ """
1832
+
1833
+ def IsEmpty(self, coords):
1834
+ """
1835
+ IsEmpty(coords) -> bool
1836
+
1837
+ Same as IsEmptyCell() but taking wxGridCellCoords.
1838
+ """
1839
+
1840
+ def GetValue(self, row, col):
1841
+ """
1842
+ GetValue(row, col) -> PyObject
1843
+
1844
+ Must be overridden to implement accessing the table values as text.
1845
+ """
1846
+
1847
+ def SetValue(self, row, col, value):
1848
+ """
1849
+ SetValue(row, col, value)
1850
+
1851
+ Must be overridden to implement setting the table values as text.
1852
+ """
1853
+
1854
+ def GetTypeName(self, row, col):
1855
+ """
1856
+ GetTypeName(row, col) -> String
1857
+
1858
+ Returns the type of the value in the given cell.
1859
+ """
1860
+
1861
+ def CanGetValueAs(self, row, col, typeName):
1862
+ """
1863
+ CanGetValueAs(row, col, typeName) -> bool
1864
+
1865
+ Returns true if the value of the given cell can be accessed as if it
1866
+ were of the specified type.
1867
+ """
1868
+
1869
+ def CanSetValueAs(self, row, col, typeName):
1870
+ """
1871
+ CanSetValueAs(row, col, typeName) -> bool
1872
+
1873
+ Returns true if the value of the given cell can be set as if it were
1874
+ of the specified type.
1875
+ """
1876
+
1877
+ def GetValueAsLong(self, row, col):
1878
+ """
1879
+ GetValueAsLong(row, col) -> long
1880
+
1881
+ Returns the value of the given cell as a long.
1882
+ """
1883
+
1884
+ def GetValueAsDouble(self, row, col):
1885
+ """
1886
+ GetValueAsDouble(row, col) -> double
1887
+
1888
+ Returns the value of the given cell as a double.
1889
+ """
1890
+
1891
+ def GetValueAsBool(self, row, col):
1892
+ """
1893
+ GetValueAsBool(row, col) -> bool
1894
+
1895
+ Returns the value of the given cell as a boolean.
1896
+ """
1897
+
1898
+ def SetValueAsLong(self, row, col, value):
1899
+ """
1900
+ SetValueAsLong(row, col, value)
1901
+
1902
+ Sets the value of the given cell as a long.
1903
+ """
1904
+
1905
+ def SetValueAsDouble(self, row, col, value):
1906
+ """
1907
+ SetValueAsDouble(row, col, value)
1908
+
1909
+ Sets the value of the given cell as a double.
1910
+ """
1911
+
1912
+ def SetValueAsBool(self, row, col, value):
1913
+ """
1914
+ SetValueAsBool(row, col, value)
1915
+
1916
+ Sets the value of the given cell as a boolean.
1917
+ """
1918
+
1919
+ def Clear(self):
1920
+ """
1921
+ Clear()
1922
+
1923
+ Clear the table contents.
1924
+ """
1925
+
1926
+ def InsertRows(self, pos=0, numRows=1):
1927
+ """
1928
+ InsertRows(pos=0, numRows=1) -> bool
1929
+
1930
+ Insert additional rows into the table.
1931
+ """
1932
+
1933
+ def AppendRows(self, numRows=1):
1934
+ """
1935
+ AppendRows(numRows=1) -> bool
1936
+
1937
+ Append additional rows at the end of the table.
1938
+ """
1939
+
1940
+ def DeleteRows(self, pos=0, numRows=1):
1941
+ """
1942
+ DeleteRows(pos=0, numRows=1) -> bool
1943
+
1944
+ Delete rows from the table.
1945
+ """
1946
+
1947
+ def InsertCols(self, pos=0, numCols=1):
1948
+ """
1949
+ InsertCols(pos=0, numCols=1) -> bool
1950
+
1951
+ Exactly the same as InsertRows() but for columns.
1952
+ """
1953
+
1954
+ def AppendCols(self, numCols=1):
1955
+ """
1956
+ AppendCols(numCols=1) -> bool
1957
+
1958
+ Exactly the same as AppendRows() but for columns.
1959
+ """
1960
+
1961
+ def DeleteCols(self, pos=0, numCols=1):
1962
+ """
1963
+ DeleteCols(pos=0, numCols=1) -> bool
1964
+
1965
+ Exactly the same as DeleteRows() but for columns.
1966
+ """
1967
+
1968
+ def GetRowLabelValue(self, row):
1969
+ """
1970
+ GetRowLabelValue(row) -> String
1971
+
1972
+ Return the label of the specified row.
1973
+ """
1974
+
1975
+ def GetColLabelValue(self, col):
1976
+ """
1977
+ GetColLabelValue(col) -> String
1978
+
1979
+ Return the label of the specified column.
1980
+ """
1981
+
1982
+ def GetCornerLabelValue(self):
1983
+ """
1984
+ GetCornerLabelValue() -> String
1985
+
1986
+ Return the label of the grid's corner.
1987
+ """
1988
+
1989
+ def SetRowLabelValue(self, row, label):
1990
+ """
1991
+ SetRowLabelValue(row, label)
1992
+
1993
+ Set the given label for the specified row.
1994
+ """
1995
+
1996
+ def SetColLabelValue(self, col, label):
1997
+ """
1998
+ SetColLabelValue(col, label)
1999
+
2000
+ Exactly the same as SetRowLabelValue() but for columns.
2001
+ """
2002
+
2003
+ def SetCornerLabelValue(self):
2004
+ """
2005
+ SetCornerLabelValue()
2006
+
2007
+ Set the given label for the grid's corner.
2008
+ """
2009
+
2010
+ def SetAttrProvider(self, attrProvider):
2011
+ """
2012
+ SetAttrProvider(attrProvider)
2013
+
2014
+ Associate this attributes provider with the table.
2015
+ """
2016
+
2017
+ def GetAttrProvider(self):
2018
+ """
2019
+ GetAttrProvider() -> GridCellAttrProvider
2020
+
2021
+ Returns the attribute provider currently being used.
2022
+ """
2023
+
2024
+ def GetAttr(self, row, col, kind):
2025
+ """
2026
+ GetAttr(row, col, kind) -> GridCellAttr
2027
+
2028
+ Return the attribute for the given cell.
2029
+ """
2030
+
2031
+ def GetAttrPtr(self, row, col, kind):
2032
+ """
2033
+ GetAttrPtr(row, col, kind) -> GridCellAttrPtr
2034
+
2035
+ Return the attribute for the given cell.
2036
+ """
2037
+
2038
+ def SetAttr(self, attr, row, col):
2039
+ """
2040
+ SetAttr(attr, row, col)
2041
+
2042
+ Set attribute of the specified cell.
2043
+ """
2044
+
2045
+ def SetRowAttr(self, attr, row):
2046
+ """
2047
+ SetRowAttr(attr, row)
2048
+
2049
+ Set attribute of the specified row.
2050
+ """
2051
+
2052
+ def SetColAttr(self, attr, col):
2053
+ """
2054
+ SetColAttr(attr, col)
2055
+
2056
+ Set attribute of the specified column.
2057
+ """
2058
+
2059
+ def GetNumberRows(self):
2060
+ """
2061
+ GetNumberRows() -> int
2062
+
2063
+ Must be overridden to return the number of rows in the table.
2064
+ """
2065
+
2066
+ def GetNumberCols(self):
2067
+ """
2068
+ GetNumberCols() -> int
2069
+
2070
+ Must be overridden to return the number of columns in the table.
2071
+ """
2072
+
2073
+ def GetRowsCount(self):
2074
+ """
2075
+ GetRowsCount() -> int
2076
+
2077
+ Return the number of rows in the table.
2078
+ """
2079
+
2080
+ def GetColsCount(self):
2081
+ """
2082
+ GetColsCount() -> int
2083
+
2084
+ Return the number of columns in the table.
2085
+ """
2086
+
2087
+ def SetView(self, grid):
2088
+ """
2089
+ SetView(grid)
2090
+
2091
+ Called by the grid when the table is associated with it.
2092
+ """
2093
+
2094
+ def GetView(self):
2095
+ """
2096
+ GetView() -> Grid
2097
+
2098
+ Returns the last grid passed to SetView().
2099
+ """
2100
+
2101
+ def CanHaveAttributes(self):
2102
+ """
2103
+ CanHaveAttributes() -> bool
2104
+
2105
+ Returns true if this table supports attributes or false otherwise.
2106
+ """
2107
+
2108
+ def CanMeasureColUsingSameAttr(self, col):
2109
+ """
2110
+ CanMeasureColUsingSameAttr(col) -> bool
2111
+
2112
+ Override to return true if the same attribute can be used for
2113
+ measuring all cells in the given column.
2114
+ """
2115
+
2116
+ def GetValueAsLong(self, row, col):
2117
+ """
2118
+
2119
+ """
2120
+
2121
+ def GetValueAsDouble(self, row, col):
2122
+ """
2123
+
2124
+ """
2125
+
2126
+ def GetValueAsBool(self, row, col):
2127
+ """
2128
+
2129
+ """
2130
+
2131
+ def SetValueAsLong(self, row, col, value):
2132
+ """
2133
+
2134
+ """
2135
+
2136
+ def SetValueAsDouble(self, row, col, value):
2137
+ """
2138
+
2139
+ """
2140
+
2141
+ def SetValueAsBool(self, row, col, value):
2142
+ """
2143
+
2144
+ """
2145
+ AttrProvider = property(None, None)
2146
+ ColsCount = property(None, None)
2147
+ CornerLabelValue = property(None, None)
2148
+ NumberCols = property(None, None)
2149
+ NumberRows = property(None, None)
2150
+ RowsCount = property(None, None)
2151
+ View = property(None, None)
2152
+ # end of class GridTableBase
2153
+
2154
+
2155
+ class GridTableMessage(object):
2156
+ """
2157
+ GridTableMessage()
2158
+ GridTableMessage(table, id, comInt1=-1, comInt2=-1)
2159
+
2160
+ Message class used by the grid table to send requests and
2161
+ notifications to the grid view.
2162
+ """
2163
+
2164
+ def __init__(self, *args, **kw):
2165
+ """
2166
+ GridTableMessage()
2167
+ GridTableMessage(table, id, comInt1=-1, comInt2=-1)
2168
+
2169
+ Message class used by the grid table to send requests and
2170
+ notifications to the grid view.
2171
+ """
2172
+
2173
+ def SetTableObject(self, table):
2174
+ """
2175
+ SetTableObject(table)
2176
+
2177
+ Sets the table object.
2178
+ """
2179
+
2180
+ def GetTableObject(self):
2181
+ """
2182
+ GetTableObject() -> GridTableBase
2183
+
2184
+ Gets the table object.
2185
+ """
2186
+
2187
+ def SetId(self, id):
2188
+ """
2189
+ SetId(id)
2190
+
2191
+ Sets an id.
2192
+ """
2193
+
2194
+ def GetId(self):
2195
+ """
2196
+ GetId() -> int
2197
+
2198
+ Gets an id.
2199
+ """
2200
+
2201
+ def SetCommandInt(self, comInt1):
2202
+ """
2203
+ SetCommandInt(comInt1)
2204
+
2205
+ Set the position after which the insertion/deletion occur.
2206
+ """
2207
+
2208
+ def GetCommandInt(self):
2209
+ """
2210
+ GetCommandInt() -> int
2211
+
2212
+ Get the position after which the insertion/deletion occur.
2213
+ """
2214
+
2215
+ def SetCommandInt2(self, comInt2):
2216
+ """
2217
+ SetCommandInt2(comInt2)
2218
+
2219
+ Set the number of rows to be inserted/deleted.
2220
+ """
2221
+
2222
+ def GetCommandInt2(self):
2223
+ """
2224
+ GetCommandInt2() -> int
2225
+
2226
+ Get the number of rows to be inserted/deleted.
2227
+ """
2228
+ CommandInt = property(None, None)
2229
+ CommandInt2 = property(None, None)
2230
+ Id = property(None, None)
2231
+ TableObject = property(None, None)
2232
+ # end of class GridTableMessage
2233
+
2234
+
2235
+ class GridStringTable(object):
2236
+ """
2237
+ GridStringTable()
2238
+ GridStringTable(numRows, numCols)
2239
+
2240
+ Simplest type of data table for a grid for small tables of strings
2241
+ that are stored in memory.
2242
+ """
2243
+
2244
+ def __init__(self, *args, **kw):
2245
+ """
2246
+ GridStringTable()
2247
+ GridStringTable(numRows, numCols)
2248
+
2249
+ Simplest type of data table for a grid for small tables of strings
2250
+ that are stored in memory.
2251
+ """
2252
+
2253
+ def GetNumberRows(self):
2254
+ """
2255
+ GetNumberRows() -> int
2256
+ """
2257
+
2258
+ def GetNumberCols(self):
2259
+ """
2260
+ GetNumberCols() -> int
2261
+ """
2262
+
2263
+ def GetValue(self, row, col):
2264
+ """
2265
+ GetValue(row, col) -> String
2266
+ """
2267
+
2268
+ def SetValue(self, row, col, s):
2269
+ """
2270
+ SetValue(row, col, s)
2271
+ """
2272
+
2273
+ def Clear(self):
2274
+ """
2275
+ Clear()
2276
+ """
2277
+
2278
+ def InsertRows(self, pos=0, numRows=1):
2279
+ """
2280
+ InsertRows(pos=0, numRows=1) -> bool
2281
+ """
2282
+
2283
+ def AppendRows(self, numRows=1):
2284
+ """
2285
+ AppendRows(numRows=1) -> bool
2286
+ """
2287
+
2288
+ def DeleteRows(self, pos=0, numRows=1):
2289
+ """
2290
+ DeleteRows(pos=0, numRows=1) -> bool
2291
+ """
2292
+
2293
+ def InsertCols(self, pos=0, numCols=1):
2294
+ """
2295
+ InsertCols(pos=0, numCols=1) -> bool
2296
+ """
2297
+
2298
+ def AppendCols(self, numCols=1):
2299
+ """
2300
+ AppendCols(numCols=1) -> bool
2301
+ """
2302
+
2303
+ def DeleteCols(self, pos=0, numCols=1):
2304
+ """
2305
+ DeleteCols(pos=0, numCols=1) -> bool
2306
+ """
2307
+
2308
+ def SetRowLabelValue(self, row, ):
2309
+ """
2310
+ SetRowLabelValue(row, )
2311
+ """
2312
+
2313
+ def SetColLabelValue(self, col, ):
2314
+ """
2315
+ SetColLabelValue(col, )
2316
+ """
2317
+
2318
+ def SetCornerLabelValue(self):
2319
+ """
2320
+ SetCornerLabelValue()
2321
+ """
2322
+
2323
+ def GetRowLabelValue(self, row):
2324
+ """
2325
+ GetRowLabelValue(row) -> String
2326
+ """
2327
+
2328
+ def GetColLabelValue(self, col):
2329
+ """
2330
+ GetColLabelValue(col) -> String
2331
+ """
2332
+
2333
+ def GetCornerLabelValue(self):
2334
+ """
2335
+ GetCornerLabelValue() -> String
2336
+ """
2337
+ CornerLabelValue = property(None, None)
2338
+ NumberCols = property(None, None)
2339
+ NumberRows = property(None, None)
2340
+ # end of class GridStringTable
2341
+
2342
+
2343
+ class GridSizesInfo(object):
2344
+ """
2345
+ GridSizesInfo()
2346
+ GridSizesInfo(defSize, allSizes)
2347
+
2348
+ wxGridSizesInfo stores information about sizes of all wxGrid rows or
2349
+ columns.
2350
+ """
2351
+
2352
+ def __init__(self, *args, **kw):
2353
+ """
2354
+ GridSizesInfo()
2355
+ GridSizesInfo(defSize, allSizes)
2356
+
2357
+ wxGridSizesInfo stores information about sizes of all wxGrid rows or
2358
+ columns.
2359
+ """
2360
+ m_sizeDefault = property(None, None)
2361
+
2362
+ def GetSize(self, pos):
2363
+ """
2364
+ GetSize(pos) -> int
2365
+
2366
+ Get the element size.
2367
+ """
2368
+ # end of class GridSizesInfo
2369
+
2370
+
2371
+ class Grid(wx.ScrolledCanvas):
2372
+ """
2373
+ Grid()
2374
+ Grid(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr)
2375
+
2376
+ wxGrid and its related classes are used for displaying and editing
2377
+ tabular data.
2378
+ """
2379
+ GridSelectCells = 0
2380
+ GridSelectRows = 0
2381
+ GridSelectColumns = 0
2382
+ GridSelectRowsOrColumns = 0
2383
+ GridSelectNone = 0
2384
+ CellSpan_Inside = 0
2385
+ CellSpan_None = 0
2386
+ CellSpan_Main = 0
2387
+ Tab_Stop = 0
2388
+ Tab_Wrap = 0
2389
+ Tab_Leave = 0
2390
+
2391
+ def __init__(self, *args, **kw):
2392
+ """
2393
+ Grid()
2394
+ Grid(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr)
2395
+
2396
+ wxGrid and its related classes are used for displaying and editing
2397
+ tabular data.
2398
+ """
2399
+
2400
+ def Create(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr):
2401
+ """
2402
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr) -> bool
2403
+
2404
+ Creates the grid window for an object initialized using the default
2405
+ constructor.
2406
+ """
2407
+
2408
+ def CreateGrid(self, numRows, numCols, selmode=GridSelectCells):
2409
+ """
2410
+ CreateGrid(numRows, numCols, selmode=GridSelectCells) -> bool
2411
+
2412
+ Creates a grid with the specified initial number of rows and columns.
2413
+ """
2414
+
2415
+ def _SetTable(self, table, takeOwnership=False, selmode=GridSelectCells):
2416
+ """
2417
+ _SetTable(table, takeOwnership=False, selmode=GridSelectCells) -> bool
2418
+
2419
+ Passes a pointer to a custom grid table to be used by the grid.
2420
+ """
2421
+
2422
+ def AssignTable(self, table, selmode=GridSelectCells):
2423
+ """
2424
+ AssignTable(table, selmode=GridSelectCells)
2425
+
2426
+ Assigns a pointer to a custom grid table to be used by the grid.
2427
+ """
2428
+
2429
+ def ProcessTableMessage(self, msg):
2430
+ """
2431
+ ProcessTableMessage(msg) -> bool
2432
+
2433
+ Receive and handle a message from the table.
2434
+ """
2435
+
2436
+ def EnableGridLines(self, enable=True):
2437
+ """
2438
+ EnableGridLines(enable=True)
2439
+
2440
+ Turns the drawing of grid lines on or off.
2441
+ """
2442
+
2443
+ def GetColGridLinePen(self, col):
2444
+ """
2445
+ GetColGridLinePen(col) -> wx.Pen
2446
+
2447
+ Returns the pen used for vertical grid lines.
2448
+ """
2449
+
2450
+ def GetDefaultGridLinePen(self):
2451
+ """
2452
+ GetDefaultGridLinePen() -> wx.Pen
2453
+
2454
+ Returns the pen used for grid lines.
2455
+ """
2456
+
2457
+ def GetGridLineColour(self):
2458
+ """
2459
+ GetGridLineColour() -> wx.Colour
2460
+
2461
+ Returns the colour used for grid lines.
2462
+ """
2463
+
2464
+ def GetRowGridLinePen(self, row):
2465
+ """
2466
+ GetRowGridLinePen(row) -> wx.Pen
2467
+
2468
+ Returns the pen used for horizontal grid lines.
2469
+ """
2470
+
2471
+ def GridLinesEnabled(self):
2472
+ """
2473
+ GridLinesEnabled() -> bool
2474
+
2475
+ Returns true if drawing of grid lines is turned on, false otherwise.
2476
+ """
2477
+
2478
+ def SetGridLineColour(self, colour):
2479
+ """
2480
+ SetGridLineColour(colour)
2481
+
2482
+ Sets the colour used to draw grid lines.
2483
+ """
2484
+
2485
+ def GetColLabelAlignment(self):
2486
+ """
2487
+ GetColLabelAlignment() -> (horiz, vert)
2488
+
2489
+ Sets the arguments to the current column label alignment values.
2490
+ """
2491
+
2492
+ def GetColLabelTextOrientation(self):
2493
+ """
2494
+ GetColLabelTextOrientation() -> int
2495
+
2496
+ Returns the orientation of the column labels (either wxHORIZONTAL or
2497
+ wxVERTICAL).
2498
+ """
2499
+
2500
+ def GetColLabelValue(self, col):
2501
+ """
2502
+ GetColLabelValue(col) -> String
2503
+
2504
+ Returns the specified column label.
2505
+ """
2506
+
2507
+ def GetCornerLabelAlignment(self, horiz, vert):
2508
+ """
2509
+ GetCornerLabelAlignment(horiz, vert)
2510
+
2511
+ Sets the arguments to the current corner label alignment values.
2512
+ """
2513
+
2514
+ def GetCornerLabelTextOrientation(self):
2515
+ """
2516
+ GetCornerLabelTextOrientation() -> int
2517
+
2518
+ Returns the orientation of the corner label (either wxHORIZONTAL or
2519
+ wxVERTICAL).
2520
+ """
2521
+
2522
+ def GetCornerLabelValue(self):
2523
+ """
2524
+ GetCornerLabelValue() -> String
2525
+
2526
+ Returns the (top-left) corner label.
2527
+ """
2528
+
2529
+ def GetLabelBackgroundColour(self):
2530
+ """
2531
+ GetLabelBackgroundColour() -> wx.Colour
2532
+
2533
+ Returns the colour used for the background of row and column labels.
2534
+ """
2535
+
2536
+ def GetLabelFont(self):
2537
+ """
2538
+ GetLabelFont() -> wx.Font
2539
+
2540
+ Returns the font used for row and column labels.
2541
+ """
2542
+
2543
+ def GetLabelTextColour(self):
2544
+ """
2545
+ GetLabelTextColour() -> wx.Colour
2546
+
2547
+ Returns the colour used for row and column label text.
2548
+ """
2549
+
2550
+ def GetRowLabelAlignment(self):
2551
+ """
2552
+ GetRowLabelAlignment() -> (horiz, vert)
2553
+
2554
+ Returns the alignment used for row labels.
2555
+ """
2556
+
2557
+ def GetRowLabelValue(self, row):
2558
+ """
2559
+ GetRowLabelValue(row) -> String
2560
+
2561
+ Returns the specified row label.
2562
+ """
2563
+
2564
+ def HideColLabels(self):
2565
+ """
2566
+ HideColLabels()
2567
+
2568
+ Hides the column labels by calling SetColLabelSize() with a size of 0.
2569
+ """
2570
+
2571
+ def HideRowLabels(self):
2572
+ """
2573
+ HideRowLabels()
2574
+
2575
+ Hides the row labels by calling SetRowLabelSize() with a size of 0.
2576
+ """
2577
+
2578
+ def SetColLabelAlignment(self, horiz, vert):
2579
+ """
2580
+ SetColLabelAlignment(horiz, vert)
2581
+
2582
+ Sets the horizontal and vertical alignment of column label text.
2583
+ """
2584
+
2585
+ def SetColLabelTextOrientation(self, textOrientation):
2586
+ """
2587
+ SetColLabelTextOrientation(textOrientation)
2588
+
2589
+ Sets the orientation of the column labels (either wxHORIZONTAL or
2590
+ wxVERTICAL).
2591
+ """
2592
+
2593
+ def SetColLabelValue(self, col, value):
2594
+ """
2595
+ SetColLabelValue(col, value)
2596
+
2597
+ Set the value for the given column label.
2598
+ """
2599
+
2600
+ def SetCornerLabelAlignment(self, horiz, vert):
2601
+ """
2602
+ SetCornerLabelAlignment(horiz, vert)
2603
+
2604
+ Sets the horizontal and vertical alignment of the (top-left) corner
2605
+ label text.
2606
+ """
2607
+
2608
+ def SetCornerLabelTextOrientation(self, textOrientation):
2609
+ """
2610
+ SetCornerLabelTextOrientation(textOrientation)
2611
+
2612
+ Sets the orientation of the (top-left) corner label (either
2613
+ wxHORIZONTAL or wxVERTICAL).
2614
+ """
2615
+
2616
+ def SetCornerLabelValue(self):
2617
+ """
2618
+ SetCornerLabelValue()
2619
+
2620
+ Set the value for the (top-left) corner label.
2621
+ """
2622
+
2623
+ def SetLabelBackgroundColour(self, colour):
2624
+ """
2625
+ SetLabelBackgroundColour(colour)
2626
+
2627
+ Sets the background colour for row and column labels.
2628
+ """
2629
+
2630
+ def SetLabelFont(self, font):
2631
+ """
2632
+ SetLabelFont(font)
2633
+
2634
+ Sets the font for row and column labels.
2635
+ """
2636
+
2637
+ def SetLabelTextColour(self, colour):
2638
+ """
2639
+ SetLabelTextColour(colour)
2640
+
2641
+ Sets the colour for row and column label text.
2642
+ """
2643
+
2644
+ def SetRowLabelAlignment(self, horiz, vert):
2645
+ """
2646
+ SetRowLabelAlignment(horiz, vert)
2647
+
2648
+ Sets the horizontal and vertical alignment of row label text.
2649
+ """
2650
+
2651
+ def SetRowLabelValue(self, row, value):
2652
+ """
2653
+ SetRowLabelValue(row, value)
2654
+
2655
+ Sets the value for the given row label.
2656
+ """
2657
+
2658
+ def SetUseNativeColLabels(self, native=True):
2659
+ """
2660
+ SetUseNativeColLabels(native=True)
2661
+
2662
+ Call this in order to make the column labels use a native look by
2663
+ using wxRendererNative::DrawHeaderButton() internally.
2664
+ """
2665
+
2666
+ def UseNativeColHeader(self, native=True):
2667
+ """
2668
+ UseNativeColHeader(native=True) -> bool
2669
+
2670
+ Enable the use of native header window for column labels.
2671
+ """
2672
+
2673
+ def GetCellAlignment(self, row, col):
2674
+ """
2675
+ GetCellAlignment(row, col) -> (horiz, vert)
2676
+
2677
+ Sets the arguments to the horizontal and vertical text alignment
2678
+ values for the grid cell at the specified location.
2679
+ """
2680
+
2681
+ def GetCellBackgroundColour(self, row, col):
2682
+ """
2683
+ GetCellBackgroundColour(row, col) -> wx.Colour
2684
+
2685
+ Returns the background colour of the cell at the specified location.
2686
+ """
2687
+
2688
+ def GetCellFont(self, row, col):
2689
+ """
2690
+ GetCellFont(row, col) -> wx.Font
2691
+
2692
+ Returns the font for text in the grid cell at the specified location.
2693
+ """
2694
+
2695
+ def GetCellTextColour(self, row, col):
2696
+ """
2697
+ GetCellTextColour(row, col) -> wx.Colour
2698
+
2699
+ Returns the text colour for the grid cell at the specified location.
2700
+ """
2701
+
2702
+ def GetDefaultCellAlignment(self):
2703
+ """
2704
+ GetDefaultCellAlignment() -> (horiz, vert)
2705
+
2706
+ Returns the default cell alignment.
2707
+ """
2708
+
2709
+ def GetDefaultCellBackgroundColour(self):
2710
+ """
2711
+ GetDefaultCellBackgroundColour() -> wx.Colour
2712
+
2713
+ Returns the current default background colour for grid cells.
2714
+ """
2715
+
2716
+ def GetDefaultCellFont(self):
2717
+ """
2718
+ GetDefaultCellFont() -> wx.Font
2719
+
2720
+ Returns the current default font for grid cell text.
2721
+ """
2722
+
2723
+ def GetDefaultCellTextColour(self):
2724
+ """
2725
+ GetDefaultCellTextColour() -> wx.Colour
2726
+
2727
+ Returns the current default colour for grid cell text.
2728
+ """
2729
+
2730
+ def SetCellAlignment(self, row, col, horiz, vert):
2731
+ """
2732
+ SetCellAlignment(row, col, horiz, vert)
2733
+
2734
+ Sets the horizontal and vertical alignment for grid cell text at the
2735
+ specified location.
2736
+ """
2737
+
2738
+ def SetCellBackgroundColour(self, row, col, colour):
2739
+ """
2740
+ SetCellBackgroundColour(row, col, colour)
2741
+
2742
+ Set the background colour for the given cell or all cells by default.
2743
+ """
2744
+
2745
+ def SetCellFont(self, row, col, font):
2746
+ """
2747
+ SetCellFont(row, col, font)
2748
+
2749
+ Sets the font for text in the grid cell at the specified location.
2750
+ """
2751
+
2752
+ def SetCellTextColour(self, row, col, colour):
2753
+ """
2754
+ SetCellTextColour(row, col, colour)
2755
+
2756
+ Sets the text colour for the given cell.
2757
+ """
2758
+
2759
+ def SetDefaultCellAlignment(self, horiz, vert):
2760
+ """
2761
+ SetDefaultCellAlignment(horiz, vert)
2762
+
2763
+ Sets the default horizontal and vertical alignment for grid cell text.
2764
+ """
2765
+
2766
+ def SetDefaultCellBackgroundColour(self, colour):
2767
+ """
2768
+ SetDefaultCellBackgroundColour(colour)
2769
+
2770
+ Sets the default background colour for grid cells.
2771
+ """
2772
+
2773
+ def SetDefaultCellFont(self, font):
2774
+ """
2775
+ SetDefaultCellFont(font)
2776
+
2777
+ Sets the default font to be used for grid cell text.
2778
+ """
2779
+
2780
+ def SetDefaultCellTextColour(self, colour):
2781
+ """
2782
+ SetDefaultCellTextColour(colour)
2783
+
2784
+ Sets the current default colour for grid cell text.
2785
+ """
2786
+
2787
+ def CanEnableCellControl(self):
2788
+ """
2789
+ CanEnableCellControl() -> bool
2790
+
2791
+ Returns true if the in-place edit control for the current grid cell
2792
+ can be used and false otherwise.
2793
+ """
2794
+
2795
+ def DisableCellEditControl(self):
2796
+ """
2797
+ DisableCellEditControl()
2798
+
2799
+ Disables in-place editing of grid cells.
2800
+ """
2801
+
2802
+ def EnableCellEditControl(self, enable=True):
2803
+ """
2804
+ EnableCellEditControl(enable=True)
2805
+
2806
+ Enables or disables in-place editing of grid cell data.
2807
+ """
2808
+
2809
+ def EnableEditing(self, edit):
2810
+ """
2811
+ EnableEditing(edit)
2812
+
2813
+ Makes the grid globally editable or read-only.
2814
+ """
2815
+
2816
+ def GetCellEditor(self, row, col):
2817
+ """
2818
+ GetCellEditor(row, col) -> GridCellEditor
2819
+
2820
+ Returns a pointer to the editor for the cell at the specified
2821
+ location.
2822
+ """
2823
+
2824
+ def GetCellRenderer(self, row, col):
2825
+ """
2826
+ GetCellRenderer(row, col) -> GridCellRenderer
2827
+
2828
+ Returns a pointer to the renderer for the grid cell at the specified
2829
+ location.
2830
+ """
2831
+
2832
+ def GetCellValue(self, *args, **kw):
2833
+ """
2834
+ GetCellValue(row, col) -> String
2835
+ GetCellValue(coords) -> String
2836
+
2837
+ Returns the string contained in the cell at the specified location.
2838
+ """
2839
+
2840
+ def GetDefaultEditor(self):
2841
+ """
2842
+ GetDefaultEditor() -> GridCellEditor
2843
+
2844
+ Returns a pointer to the current default grid cell editor.
2845
+ """
2846
+
2847
+ def GetDefaultEditorForCell(self, *args, **kw):
2848
+ """
2849
+ GetDefaultEditorForCell(row, col) -> GridCellEditor
2850
+ GetDefaultEditorForCell(c) -> GridCellEditor
2851
+
2852
+ Returns the default editor for the specified cell.
2853
+ """
2854
+
2855
+ def GetDefaultEditorForType(self, typeName):
2856
+ """
2857
+ GetDefaultEditorForType(typeName) -> GridCellEditor
2858
+
2859
+ Returns the default editor for the cells containing values of the
2860
+ given type.
2861
+ """
2862
+
2863
+ def GetDefaultRenderer(self):
2864
+ """
2865
+ GetDefaultRenderer() -> GridCellRenderer
2866
+
2867
+ Returns a pointer to the current default grid cell renderer.
2868
+ """
2869
+
2870
+ def GetDefaultRendererForCell(self, row, col):
2871
+ """
2872
+ GetDefaultRendererForCell(row, col) -> GridCellRenderer
2873
+
2874
+ Returns the default renderer for the given cell.
2875
+ """
2876
+
2877
+ def GetDefaultRendererForType(self, typeName):
2878
+ """
2879
+ GetDefaultRendererForType(typeName) -> GridCellRenderer
2880
+
2881
+ Returns the default renderer for the cell containing values of the
2882
+ given type.
2883
+ """
2884
+
2885
+ def HideCellEditControl(self):
2886
+ """
2887
+ HideCellEditControl()
2888
+
2889
+ Hides the in-place cell edit control.
2890
+ """
2891
+
2892
+ def IsCellEditControlEnabled(self):
2893
+ """
2894
+ IsCellEditControlEnabled() -> bool
2895
+
2896
+ Returns true if the in-place edit control is currently enabled.
2897
+ """
2898
+
2899
+ def IsCellEditControlShown(self):
2900
+ """
2901
+ IsCellEditControlShown() -> bool
2902
+
2903
+ Returns true if the in-place edit control is currently shown.
2904
+ """
2905
+
2906
+ def IsCurrentCellReadOnly(self):
2907
+ """
2908
+ IsCurrentCellReadOnly() -> bool
2909
+
2910
+ Returns true if the current cell is read-only.
2911
+ """
2912
+
2913
+ def IsEditable(self):
2914
+ """
2915
+ IsEditable() -> bool
2916
+
2917
+ Returns false if the whole grid has been set as read-only or true
2918
+ otherwise.
2919
+ """
2920
+
2921
+ def IsReadOnly(self, row, col):
2922
+ """
2923
+ IsReadOnly(row, col) -> bool
2924
+
2925
+ Returns true if the cell at the specified location can't be edited.
2926
+ """
2927
+
2928
+ def RegisterDataType(self, typeName, renderer, editor):
2929
+ """
2930
+ RegisterDataType(typeName, renderer, editor)
2931
+
2932
+ Register a new data type.
2933
+ """
2934
+
2935
+ def SaveEditControlValue(self):
2936
+ """
2937
+ SaveEditControlValue()
2938
+
2939
+ Sets the value of the current grid cell to the current in-place edit
2940
+ control value.
2941
+ """
2942
+
2943
+ def SetCellEditor(self, row, col, editor):
2944
+ """
2945
+ SetCellEditor(row, col, editor)
2946
+
2947
+ Sets the editor for the grid cell at the specified location.
2948
+ """
2949
+
2950
+ def SetCellRenderer(self, row, col, renderer):
2951
+ """
2952
+ SetCellRenderer(row, col, renderer)
2953
+
2954
+ Sets the renderer for the grid cell at the specified location.
2955
+ """
2956
+
2957
+ def SetCellValue(self, *args, **kw):
2958
+ """
2959
+ SetCellValue(row, col, s)
2960
+ SetCellValue(coords, s)
2961
+
2962
+ Sets the string value for the cell at the specified location.
2963
+ """
2964
+
2965
+ def SetColFormatBool(self, col):
2966
+ """
2967
+ SetColFormatBool(col)
2968
+
2969
+ Sets the specified column to display boolean values.
2970
+ """
2971
+
2972
+ def SetColFormatCustom(self, col, typeName):
2973
+ """
2974
+ SetColFormatCustom(col, typeName)
2975
+
2976
+ Sets the specified column to display data in a custom format.
2977
+ """
2978
+
2979
+ def SetColFormatFloat(self, col, width=-1, precision=-1):
2980
+ """
2981
+ SetColFormatFloat(col, width=-1, precision=-1)
2982
+
2983
+ Sets the specified column to display floating point values with the
2984
+ given width and precision.
2985
+ """
2986
+
2987
+ def SetColFormatNumber(self, col):
2988
+ """
2989
+ SetColFormatNumber(col)
2990
+
2991
+ Sets the specified column to display integer values.
2992
+ """
2993
+
2994
+ def SetColFormatDate(self, col, format=""):
2995
+ """
2996
+ SetColFormatDate(col, format="")
2997
+
2998
+ Sets the specified column to display date values.
2999
+ """
3000
+
3001
+ def SetDefaultEditor(self, editor):
3002
+ """
3003
+ SetDefaultEditor(editor)
3004
+
3005
+ Sets the default editor for grid cells.
3006
+ """
3007
+
3008
+ def SetDefaultRenderer(self, renderer):
3009
+ """
3010
+ SetDefaultRenderer(renderer)
3011
+
3012
+ Sets the default renderer for grid cells.
3013
+ """
3014
+
3015
+ def SetReadOnly(self, row, col, isReadOnly=True):
3016
+ """
3017
+ SetReadOnly(row, col, isReadOnly=True)
3018
+
3019
+ Makes the cell at the specified location read-only or editable.
3020
+ """
3021
+
3022
+ def ShowCellEditControl(self):
3023
+ """
3024
+ ShowCellEditControl()
3025
+
3026
+ Displays the active in-place cell edit control for the current cell
3027
+ after it was hidden.
3028
+ """
3029
+
3030
+ def AutoSize(self):
3031
+ """
3032
+ AutoSize()
3033
+
3034
+ Automatically sets the height and width of all rows and columns to fit
3035
+ their contents.
3036
+ """
3037
+
3038
+ def AutoSizeColLabelSize(self, col):
3039
+ """
3040
+ AutoSizeColLabelSize(col)
3041
+
3042
+ Automatically adjusts width of the column to fit its label.
3043
+ """
3044
+
3045
+ def AutoSizeColumn(self, col, setAsMin=True):
3046
+ """
3047
+ AutoSizeColumn(col, setAsMin=True)
3048
+
3049
+ Automatically sizes the column to fit its contents.
3050
+ """
3051
+
3052
+ def AutoSizeColumns(self, setAsMin=True):
3053
+ """
3054
+ AutoSizeColumns(setAsMin=True)
3055
+
3056
+ Automatically sizes all columns to fit their contents.
3057
+ """
3058
+
3059
+ def AutoSizeRow(self, row, setAsMin=True):
3060
+ """
3061
+ AutoSizeRow(row, setAsMin=True)
3062
+
3063
+ Automatically sizes the row to fit its contents.
3064
+ """
3065
+
3066
+ def AutoSizeRowLabelSize(self, col):
3067
+ """
3068
+ AutoSizeRowLabelSize(col)
3069
+
3070
+ Automatically adjusts height of the row to fit its label.
3071
+ """
3072
+
3073
+ def AutoSizeRows(self, setAsMin=True):
3074
+ """
3075
+ AutoSizeRows(setAsMin=True)
3076
+
3077
+ Automatically sizes all rows to fit their contents.
3078
+ """
3079
+
3080
+ def GetCellFitMode(self, row, col):
3081
+ """
3082
+ GetCellFitMode(row, col) -> GridFitMode
3083
+
3084
+ Returns the cell fitting mode.
3085
+ """
3086
+
3087
+ def GetCellOverflow(self, row, col):
3088
+ """
3089
+ GetCellOverflow(row, col) -> bool
3090
+
3091
+ Returns true if the cell value can overflow.
3092
+ """
3093
+
3094
+ def GetColLabelSize(self):
3095
+ """
3096
+ GetColLabelSize() -> int
3097
+
3098
+ Returns the current height of the column labels.
3099
+ """
3100
+
3101
+ def GetColMinimalAcceptableWidth(self):
3102
+ """
3103
+ GetColMinimalAcceptableWidth() -> int
3104
+
3105
+ Returns the minimal width to which a column may be resized.
3106
+ """
3107
+
3108
+ def GetColSize(self, col):
3109
+ """
3110
+ GetColSize(col) -> int
3111
+
3112
+ Returns the width of the specified column.
3113
+ """
3114
+
3115
+ def IsColShown(self, col):
3116
+ """
3117
+ IsColShown(col) -> bool
3118
+
3119
+ Returns true if the specified column is not currently hidden.
3120
+ """
3121
+
3122
+ def GetDefaultCellFitMode(self):
3123
+ """
3124
+ GetDefaultCellFitMode() -> GridFitMode
3125
+
3126
+ Returns the default cell fitting mode.
3127
+ """
3128
+
3129
+ def GetDefaultCellOverflow(self):
3130
+ """
3131
+ GetDefaultCellOverflow() -> bool
3132
+
3133
+ Returns true if the cells can overflow by default.
3134
+ """
3135
+
3136
+ def GetDefaultColLabelSize(self):
3137
+ """
3138
+ GetDefaultColLabelSize() -> int
3139
+
3140
+ Returns the default height for column labels.
3141
+ """
3142
+
3143
+ def GetDefaultColSize(self):
3144
+ """
3145
+ GetDefaultColSize() -> int
3146
+
3147
+ Returns the current default width for grid columns.
3148
+ """
3149
+
3150
+ def GetDefaultRowLabelSize(self):
3151
+ """
3152
+ GetDefaultRowLabelSize() -> int
3153
+
3154
+ Returns the default width for the row labels.
3155
+ """
3156
+
3157
+ def GetDefaultRowSize(self):
3158
+ """
3159
+ GetDefaultRowSize() -> int
3160
+
3161
+ Returns the current default height for grid rows.
3162
+ """
3163
+
3164
+ def GetRowMinimalAcceptableHeight(self):
3165
+ """
3166
+ GetRowMinimalAcceptableHeight() -> int
3167
+
3168
+ Returns the minimal size to which rows can be resized.
3169
+ """
3170
+
3171
+ def GetRowLabelSize(self):
3172
+ """
3173
+ GetRowLabelSize() -> int
3174
+
3175
+ Returns the current width of the row labels.
3176
+ """
3177
+
3178
+ def GetRowSize(self, row):
3179
+ """
3180
+ GetRowSize(row) -> int
3181
+
3182
+ Returns the height of the specified row.
3183
+ """
3184
+
3185
+ def IsRowShown(self, row):
3186
+ """
3187
+ IsRowShown(row) -> bool
3188
+
3189
+ Returns true if the specified row is not currently hidden.
3190
+ """
3191
+
3192
+ def SetCellFitMode(self, row, col, fitMode):
3193
+ """
3194
+ SetCellFitMode(row, col, fitMode)
3195
+
3196
+ Specifies the behaviour of the cell contents if it doesn't fit into
3197
+ the available space.
3198
+ """
3199
+
3200
+ def SetCellOverflow(self, row, col, allow):
3201
+ """
3202
+ SetCellOverflow(row, col, allow)
3203
+
3204
+ Sets the overflow permission of the cell.
3205
+ """
3206
+
3207
+ def SetColLabelSize(self, height):
3208
+ """
3209
+ SetColLabelSize(height)
3210
+
3211
+ Sets the height of the column labels.
3212
+ """
3213
+
3214
+ def SetColMinimalAcceptableWidth(self, width):
3215
+ """
3216
+ SetColMinimalAcceptableWidth(width)
3217
+
3218
+ Sets the minimal width to which the user can resize columns.
3219
+ """
3220
+
3221
+ def SetColMinimalWidth(self, col, width):
3222
+ """
3223
+ SetColMinimalWidth(col, width)
3224
+
3225
+ Sets the minimal width for the specified column col.
3226
+ """
3227
+
3228
+ def SetColSize(self, col, width):
3229
+ """
3230
+ SetColSize(col, width)
3231
+
3232
+ Sets the width of the specified column.
3233
+ """
3234
+
3235
+ def HideCol(self, col):
3236
+ """
3237
+ HideCol(col)
3238
+
3239
+ Hides the specified column.
3240
+ """
3241
+
3242
+ def ShowCol(self, col):
3243
+ """
3244
+ ShowCol(col)
3245
+
3246
+ Shows the previously hidden column by resizing it to non-0 size.
3247
+ """
3248
+
3249
+ def SetDefaultCellFitMode(self, fitMode):
3250
+ """
3251
+ SetDefaultCellFitMode(fitMode)
3252
+
3253
+ Specifies the default behaviour of the cell contents if it doesn't fit
3254
+ into the available space.
3255
+ """
3256
+
3257
+ def SetDefaultCellOverflow(self, allow):
3258
+ """
3259
+ SetDefaultCellOverflow(allow)
3260
+
3261
+ Sets the default overflow permission of the cells.
3262
+ """
3263
+
3264
+ def SetDefaultColSize(self, width, resizeExistingCols=False):
3265
+ """
3266
+ SetDefaultColSize(width, resizeExistingCols=False)
3267
+
3268
+ Sets the default width for columns in the grid.
3269
+ """
3270
+
3271
+ def SetDefaultRowSize(self, height, resizeExistingRows=False):
3272
+ """
3273
+ SetDefaultRowSize(height, resizeExistingRows=False)
3274
+
3275
+ Sets the default height for rows in the grid.
3276
+ """
3277
+
3278
+ def SetRowLabelSize(self, width):
3279
+ """
3280
+ SetRowLabelSize(width)
3281
+
3282
+ Sets the width of the row labels.
3283
+ """
3284
+
3285
+ def SetRowMinimalAcceptableHeight(self, height):
3286
+ """
3287
+ SetRowMinimalAcceptableHeight(height)
3288
+
3289
+ Sets the minimal row height used by default.
3290
+ """
3291
+
3292
+ def SetRowMinimalHeight(self, row, height):
3293
+ """
3294
+ SetRowMinimalHeight(row, height)
3295
+
3296
+ Sets the minimal height for the specified row.
3297
+ """
3298
+
3299
+ def SetRowSize(self, row, height):
3300
+ """
3301
+ SetRowSize(row, height)
3302
+
3303
+ Sets the height of the specified row.
3304
+ """
3305
+
3306
+ def HideRow(self, col):
3307
+ """
3308
+ HideRow(col)
3309
+
3310
+ Hides the specified row.
3311
+ """
3312
+
3313
+ def ShowRow(self, col):
3314
+ """
3315
+ ShowRow(col)
3316
+
3317
+ Shows the previously hidden row.
3318
+ """
3319
+
3320
+ def GetColSizes(self):
3321
+ """
3322
+ GetColSizes() -> GridSizesInfo
3323
+
3324
+ Get size information for all columns at once.
3325
+ """
3326
+
3327
+ def GetRowSizes(self):
3328
+ """
3329
+ GetRowSizes() -> GridSizesInfo
3330
+
3331
+ Get size information for all row at once.
3332
+ """
3333
+
3334
+ def SetColSizes(self, sizeInfo):
3335
+ """
3336
+ SetColSizes(sizeInfo)
3337
+
3338
+ Restore all columns sizes.
3339
+ """
3340
+
3341
+ def SetRowSizes(self, sizeInfo):
3342
+ """
3343
+ SetRowSizes(sizeInfo)
3344
+
3345
+ Restore all rows sizes.
3346
+ """
3347
+
3348
+ def SetCellSize(self, row, col, num_rows, num_cols):
3349
+ """
3350
+ SetCellSize(row, col, num_rows, num_cols)
3351
+
3352
+ Set the size of the cell.
3353
+ """
3354
+
3355
+ def GetCellSize(self, *args, **kw):
3356
+ """
3357
+ GetCellSize(row, col, num_rows, num_cols) -> CellSpan
3358
+ GetCellSize(coords) -> wx.Size
3359
+
3360
+ Get the size of the cell in number of cells covered by it.
3361
+ """
3362
+
3363
+ def CanDragCell(self):
3364
+ """
3365
+ CanDragCell() -> bool
3366
+
3367
+ Return true if the dragging of cells is enabled or false otherwise.
3368
+ """
3369
+
3370
+ def CanDragColMove(self):
3371
+ """
3372
+ CanDragColMove() -> bool
3373
+
3374
+ Returns true if columns can be moved by dragging with the mouse.
3375
+ """
3376
+
3377
+ def CanDragColSize(self, col):
3378
+ """
3379
+ CanDragColSize(col) -> bool
3380
+
3381
+ Returns true if the given column can be resized by dragging with the
3382
+ mouse.
3383
+ """
3384
+
3385
+ def CanDragGridColEdges(self):
3386
+ """
3387
+ CanDragGridColEdges() -> bool
3388
+
3389
+ Return true if column edges inside the grid can be dragged to resize
3390
+ the rows.
3391
+ """
3392
+
3393
+ def CanDragGridRowEdges(self):
3394
+ """
3395
+ CanDragGridRowEdges() -> bool
3396
+
3397
+ Return true if row edges inside the grid can be dragged to resize the
3398
+ rows.
3399
+ """
3400
+
3401
+ def CanDragGridSize(self):
3402
+ """
3403
+ CanDragGridSize() -> bool
3404
+
3405
+ Return true if the dragging of grid lines to resize rows and columns
3406
+ is enabled or false otherwise.
3407
+ """
3408
+
3409
+ def CanDragRowSize(self, row):
3410
+ """
3411
+ CanDragRowSize(row) -> bool
3412
+
3413
+ Returns true if the given row can be resized by dragging with the
3414
+ mouse.
3415
+ """
3416
+
3417
+ def CanHideColumns(self):
3418
+ """
3419
+ CanHideColumns() -> bool
3420
+
3421
+ Returns true if columns can be hidden from the popup menu of the
3422
+ native header.
3423
+ """
3424
+
3425
+ def DisableColResize(self, col):
3426
+ """
3427
+ DisableColResize(col)
3428
+
3429
+ Disable interactive resizing of the specified column.
3430
+ """
3431
+
3432
+ def DisableRowResize(self, row):
3433
+ """
3434
+ DisableRowResize(row)
3435
+
3436
+ Disable interactive resizing of the specified row.
3437
+ """
3438
+
3439
+ def DisableDragColMove(self):
3440
+ """
3441
+ DisableDragColMove()
3442
+
3443
+ Disables column moving by dragging with the mouse.
3444
+ """
3445
+
3446
+ def DisableDragColSize(self):
3447
+ """
3448
+ DisableDragColSize()
3449
+
3450
+ Disables column sizing by dragging with the mouse.
3451
+ """
3452
+
3453
+ def DisableDragGridSize(self):
3454
+ """
3455
+ DisableDragGridSize()
3456
+
3457
+ Disable mouse dragging of grid lines to resize rows and columns.
3458
+ """
3459
+
3460
+ def DisableDragRowSize(self):
3461
+ """
3462
+ DisableDragRowSize()
3463
+
3464
+ Disables row sizing by dragging with the mouse.
3465
+ """
3466
+
3467
+ def DisableHidingColumns(self):
3468
+ """
3469
+ DisableHidingColumns()
3470
+
3471
+ Disables column hiding from the header popup menu.
3472
+ """
3473
+
3474
+ def EnableDragCell(self, enable=True):
3475
+ """
3476
+ EnableDragCell(enable=True)
3477
+
3478
+ Enables or disables cell dragging with the mouse.
3479
+ """
3480
+
3481
+ def EnableDragColMove(self, enable=True):
3482
+ """
3483
+ EnableDragColMove(enable=True) -> bool
3484
+
3485
+ Enables or disables column moving by dragging with the mouse.
3486
+ """
3487
+
3488
+ def EnableDragColSize(self, enable=True):
3489
+ """
3490
+ EnableDragColSize(enable=True)
3491
+
3492
+ Enables or disables column sizing by dragging with the mouse.
3493
+ """
3494
+
3495
+ def EnableDragGridSize(self, enable=True):
3496
+ """
3497
+ EnableDragGridSize(enable=True)
3498
+
3499
+ Enables or disables row and column resizing by dragging gridlines with
3500
+ the mouse.
3501
+ """
3502
+
3503
+ def EnableDragRowSize(self, enable=True):
3504
+ """
3505
+ EnableDragRowSize(enable=True)
3506
+
3507
+ Enables or disables row sizing by dragging with the mouse.
3508
+ """
3509
+
3510
+ def EnableHidingColumns(self, enable=True):
3511
+ """
3512
+ EnableHidingColumns(enable=True) -> bool
3513
+
3514
+ Enables or disables column hiding from the header popup menu.
3515
+ """
3516
+
3517
+ def GetColAt(self, colPos):
3518
+ """
3519
+ GetColAt(colPos) -> int
3520
+
3521
+ Returns the column ID of the specified column position.
3522
+ """
3523
+
3524
+ def GetColPos(self, colID):
3525
+ """
3526
+ GetColPos(colID) -> int
3527
+
3528
+ Returns the position of the specified column.
3529
+ """
3530
+
3531
+ def SetColPos(self, colID, newPos):
3532
+ """
3533
+ SetColPos(colID, newPos)
3534
+
3535
+ Sets the position of the specified column.
3536
+ """
3537
+
3538
+ def SetColumnsOrder(self, order):
3539
+ """
3540
+ SetColumnsOrder(order)
3541
+
3542
+ Sets the positions of all columns at once.
3543
+ """
3544
+
3545
+ def ResetColPos(self):
3546
+ """
3547
+ ResetColPos()
3548
+
3549
+ Resets the position of the columns to the default.
3550
+ """
3551
+
3552
+ def GetGridCursorCoords(self):
3553
+ """
3554
+ GetGridCursorCoords() -> GridCellCoords
3555
+
3556
+ Returns the current grid cursor position.
3557
+ """
3558
+
3559
+ def GetGridCursorCol(self):
3560
+ """
3561
+ GetGridCursorCol() -> int
3562
+
3563
+ Returns the current grid cell column position.
3564
+ """
3565
+
3566
+ def GetGridCursorRow(self):
3567
+ """
3568
+ GetGridCursorRow() -> int
3569
+
3570
+ Returns the current grid cell row position.
3571
+ """
3572
+
3573
+ def GoToCell(self, *args, **kw):
3574
+ """
3575
+ GoToCell(row, col)
3576
+ GoToCell(coords)
3577
+
3578
+ Make the given cell current and ensure it is visible.
3579
+ """
3580
+
3581
+ def MoveCursorDown(self, expandSelection):
3582
+ """
3583
+ MoveCursorDown(expandSelection) -> bool
3584
+
3585
+ Moves the grid cursor down by one row.
3586
+ """
3587
+
3588
+ def MoveCursorDownBlock(self, expandSelection):
3589
+ """
3590
+ MoveCursorDownBlock(expandSelection) -> bool
3591
+
3592
+ Moves the grid cursor down in the current column such that it skips to
3593
+ the beginning or end of a block of non-empty cells.
3594
+ """
3595
+
3596
+ def MoveCursorLeft(self, expandSelection):
3597
+ """
3598
+ MoveCursorLeft(expandSelection) -> bool
3599
+
3600
+ Moves the grid cursor left by one column.
3601
+ """
3602
+
3603
+ def MoveCursorLeftBlock(self, expandSelection):
3604
+ """
3605
+ MoveCursorLeftBlock(expandSelection) -> bool
3606
+
3607
+ Moves the grid cursor left in the current row such that it skips to
3608
+ the beginning or end of a block of non-empty cells.
3609
+ """
3610
+
3611
+ def MoveCursorRight(self, expandSelection):
3612
+ """
3613
+ MoveCursorRight(expandSelection) -> bool
3614
+
3615
+ Moves the grid cursor right by one column.
3616
+ """
3617
+
3618
+ def MoveCursorRightBlock(self, expandSelection):
3619
+ """
3620
+ MoveCursorRightBlock(expandSelection) -> bool
3621
+
3622
+ Moves the grid cursor right in the current row such that it skips to
3623
+ the beginning or end of a block of non-empty cells.
3624
+ """
3625
+
3626
+ def MoveCursorUp(self, expandSelection):
3627
+ """
3628
+ MoveCursorUp(expandSelection) -> bool
3629
+
3630
+ Moves the grid cursor up by one row.
3631
+ """
3632
+
3633
+ def MoveCursorUpBlock(self, expandSelection):
3634
+ """
3635
+ MoveCursorUpBlock(expandSelection) -> bool
3636
+
3637
+ Moves the grid cursor up in the current column such that it skips to
3638
+ the beginning or end of a block of non-empty cells.
3639
+ """
3640
+
3641
+ def MovePageDown(self):
3642
+ """
3643
+ MovePageDown() -> bool
3644
+
3645
+ Moves the grid cursor down by some number of rows so that the previous
3646
+ bottom visible row becomes the top visible row.
3647
+ """
3648
+
3649
+ def MovePageUp(self):
3650
+ """
3651
+ MovePageUp() -> bool
3652
+
3653
+ Moves the grid cursor up by some number of rows so that the previous
3654
+ top visible row becomes the bottom visible row.
3655
+ """
3656
+
3657
+ def SetGridCursor(self, *args, **kw):
3658
+ """
3659
+ SetGridCursor(row, col)
3660
+ SetGridCursor(coords)
3661
+
3662
+ Set the grid cursor to the specified cell.
3663
+ """
3664
+
3665
+ def SetTabBehaviour(self, behaviour):
3666
+ """
3667
+ SetTabBehaviour(behaviour)
3668
+
3669
+ Set the grid's behaviour when the user presses the TAB key.
3670
+ """
3671
+
3672
+ def ClearSelection(self):
3673
+ """
3674
+ ClearSelection()
3675
+
3676
+ Deselects all cells that are currently selected.
3677
+ """
3678
+
3679
+ def DeselectRow(self, row):
3680
+ """
3681
+ DeselectRow(row)
3682
+
3683
+ Deselects a row of cells.
3684
+ """
3685
+
3686
+ def DeselectCol(self, col):
3687
+ """
3688
+ DeselectCol(col)
3689
+
3690
+ Deselects a column of cells.
3691
+ """
3692
+
3693
+ def DeselectCell(self, row, col):
3694
+ """
3695
+ DeselectCell(row, col)
3696
+
3697
+ Deselects a cell.
3698
+ """
3699
+
3700
+ def GetSelectedBlocks(self):
3701
+ """
3702
+ GetSelectedBlocks() -> GridBlocks
3703
+
3704
+ Returns a range of grid selection blocks.
3705
+ """
3706
+
3707
+ def GetSelectedRowBlocks(self):
3708
+ """
3709
+ GetSelectedRowBlocks() -> PyObject
3710
+
3711
+ Returns an ordered range of non-overlapping selected rows.
3712
+ """
3713
+
3714
+ def GetSelectedColBlocks(self):
3715
+ """
3716
+ GetSelectedColBlocks() -> PyObject
3717
+
3718
+ Returns an ordered range of non-overlapping selected columns.
3719
+ """
3720
+
3721
+ def GetSelectedCells(self):
3722
+ """
3723
+ GetSelectedCells() -> GridCellCoordsArray
3724
+
3725
+ Returns an array of individually selected cells.
3726
+ """
3727
+
3728
+ def GetSelectedCols(self):
3729
+ """
3730
+ GetSelectedCols() -> ArrayInt
3731
+
3732
+ Returns an array of selected columns.
3733
+ """
3734
+
3735
+ def GetSelectedRows(self):
3736
+ """
3737
+ GetSelectedRows() -> ArrayInt
3738
+
3739
+ Returns an array of selected rows.
3740
+ """
3741
+
3742
+ def GetSelectionBackground(self):
3743
+ """
3744
+ GetSelectionBackground() -> wx.Colour
3745
+
3746
+ Returns the colour used for drawing the selection background.
3747
+ """
3748
+
3749
+ def GetSelectionBlockBottomRight(self):
3750
+ """
3751
+ GetSelectionBlockBottomRight() -> GridCellCoordsArray
3752
+
3753
+ Returns an array of the bottom right corners of blocks of selected
3754
+ cells.
3755
+ """
3756
+
3757
+ def GetSelectionBlockTopLeft(self):
3758
+ """
3759
+ GetSelectionBlockTopLeft() -> GridCellCoordsArray
3760
+
3761
+ Returns an array of the top left corners of blocks of selected cells.
3762
+ """
3763
+
3764
+ def GetSelectionForeground(self):
3765
+ """
3766
+ GetSelectionForeground() -> wx.Colour
3767
+
3768
+ Returns the colour used for drawing the selection foreground.
3769
+ """
3770
+
3771
+ def GetSelectionMode(self):
3772
+ """
3773
+ GetSelectionMode() -> GridSelectionModes
3774
+
3775
+ Returns the current selection mode.
3776
+ """
3777
+
3778
+ def IsInSelection(self, *args, **kw):
3779
+ """
3780
+ IsInSelection(row, col) -> bool
3781
+ IsInSelection(coords) -> bool
3782
+
3783
+ Returns true if the given cell is selected.
3784
+ """
3785
+
3786
+ def IsSelection(self):
3787
+ """
3788
+ IsSelection() -> bool
3789
+
3790
+ Returns true if there are currently any selected cells, rows, columns
3791
+ or blocks.
3792
+ """
3793
+
3794
+ def SelectAll(self):
3795
+ """
3796
+ SelectAll()
3797
+
3798
+ Selects all cells in the grid.
3799
+ """
3800
+
3801
+ def SelectBlock(self, *args, **kw):
3802
+ """
3803
+ SelectBlock(topRow, leftCol, bottomRow, rightCol, addToSelected=False)
3804
+ SelectBlock(topLeft, bottomRight, addToSelected=False)
3805
+
3806
+ Selects a rectangular block of cells.
3807
+ """
3808
+
3809
+ def SelectCol(self, col, addToSelected=False):
3810
+ """
3811
+ SelectCol(col, addToSelected=False)
3812
+
3813
+ Selects the specified column.
3814
+ """
3815
+
3816
+ def SelectRow(self, row, addToSelected=False):
3817
+ """
3818
+ SelectRow(row, addToSelected=False)
3819
+
3820
+ Selects the specified row.
3821
+ """
3822
+
3823
+ def SetSelectionBackground(self, c):
3824
+ """
3825
+ SetSelectionBackground(c)
3826
+
3827
+ Set the colour to be used for drawing the selection background.
3828
+ """
3829
+
3830
+ def SetSelectionForeground(self, c):
3831
+ """
3832
+ SetSelectionForeground(c)
3833
+
3834
+ Set the colour to be used for drawing the selection foreground.
3835
+ """
3836
+
3837
+ def SetSelectionMode(self, selmode):
3838
+ """
3839
+ SetSelectionMode(selmode)
3840
+
3841
+ Set the selection behaviour of the grid.
3842
+ """
3843
+
3844
+ def GetScrollLineX(self):
3845
+ """
3846
+ GetScrollLineX() -> int
3847
+
3848
+ Returns the number of pixels per horizontal scroll increment.
3849
+ """
3850
+
3851
+ def GetScrollLineY(self):
3852
+ """
3853
+ GetScrollLineY() -> int
3854
+
3855
+ Returns the number of pixels per vertical scroll increment.
3856
+ """
3857
+
3858
+ def IsVisible(self, *args, **kw):
3859
+ """
3860
+ IsVisible(row, col, wholeCellVisible=True) -> bool
3861
+ IsVisible(coords, wholeCellVisible=True) -> bool
3862
+
3863
+ Returns true if a cell is either entirely or at least partially
3864
+ visible in the grid window.
3865
+ """
3866
+
3867
+ def MakeCellVisible(self, *args, **kw):
3868
+ """
3869
+ MakeCellVisible(row, col)
3870
+ MakeCellVisible(coords)
3871
+
3872
+ Brings the specified cell into the visible grid cell area with minimal
3873
+ scrolling.
3874
+ """
3875
+
3876
+ def GetFirstFullyVisibleRow(self):
3877
+ """
3878
+ GetFirstFullyVisibleRow() -> int
3879
+
3880
+ Returns the topmost row of the current visible area.
3881
+ """
3882
+
3883
+ def GetFirstFullyVisibleColumn(self):
3884
+ """
3885
+ GetFirstFullyVisibleColumn() -> int
3886
+
3887
+ Returns the leftmost column of the current visible area.
3888
+ """
3889
+
3890
+ def SetScrollLineX(self, x):
3891
+ """
3892
+ SetScrollLineX(x)
3893
+
3894
+ Sets the number of pixels per horizontal scroll increment.
3895
+ """
3896
+
3897
+ def SetScrollLineY(self, y):
3898
+ """
3899
+ SetScrollLineY(y)
3900
+
3901
+ Sets the number of pixels per vertical scroll increment.
3902
+ """
3903
+
3904
+ def BlockToDeviceRect(self, topLeft, bottomRight, gridWindow=None):
3905
+ """
3906
+ BlockToDeviceRect(topLeft, bottomRight, gridWindow=None) -> wx.Rect
3907
+
3908
+ Convert grid cell coordinates to grid window pixel coordinates.
3909
+ """
3910
+
3911
+ def CellToRect(self, *args, **kw):
3912
+ """
3913
+ CellToRect(row, col) -> wx.Rect
3914
+ CellToRect(coords) -> wx.Rect
3915
+
3916
+ Return the rectangle corresponding to the grid cell's size and
3917
+ position in logical coordinates.
3918
+ """
3919
+
3920
+ def CellToGridWindow(self, *args, **kw):
3921
+ """
3922
+ CellToGridWindow(row, col) -> GridWindow
3923
+ CellToGridWindow(coords) -> GridWindow
3924
+
3925
+ Returns the grid window that contains the cell.
3926
+ """
3927
+
3928
+ def DevicePosToGridWindow(self, *args, **kw):
3929
+ """
3930
+ DevicePosToGridWindow(pos) -> GridWindow
3931
+ DevicePosToGridWindow(x, y) -> GridWindow
3932
+
3933
+ Returns the grid window that includes the input coordinates.
3934
+ """
3935
+
3936
+ def GetGridWindowOffset(self, gridWindow):
3937
+ """
3938
+ GetGridWindowOffset(gridWindow) -> wx.Point
3939
+ """
3940
+
3941
+ def CalcGridWindowUnscrolledPosition(self, *args, **kw):
3942
+ """
3943
+ CalcGridWindowUnscrolledPosition(x, y, xx, yy, gridWindow)
3944
+ CalcGridWindowUnscrolledPosition(pt, gridWindow) -> wx.Point
3945
+
3946
+ Translates the device coordinates to the logical ones, taking into
3947
+ account the grid window type.
3948
+ """
3949
+
3950
+ def CalcGridWindowScrolledPosition(self, *args, **kw):
3951
+ """
3952
+ CalcGridWindowScrolledPosition(x, y, xx, yy, gridWindow)
3953
+ CalcGridWindowScrolledPosition(pt, gridWindow) -> wx.Point
3954
+
3955
+ Translates the logical coordinates to the device ones, taking into
3956
+ account the grid window type.
3957
+ """
3958
+
3959
+ def XToCol(self, x, clipToMinMax=False, gridWindow=None):
3960
+ """
3961
+ XToCol(x, clipToMinMax=False, gridWindow=None) -> int
3962
+
3963
+ Returns the column at the given pixel position depending on the
3964
+ window.
3965
+ """
3966
+
3967
+ def XToEdgeOfCol(self, x):
3968
+ """
3969
+ XToEdgeOfCol(x) -> int
3970
+
3971
+ Returns the column whose right hand edge is close to the given logical
3972
+ x position.
3973
+ """
3974
+
3975
+ def XYToCell(self, *args, **kw):
3976
+ """
3977
+ XYToCell(x, y, gridWindow=None) -> GridCellCoords
3978
+ XYToCell(pos, gridWindow=None) -> GridCellCoords
3979
+
3980
+ Translates logical pixel coordinates to the grid cell coordinates.
3981
+ """
3982
+
3983
+ def YToEdgeOfRow(self, y):
3984
+ """
3985
+ YToEdgeOfRow(y) -> int
3986
+
3987
+ Returns the row whose bottom edge is close to the given logical y
3988
+ position.
3989
+ """
3990
+
3991
+ def YToRow(self, y, clipToMinMax=False, gridWindow=None):
3992
+ """
3993
+ YToRow(y, clipToMinMax=False, gridWindow=None) -> int
3994
+
3995
+ Returns the grid row that corresponds to the logical y coordinate.
3996
+ """
3997
+
3998
+ def AppendCols(self, numCols=1, updateLabels=True):
3999
+ """
4000
+ AppendCols(numCols=1, updateLabels=True) -> bool
4001
+
4002
+ Appends one or more new columns to the right of the grid.
4003
+ """
4004
+
4005
+ def AppendRows(self, numRows=1, updateLabels=True):
4006
+ """
4007
+ AppendRows(numRows=1, updateLabels=True) -> bool
4008
+
4009
+ Appends one or more new rows to the bottom of the grid.
4010
+ """
4011
+
4012
+ def AreHorzGridLinesClipped(self):
4013
+ """
4014
+ AreHorzGridLinesClipped() -> bool
4015
+
4016
+ Return true if the horizontal grid lines stop at the last column
4017
+ boundary or false if they continue to the end of the window.
4018
+ """
4019
+
4020
+ def AreVertGridLinesClipped(self):
4021
+ """
4022
+ AreVertGridLinesClipped() -> bool
4023
+
4024
+ Return true if the vertical grid lines stop at the last row boundary
4025
+ or false if they continue to the end of the window.
4026
+ """
4027
+
4028
+ def BeginBatch(self):
4029
+ """
4030
+ BeginBatch()
4031
+
4032
+ Increments the grid's batch count.
4033
+ """
4034
+
4035
+ def ClearGrid(self):
4036
+ """
4037
+ ClearGrid()
4038
+
4039
+ Clears all data in the underlying grid table and repaints the grid.
4040
+ """
4041
+
4042
+ def ClipHorzGridLines(self, clip):
4043
+ """
4044
+ ClipHorzGridLines(clip)
4045
+
4046
+ Change whether the horizontal grid lines are clipped by the end of the
4047
+ last column.
4048
+ """
4049
+
4050
+ def ClipVertGridLines(self, clip):
4051
+ """
4052
+ ClipVertGridLines(clip)
4053
+
4054
+ Change whether the vertical grid lines are clipped by the end of the
4055
+ last row.
4056
+ """
4057
+
4058
+ def DeleteCols(self, pos=0, numCols=1, updateLabels=True):
4059
+ """
4060
+ DeleteCols(pos=0, numCols=1, updateLabels=True) -> bool
4061
+
4062
+ Deletes one or more columns from a grid starting at the specified
4063
+ position.
4064
+ """
4065
+
4066
+ def DeleteRows(self, pos=0, numRows=1, updateLabels=True):
4067
+ """
4068
+ DeleteRows(pos=0, numRows=1, updateLabels=True) -> bool
4069
+
4070
+ Deletes one or more rows from a grid starting at the specified
4071
+ position.
4072
+ """
4073
+
4074
+ def FreezeTo(self, *args, **kw):
4075
+ """
4076
+ FreezeTo(row, col) -> bool
4077
+ FreezeTo(coords) -> bool
4078
+
4079
+ Sets or resets the frozen columns and rows.
4080
+ """
4081
+
4082
+ def EndBatch(self):
4083
+ """
4084
+ EndBatch()
4085
+
4086
+ Decrements the grid's batch count.
4087
+ """
4088
+
4089
+ def Fit(self):
4090
+ """
4091
+ Fit()
4092
+
4093
+ Overridden wxWindow method.
4094
+ """
4095
+
4096
+ def ForceRefresh(self):
4097
+ """
4098
+ ForceRefresh()
4099
+
4100
+ Causes immediate repainting of the grid.
4101
+ """
4102
+
4103
+ def GetBatchCount(self):
4104
+ """
4105
+ GetBatchCount() -> int
4106
+
4107
+ Returns the number of times that BeginBatch() has been called without
4108
+ (yet) matching calls to EndBatch().
4109
+ """
4110
+
4111
+ def GetNumberCols(self):
4112
+ """
4113
+ GetNumberCols() -> int
4114
+
4115
+ Returns the total number of grid columns.
4116
+ """
4117
+
4118
+ def GetNumberRows(self):
4119
+ """
4120
+ GetNumberRows() -> int
4121
+
4122
+ Returns the total number of grid rows.
4123
+ """
4124
+
4125
+ def GetNumberFrozenCols(self):
4126
+ """
4127
+ GetNumberFrozenCols() -> int
4128
+
4129
+ Returns the number of frozen grid columns.
4130
+ """
4131
+
4132
+ def GetNumberFrozenRows(self):
4133
+ """
4134
+ GetNumberFrozenRows() -> int
4135
+
4136
+ Returns the number of frozen grid rows.
4137
+ """
4138
+
4139
+ def GetOrCreateCellAttr(self, row, col):
4140
+ """
4141
+ GetOrCreateCellAttr(row, col) -> GridCellAttr
4142
+
4143
+ Returns the attribute for the given cell creating one if necessary.
4144
+ """
4145
+
4146
+ def GetOrCreateCellAttrPtr(self, row, col):
4147
+ """
4148
+ GetOrCreateCellAttrPtr(row, col) -> GridCellAttrPtr
4149
+
4150
+ Returns the attribute for the given cell creating one if necessary.
4151
+ """
4152
+
4153
+ def GetTable(self):
4154
+ """
4155
+ GetTable() -> GridTableBase
4156
+
4157
+ Returns a base pointer to the current table object.
4158
+ """
4159
+
4160
+ def InsertCols(self, pos=0, numCols=1, updateLabels=True):
4161
+ """
4162
+ InsertCols(pos=0, numCols=1, updateLabels=True) -> bool
4163
+
4164
+ Inserts one or more new columns into a grid with the first new column
4165
+ at the specified position.
4166
+ """
4167
+
4168
+ def InsertRows(self, pos=0, numRows=1, updateLabels=True):
4169
+ """
4170
+ InsertRows(pos=0, numRows=1, updateLabels=True) -> bool
4171
+
4172
+ Inserts one or more new rows into a grid with the first new row at the
4173
+ specified position.
4174
+ """
4175
+
4176
+ def RefreshAttr(self, row, col):
4177
+ """
4178
+ RefreshAttr(row, col)
4179
+
4180
+ Invalidates the cached attribute for the given cell.
4181
+ """
4182
+
4183
+ def Render(self, dc, pos=wx.DefaultPosition, size=wx.DefaultSize, topLeft=GridCellCoords(-1,-1), bottomRight=GridCellCoords(-1,-1), style=GRID_DRAW_DEFAULT):
4184
+ """
4185
+ Render(dc, pos=wx.DefaultPosition, size=wx.DefaultSize, topLeft=GridCellCoords(-1,-1), bottomRight=GridCellCoords(-1,-1), style=GRID_DRAW_DEFAULT)
4186
+
4187
+ Draws part or all of a wxGrid on a wxDC for printing or display.
4188
+ """
4189
+
4190
+ def SetAttr(self, row, col, attr):
4191
+ """
4192
+ SetAttr(row, col, attr)
4193
+
4194
+ Sets the cell attributes for the specified cell.
4195
+ """
4196
+
4197
+ def SetColAttr(self, col, attr):
4198
+ """
4199
+ SetColAttr(col, attr)
4200
+
4201
+ Sets the cell attributes for all cells in the specified column.
4202
+ """
4203
+
4204
+ def SetMargins(self, extraWidth, extraHeight):
4205
+ """
4206
+ SetMargins(extraWidth, extraHeight)
4207
+
4208
+ Sets the extra margins used around the grid area.
4209
+ """
4210
+
4211
+ def SetRowAttr(self, row, attr):
4212
+ """
4213
+ SetRowAttr(row, attr)
4214
+
4215
+ Sets the cell attributes for all cells in the specified row.
4216
+ """
4217
+
4218
+ def CalcRowLabelsExposed(self, reg, gridWindow=None):
4219
+ """
4220
+ CalcRowLabelsExposed(reg, gridWindow=None) -> ArrayInt
4221
+
4222
+ Appends one or more new columns to the right of the grid.
4223
+ """
4224
+
4225
+ def CalcColLabelsExposed(self, reg, gridWindow=None):
4226
+ """
4227
+ CalcColLabelsExposed(reg, gridWindow=None) -> ArrayInt
4228
+
4229
+ Appends one or more new columns to the right of the grid.
4230
+ """
4231
+
4232
+ def CalcCellsExposed(self, reg, gridWindow=None):
4233
+ """
4234
+ CalcCellsExposed(reg, gridWindow=None) -> GridCellCoordsArray
4235
+
4236
+ Appends one or more new columns to the right of the grid.
4237
+ """
4238
+
4239
+ def GetSortingColumn(self):
4240
+ """
4241
+ GetSortingColumn() -> int
4242
+
4243
+ Return the column in which the sorting indicator is currently
4244
+ displayed.
4245
+ """
4246
+
4247
+ def IsSortingBy(self, col):
4248
+ """
4249
+ IsSortingBy(col) -> bool
4250
+
4251
+ Return true if this column is currently used for sorting.
4252
+ """
4253
+
4254
+ def IsSortOrderAscending(self):
4255
+ """
4256
+ IsSortOrderAscending() -> bool
4257
+
4258
+ Return true if the current sorting order is ascending or false if it
4259
+ is descending.
4260
+ """
4261
+
4262
+ def SetSortingColumn(self, col, ascending=True):
4263
+ """
4264
+ SetSortingColumn(col, ascending=True)
4265
+
4266
+ Set the column to display the sorting indicator in and its direction.
4267
+ """
4268
+
4269
+ def UnsetSortingColumn(self):
4270
+ """
4271
+ UnsetSortingColumn()
4272
+
4273
+ Remove any currently shown sorting indicator.
4274
+ """
4275
+
4276
+ def GetGridWindow(self):
4277
+ """
4278
+ GetGridWindow() -> wx.Window
4279
+
4280
+ Return the main grid window containing the grid cells.
4281
+ """
4282
+
4283
+ def GetFrozenCornerGridWindow(self):
4284
+ """
4285
+ GetFrozenCornerGridWindow() -> wx.Window
4286
+
4287
+ Return the corner grid window containing frozen cells.
4288
+ """
4289
+
4290
+ def GetFrozenRowGridWindow(self):
4291
+ """
4292
+ GetFrozenRowGridWindow() -> wx.Window
4293
+
4294
+ Return the rows grid window containing row frozen cells.
4295
+ """
4296
+
4297
+ def GetFrozenColGridWindow(self):
4298
+ """
4299
+ GetFrozenColGridWindow() -> wx.Window
4300
+
4301
+ Return the columns grid window containing column frozen cells.
4302
+ """
4303
+
4304
+ def GetGridRowLabelWindow(self):
4305
+ """
4306
+ GetGridRowLabelWindow() -> wx.Window
4307
+
4308
+ Return the row labels window.
4309
+ """
4310
+
4311
+ def GetGridColLabelWindow(self):
4312
+ """
4313
+ GetGridColLabelWindow() -> wx.Window
4314
+
4315
+ Return the column labels window.
4316
+ """
4317
+
4318
+ def GetGridCornerLabelWindow(self):
4319
+ """
4320
+ GetGridCornerLabelWindow() -> wx.Window
4321
+
4322
+ Return the window in the top left grid corner.
4323
+ """
4324
+
4325
+ def GetGridColHeader(self):
4326
+ """
4327
+ GetGridColHeader() -> wx.HeaderCtrl
4328
+
4329
+ Return the header control used for column labels display.
4330
+ """
4331
+
4332
+ def IsUsingNativeHeader(self):
4333
+ """
4334
+ IsUsingNativeHeader() -> bool
4335
+
4336
+ Return true if native header control is currently being used.
4337
+ """
4338
+
4339
+ def DrawCellHighlight(self, dc, attr):
4340
+ """
4341
+ DrawCellHighlight(dc, attr)
4342
+ """
4343
+
4344
+ def DrawRowLabels(self, dc, rows):
4345
+ """
4346
+ DrawRowLabels(dc, rows)
4347
+ """
4348
+
4349
+ def DrawRowLabel(self, dc, row):
4350
+ """
4351
+ DrawRowLabel(dc, row)
4352
+ """
4353
+
4354
+ def DrawColLabels(self, dc, cols):
4355
+ """
4356
+ DrawColLabels(dc, cols)
4357
+ """
4358
+
4359
+ def DrawColLabel(self, dc, col):
4360
+ """
4361
+ DrawColLabel(dc, col)
4362
+ """
4363
+
4364
+ def DrawCornerLabel(self, dc):
4365
+ """
4366
+ DrawCornerLabel(dc)
4367
+ """
4368
+
4369
+ def DrawTextRectangle(self, *args, **kw):
4370
+ """
4371
+ DrawTextRectangle(dc, text, rect, horizontalAlignment=wx.ALIGN_LEFT, verticalAlignment=wx.ALIGN_TOP, textOrientation=wx.HORIZONTAL)
4372
+ DrawTextRectangle(dc, lines, rect, horizontalAlignment=wx.ALIGN_LEFT, verticalAlignment=wx.ALIGN_TOP, textOrientation=wx.HORIZONTAL)
4373
+ """
4374
+
4375
+ def GetCellHighlightColour(self):
4376
+ """
4377
+ GetCellHighlightColour() -> wx.Colour
4378
+ """
4379
+
4380
+ def GetCellHighlightPenWidth(self):
4381
+ """
4382
+ GetCellHighlightPenWidth() -> int
4383
+ """
4384
+
4385
+ def GetCellHighlightROPenWidth(self):
4386
+ """
4387
+ GetCellHighlightROPenWidth() -> int
4388
+ """
4389
+
4390
+ def SetCellHighlightColour(self):
4391
+ """
4392
+ SetCellHighlightColour()
4393
+ """
4394
+
4395
+ def SetCellHighlightPenWidth(self, width):
4396
+ """
4397
+ SetCellHighlightPenWidth(width)
4398
+ """
4399
+
4400
+ def SetCellHighlightROPenWidth(self, width):
4401
+ """
4402
+ SetCellHighlightROPenWidth(width)
4403
+ """
4404
+
4405
+ def SetGridFrozenBorderColour(self):
4406
+ """
4407
+ SetGridFrozenBorderColour()
4408
+ """
4409
+
4410
+ def SetGridFrozenBorderPenWidth(self, width):
4411
+ """
4412
+ SetGridFrozenBorderPenWidth(width)
4413
+ """
4414
+
4415
+ @staticmethod
4416
+ def GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL):
4417
+ """
4418
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
4419
+ """
4420
+
4421
+ def SetTable(self, table, takeOwnership=False, selmode=GridSelectCells):
4422
+ """
4423
+ Set the Grid Table to be used by this grid.
4424
+ """
4425
+
4426
+ SelectCells = GridSelectCells
4427
+ SelectRows = GridSelectRows
4428
+ SelectColumns = GridSelectColumns
4429
+ SelectRowsOrColumns = GridSelectRowsOrColumns
4430
+ BatchCount = property(None, None)
4431
+ CellHighlightColour = property(None, None)
4432
+ CellHighlightPenWidth = property(None, None)
4433
+ CellHighlightROPenWidth = property(None, None)
4434
+ ColLabelSize = property(None, None)
4435
+ ColLabelTextOrientation = property(None, None)
4436
+ ColMinimalAcceptableWidth = property(None, None)
4437
+ ColSizes = property(None, None)
4438
+ CornerLabelTextOrientation = property(None, None)
4439
+ CornerLabelValue = property(None, None)
4440
+ DefaultCellBackgroundColour = property(None, None)
4441
+ DefaultCellFitMode = property(None, None)
4442
+ DefaultCellFont = property(None, None)
4443
+ DefaultCellOverflow = property(None, None)
4444
+ DefaultCellTextColour = property(None, None)
4445
+ DefaultColLabelSize = property(None, None)
4446
+ DefaultColSize = property(None, None)
4447
+ DefaultEditor = property(None, None)
4448
+ DefaultGridLinePen = property(None, None)
4449
+ DefaultRenderer = property(None, None)
4450
+ DefaultRowLabelSize = property(None, None)
4451
+ DefaultRowSize = property(None, None)
4452
+ FirstFullyVisibleColumn = property(None, None)
4453
+ FirstFullyVisibleRow = property(None, None)
4454
+ FrozenColGridWindow = property(None, None)
4455
+ FrozenCornerGridWindow = property(None, None)
4456
+ FrozenRowGridWindow = property(None, None)
4457
+ GridColHeader = property(None, None)
4458
+ GridColLabelWindow = property(None, None)
4459
+ GridCornerLabelWindow = property(None, None)
4460
+ GridCursorCol = property(None, None)
4461
+ GridCursorCoords = property(None, None)
4462
+ GridCursorRow = property(None, None)
4463
+ GridLineColour = property(None, None)
4464
+ GridRowLabelWindow = property(None, None)
4465
+ GridWindow = property(None, None)
4466
+ LabelBackgroundColour = property(None, None)
4467
+ LabelFont = property(None, None)
4468
+ LabelTextColour = property(None, None)
4469
+ NumberCols = property(None, None)
4470
+ NumberFrozenCols = property(None, None)
4471
+ NumberFrozenRows = property(None, None)
4472
+ NumberRows = property(None, None)
4473
+ RowLabelSize = property(None, None)
4474
+ RowMinimalAcceptableHeight = property(None, None)
4475
+ RowSizes = property(None, None)
4476
+ ScrollLineX = property(None, None)
4477
+ ScrollLineY = property(None, None)
4478
+ SelectedBlocks = property(None, None)
4479
+ SelectedCells = property(None, None)
4480
+ SelectedColBlocks = property(None, None)
4481
+ SelectedCols = property(None, None)
4482
+ SelectedRowBlocks = property(None, None)
4483
+ SelectedRows = property(None, None)
4484
+ SelectionBackground = property(None, None)
4485
+ SelectionBlockBottomRight = property(None, None)
4486
+ SelectionBlockTopLeft = property(None, None)
4487
+ SelectionForeground = property(None, None)
4488
+ SelectionMode = property(None, None)
4489
+ SortingColumn = property(None, None)
4490
+ Table = property(None, None)
4491
+
4492
+ def CanHaveAttributes(self):
4493
+ """
4494
+ CanHaveAttributes() -> bool
4495
+
4496
+ Returns true if this grid has support for cell attributes.
4497
+ """
4498
+
4499
+ def GetColMinimalWidth(self, col):
4500
+ """
4501
+ GetColMinimalWidth(col) -> int
4502
+
4503
+ Get the minimal width of the given column/row.
4504
+ """
4505
+
4506
+ def GetColRight(self, col):
4507
+ """
4508
+ GetColRight(col) -> int
4509
+
4510
+ Returns the coordinate of the right border specified column.
4511
+ """
4512
+
4513
+ def GetColLeft(self, col):
4514
+ """
4515
+ GetColLeft(col) -> int
4516
+
4517
+ Returns the coordinate of the left border specified column.
4518
+ """
4519
+
4520
+ def GetRowMinimalHeight(self, col):
4521
+ """
4522
+ GetRowMinimalHeight(col) -> int
4523
+
4524
+ Returns the minimal size for the given column.
4525
+ """
4526
+ # end of class Grid
4527
+
4528
+
4529
+ class GridUpdateLocker(object):
4530
+ """
4531
+ GridUpdateLocker(grid=None)
4532
+
4533
+ This small class can be used to prevent wxGrid from redrawing during
4534
+ its lifetime by calling wxGrid::BeginBatch() in its constructor and
4535
+ wxGrid::EndBatch() in its destructor.
4536
+ """
4537
+
4538
+ def __init__(self, grid=None):
4539
+ """
4540
+ GridUpdateLocker(grid=None)
4541
+
4542
+ This small class can be used to prevent wxGrid from redrawing during
4543
+ its lifetime by calling wxGrid::BeginBatch() in its constructor and
4544
+ wxGrid::EndBatch() in its destructor.
4545
+ """
4546
+
4547
+ def Create(self, grid):
4548
+ """
4549
+ Create(grid)
4550
+
4551
+ This method can be called if the object had been constructed using the
4552
+ default constructor.
4553
+ """
4554
+
4555
+ def __enter__(self):
4556
+ """
4557
+
4558
+ """
4559
+
4560
+ def __exit__(self, exc_type, exc_val, exc_tb):
4561
+ """
4562
+
4563
+ """
4564
+ # end of class GridUpdateLocker
4565
+
4566
+
4567
+ class GridEvent(wx.NotifyEvent):
4568
+ """
4569
+ GridEvent()
4570
+ GridEvent(id, type, obj, row=-1, col=-1, x=-1, y=-1, sel=True, kbd=wx.KeyboardState())
4571
+
4572
+ This event class contains information about various grid events.
4573
+ """
4574
+
4575
+ def __init__(self, *args, **kw):
4576
+ """
4577
+ GridEvent()
4578
+ GridEvent(id, type, obj, row=-1, col=-1, x=-1, y=-1, sel=True, kbd=wx.KeyboardState())
4579
+
4580
+ This event class contains information about various grid events.
4581
+ """
4582
+
4583
+ def AltDown(self):
4584
+ """
4585
+ AltDown() -> bool
4586
+
4587
+ Returns true if the Alt key was down at the time of the event.
4588
+ """
4589
+
4590
+ def ControlDown(self):
4591
+ """
4592
+ ControlDown() -> bool
4593
+
4594
+ Returns true if the Control key was down at the time of the event.
4595
+ """
4596
+
4597
+ def GetCol(self):
4598
+ """
4599
+ GetCol() -> int
4600
+
4601
+ Column at which the event occurred.
4602
+ """
4603
+
4604
+ def GetPosition(self):
4605
+ """
4606
+ GetPosition() -> wx.Point
4607
+
4608
+ Position in pixels at which the event occurred.
4609
+ """
4610
+
4611
+ def GetRow(self):
4612
+ """
4613
+ GetRow() -> int
4614
+
4615
+ Row at which the event occurred.
4616
+ """
4617
+
4618
+ def MetaDown(self):
4619
+ """
4620
+ MetaDown() -> bool
4621
+
4622
+ Returns true if the Meta key was down at the time of the event.
4623
+ """
4624
+
4625
+ def Selecting(self):
4626
+ """
4627
+ Selecting() -> bool
4628
+
4629
+ Returns true if the user is selecting grid cells, or false if
4630
+ deselecting.
4631
+ """
4632
+
4633
+ def ShiftDown(self):
4634
+ """
4635
+ ShiftDown() -> bool
4636
+
4637
+ Returns true if the Shift key was down at the time of the event.
4638
+ """
4639
+ Col = property(None, None)
4640
+ Position = property(None, None)
4641
+ Row = property(None, None)
4642
+ # end of class GridEvent
4643
+
4644
+
4645
+ class GridSizeEvent(wx.NotifyEvent):
4646
+ """
4647
+ GridSizeEvent()
4648
+ GridSizeEvent(id, type, obj, rowOrCol=-1, x=-1, y=-1, kbd=wx.KeyboardState())
4649
+
4650
+ This event class contains information about a row/column resize event.
4651
+ """
4652
+
4653
+ def __init__(self, *args, **kw):
4654
+ """
4655
+ GridSizeEvent()
4656
+ GridSizeEvent(id, type, obj, rowOrCol=-1, x=-1, y=-1, kbd=wx.KeyboardState())
4657
+
4658
+ This event class contains information about a row/column resize event.
4659
+ """
4660
+
4661
+ def AltDown(self):
4662
+ """
4663
+ AltDown() -> bool
4664
+
4665
+ Returns true if the Alt key was down at the time of the event.
4666
+ """
4667
+
4668
+ def ControlDown(self):
4669
+ """
4670
+ ControlDown() -> bool
4671
+
4672
+ Returns true if the Control key was down at the time of the event.
4673
+ """
4674
+
4675
+ def GetPosition(self):
4676
+ """
4677
+ GetPosition() -> wx.Point
4678
+
4679
+ Position in pixels at which the event occurred.
4680
+ """
4681
+
4682
+ def GetRowOrCol(self):
4683
+ """
4684
+ GetRowOrCol() -> int
4685
+
4686
+ Row or column at that was resized.
4687
+ """
4688
+
4689
+ def MetaDown(self):
4690
+ """
4691
+ MetaDown() -> bool
4692
+
4693
+ Returns true if the Meta key was down at the time of the event.
4694
+ """
4695
+
4696
+ def ShiftDown(self):
4697
+ """
4698
+ ShiftDown() -> bool
4699
+
4700
+ Returns true if the Shift key was down at the time of the event.
4701
+ """
4702
+ Position = property(None, None)
4703
+ RowOrCol = property(None, None)
4704
+ # end of class GridSizeEvent
4705
+
4706
+
4707
+ class GridRangeSelectEvent(wx.NotifyEvent):
4708
+ """
4709
+ GridRangeSelectEvent()
4710
+ GridRangeSelectEvent(id, type, obj, topLeft, bottomRight, sel=True, kbd=wx.KeyboardState())
4711
+
4712
+ Events of this class notify about a range of cells being selected.
4713
+ """
4714
+
4715
+ def __init__(self, *args, **kw):
4716
+ """
4717
+ GridRangeSelectEvent()
4718
+ GridRangeSelectEvent(id, type, obj, topLeft, bottomRight, sel=True, kbd=wx.KeyboardState())
4719
+
4720
+ Events of this class notify about a range of cells being selected.
4721
+ """
4722
+
4723
+ def AltDown(self):
4724
+ """
4725
+ AltDown() -> bool
4726
+
4727
+ Returns true if the Alt key was down at the time of the event.
4728
+ """
4729
+
4730
+ def ControlDown(self):
4731
+ """
4732
+ ControlDown() -> bool
4733
+
4734
+ Returns true if the Control key was down at the time of the event.
4735
+ """
4736
+
4737
+ def GetBottomRightCoords(self):
4738
+ """
4739
+ GetBottomRightCoords() -> GridCellCoords
4740
+
4741
+ Top left corner of the rectangular area that was (de)selected.
4742
+ """
4743
+
4744
+ def GetBottomRow(self):
4745
+ """
4746
+ GetBottomRow() -> int
4747
+
4748
+ Bottom row of the rectangular area that was (de)selected.
4749
+ """
4750
+
4751
+ def GetLeftCol(self):
4752
+ """
4753
+ GetLeftCol() -> int
4754
+
4755
+ Left column of the rectangular area that was (de)selected.
4756
+ """
4757
+
4758
+ def GetRightCol(self):
4759
+ """
4760
+ GetRightCol() -> int
4761
+
4762
+ Right column of the rectangular area that was (de)selected.
4763
+ """
4764
+
4765
+ def GetTopLeftCoords(self):
4766
+ """
4767
+ GetTopLeftCoords() -> GridCellCoords
4768
+
4769
+ Top left corner of the rectangular area that was (de)selected.
4770
+ """
4771
+
4772
+ def GetTopRow(self):
4773
+ """
4774
+ GetTopRow() -> int
4775
+
4776
+ Top row of the rectangular area that was (de)selected.
4777
+ """
4778
+
4779
+ def MetaDown(self):
4780
+ """
4781
+ MetaDown() -> bool
4782
+
4783
+ Returns true if the Meta key was down at the time of the event.
4784
+ """
4785
+
4786
+ def Selecting(self):
4787
+ """
4788
+ Selecting() -> bool
4789
+
4790
+ Returns true if the area was selected, false otherwise.
4791
+ """
4792
+
4793
+ def ShiftDown(self):
4794
+ """
4795
+ ShiftDown() -> bool
4796
+
4797
+ Returns true if the Shift key was down at the time of the event.
4798
+ """
4799
+ BottomRightCoords = property(None, None)
4800
+ BottomRow = property(None, None)
4801
+ LeftCol = property(None, None)
4802
+ RightCol = property(None, None)
4803
+ TopLeftCoords = property(None, None)
4804
+ TopRow = property(None, None)
4805
+ # end of class GridRangeSelectEvent
4806
+
4807
+
4808
+ class GridEditorCreatedEvent(wx.CommandEvent):
4809
+ """
4810
+ GridEditorCreatedEvent()
4811
+ GridEditorCreatedEvent(id, type, obj, row, col, ctrl)
4812
+ """
4813
+
4814
+ def __init__(self, *args, **kw):
4815
+ """
4816
+ GridEditorCreatedEvent()
4817
+ GridEditorCreatedEvent(id, type, obj, row, col, ctrl)
4818
+ """
4819
+
4820
+ def GetCol(self):
4821
+ """
4822
+ GetCol() -> int
4823
+
4824
+ Returns the column at which the event occurred.
4825
+ """
4826
+
4827
+ def GetControl(self):
4828
+ """
4829
+ GetControl() -> wx.Control
4830
+
4831
+ Returns the edit control.
4832
+ """
4833
+
4834
+ def GetRow(self):
4835
+ """
4836
+ GetRow() -> int
4837
+
4838
+ Returns the row at which the event occurred.
4839
+ """
4840
+
4841
+ def GetWindow(self):
4842
+ """
4843
+ GetWindow() -> wx.Window
4844
+
4845
+ Returns the edit window.
4846
+ """
4847
+
4848
+ def SetCol(self, col):
4849
+ """
4850
+ SetCol(col)
4851
+
4852
+ Sets the column at which the event occurred.
4853
+ """
4854
+
4855
+ def SetControl(self, ctrl):
4856
+ """
4857
+ SetControl(ctrl)
4858
+
4859
+ Sets the edit control.
4860
+ """
4861
+
4862
+ def SetRow(self, row):
4863
+ """
4864
+ SetRow(row)
4865
+
4866
+ Sets the row at which the event occurred.
4867
+ """
4868
+
4869
+ def SetWindow(self, window):
4870
+ """
4871
+ SetWindow(window)
4872
+
4873
+ Sets the edit window.
4874
+ """
4875
+ Col = property(None, None)
4876
+ Control = property(None, None)
4877
+ Row = property(None, None)
4878
+ Window = property(None, None)
4879
+ # end of class GridEditorCreatedEvent
4880
+
4881
+
4882
+ GRID_VALUE_STRING = "string"
4883
+ GRID_VALUE_BOOL = "bool"
4884
+ GRID_VALUE_NUMBER = "long"
4885
+ GRID_VALUE_FLOAT = "double"
4886
+ GRID_VALUE_CHOICE = "choice"
4887
+ GRID_VALUE_DATE = "date"
4888
+ GRID_VALUE_TEXT = "string"
4889
+ GRID_VALUE_LONG = "long"
4890
+ GRID_VALUE_CHOICEINT = "choiceint"
4891
+ GRID_VALUE_DATETIME = "datetime"
4892
+
4893
+ GRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000
4894
+ GRIDTABLE_REQUEST_VIEW_SEND_VALUES = 2001
4895
+
4896
+ from collections import namedtuple
4897
+ _im_GridCellCoords = namedtuple('_im_GridCellCoords', ['Row', 'Col'])
4898
+ del namedtuple
4899
+
4900
+ PyGridCellRenderer = wx.deprecated(GridCellRenderer, 'Use GridCellRenderer instead.')
4901
+
4902
+ PyGridCellEditor = wx.deprecated(GridCellEditor, 'Use GridCellEditor instead.')
4903
+
4904
+ PyGridCellAttrProvider = wx.deprecated(GridCellAttrProvider, 'Use GridCellAttrProvider instead.')
4905
+
4906
+ PyGridTableBase = wx.deprecated(GridTableBase, 'Use GridTableBase instead.')
4907
+
4908
+ EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK )
4909
+ EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK )
4910
+ EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK )
4911
+ EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK )
4912
+ EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK )
4913
+ EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK )
4914
+ EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK )
4915
+ EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK )
4916
+ EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE )
4917
+ EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE )
4918
+ EVT_GRID_RANGE_SELECTING = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECTING )
4919
+ EVT_GRID_RANGE_SELECTED = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECTED )
4920
+ EVT_GRID_CELL_CHANGING = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGING )
4921
+ EVT_GRID_CELL_CHANGED = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGED )
4922
+ EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
4923
+ EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
4924
+ EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
4925
+ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
4926
+ EVT_GRID_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG )
4927
+ EVT_GRID_COL_MOVE = wx.PyEventBinder( wxEVT_GRID_COL_MOVE )
4928
+ EVT_GRID_COL_SORT = wx.PyEventBinder( wxEVT_GRID_COL_SORT )
4929
+ EVT_GRID_TABBING = wx.PyEventBinder( wxEVT_GRID_TABBING )
4930
+
4931
+ # The same as above but with the ability to specify an identifier
4932
+ EVT_GRID_CMD_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK, 1 )
4933
+ EVT_GRID_CMD_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK, 1 )
4934
+ EVT_GRID_CMD_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK, 1 )
4935
+ EVT_GRID_CMD_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK, 1 )
4936
+ EVT_GRID_CMD_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK, 1 )
4937
+ EVT_GRID_CMD_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK, 1 )
4938
+ EVT_GRID_CMD_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK, 1 )
4939
+ EVT_GRID_CMD_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK, 1 )
4940
+ EVT_GRID_CMD_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE, 1 )
4941
+ EVT_GRID_CMD_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE, 1 )
4942
+ EVT_GRID_CMD_RANGE_SELECTING = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECTING, 1 )
4943
+ EVT_GRID_CMD_RANGE_SELECTED = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECTED, 1 )
4944
+ EVT_GRID_CMD_CELL_CHANGING = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGING, 1 )
4945
+ EVT_GRID_CMD_CELL_CHANGED = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGED, 1 )
4946
+ EVT_GRID_CMD_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL, 1 )
4947
+ EVT_GRID_CMD_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN, 1 )
4948
+ EVT_GRID_CMD_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN, 1 )
4949
+ EVT_GRID_CMD_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED, 1 )
4950
+ EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, 1 )
4951
+ EVT_GRID_CMD_COL_MOVE = wx.PyEventBinder( wxEVT_GRID_COL_MOVE, 1 )
4952
+ EVT_GRID_CMD_COL_SORT = wx.PyEventBinder( wxEVT_GRID_COL_SORT, 1 )
4953
+ EVT_GRID_CMD_TABBING = wx.PyEventBinder( wxEVT_GRID_TABBING, 1 )
4954
+
4955
+ # Just for compatibility, remove them in a future release
4956
+ EVT_GRID_RANGE_SELECT = EVT_GRID_RANGE_SELECTED
4957
+ EVT_GRID_CMD_RANGE_SELECT = EVT_GRID_CMD_RANGE_SELECTED
4958
+
4959
+ #-- end-grid --#