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.
- wx/__init__.py +22 -0
- wx/__version__.py +9 -0
- wx/_adv.cp313-win_amd64.pyd +0 -0
- wx/_aui.cp313-win_amd64.pyd +0 -0
- wx/_core.cp313-win_amd64.pyd +0 -0
- wx/_dataview.cp313-win_amd64.pyd +0 -0
- wx/_glcanvas.cp313-win_amd64.pyd +0 -0
- wx/_grid.cp313-win_amd64.pyd +0 -0
- wx/_html.cp313-win_amd64.pyd +0 -0
- wx/_html2.cp313-win_amd64.pyd +0 -0
- wx/_media.cp313-win_amd64.pyd +0 -0
- wx/_msw.cp313-win_amd64.pyd +0 -0
- wx/_propgrid.cp313-win_amd64.pyd +0 -0
- wx/_ribbon.cp313-win_amd64.pyd +0 -0
- wx/_richtext.cp313-win_amd64.pyd +0 -0
- wx/_stc.cp313-win_amd64.pyd +0 -0
- wx/_xml.cp313-win_amd64.pyd +0 -0
- wx/_xrc.cp313-win_amd64.pyd +0 -0
- wx/adv.py +124 -0
- wx/adv.pyi +5182 -0
- wx/aui.py +77 -0
- wx/aui.pyi +3655 -0
- wx/core.py +3540 -0
- wx/core.pyi +50592 -0
- wx/dataview.py +173 -0
- wx/dataview.pyi +3491 -0
- wx/demo/AUI_DockingWindowMgr.py +1154 -0
- wx/demo/AUI_MDI.py +117 -0
- wx/demo/AUI_Notebook.py +58 -0
- wx/demo/About.py +75 -0
- wx/demo/AboutBox.py +75 -0
- wx/demo/ActiveXWrapper_Acrobat.py +132 -0
- wx/demo/ActiveXWrapper_IE.py +187 -0
- wx/demo/ActiveX_FlashWindow.py +107 -0
- wx/demo/ActiveX_IEHtmlWindow.py +242 -0
- wx/demo/ActiveX_PDFWindow.py +204 -0
- wx/demo/ActivityIndicator.py +80 -0
- wx/demo/AddPrivateFont.py +116 -0
- wx/demo/AdjustChannels.py +178 -0
- wx/demo/AlphaDrawing.py +77 -0
- wx/demo/AnalogClock.py +144 -0
- wx/demo/AnimationCtrl.py +104 -0
- wx/demo/ArtProvider.py +893 -0
- wx/demo/BannerWindow.py +1 -0
- wx/demo/BitmapButton.py +87 -0
- wx/demo/BitmapComboBox.py +63 -0
- wx/demo/BitmapFromBuffer.py +140 -0
- wx/demo/Button.py +77 -0
- wx/demo/Cairo.py +197 -0
- wx/demo/Cairo_Snippets.py +135 -0
- wx/demo/Calendar.py +660 -0
- wx/demo/CalendarCtrl.py +122 -0
- wx/demo/CheckBox.py +74 -0
- wx/demo/CheckListBox.py +79 -0
- wx/demo/CheckListCtrl.py +99 -0
- wx/demo/Choice.py +55 -0
- wx/demo/Choicebook.py +80 -0
- wx/demo/CollapsibleHeaderCtrl.py +85 -0
- wx/demo/CollapsiblePane.py +126 -0
- wx/demo/ColorPanel.py +19 -0
- wx/demo/ColourDB.py +203 -0
- wx/demo/ColourDialog.py +76 -0
- wx/demo/ColourSelect.py +119 -0
- wx/demo/ComboBox.py +111 -0
- wx/demo/ComboCtrl.py +153 -0
- wx/demo/ComboTreeBox.py +71 -0
- wx/demo/CommandLinkButton.py +50 -0
- wx/demo/ContextHelp.py +112 -0
- wx/demo/Cursor.py +336 -0
- wx/demo/CustomDragAndDrop.py +353 -0
- wx/demo/DVC_CustomRenderer.py +204 -0
- wx/demo/DVC_DataViewModel.py +365 -0
- wx/demo/DVC_IndexListModel.py +257 -0
- wx/demo/DVC_ListCtrl.py +69 -0
- wx/demo/DVC_TreeCtrl.py +76 -0
- wx/demo/DatePickerCtrl.py +68 -0
- wx/demo/DelayedResult.py +239 -0
- wx/demo/Dialog.py +169 -0
- wx/demo/DialogUnits.py +128 -0
- wx/demo/DirDialog.py +58 -0
- wx/demo/DragAndDrop.py +265 -0
- wx/demo/DragImage.py +316 -0
- wx/demo/DragScroller.py +59 -0
- wx/demo/DrawXXXList.py +436 -0
- wx/demo/DynamicSashWindow.py +177 -0
- wx/demo/EditableListBox.py +101 -0
- wx/demo/Editor.py +70 -0
- wx/demo/EventManager.py +291 -0
- wx/demo/ExpandoTextCtrl.py +164 -0
- wx/demo/FancyText.py +83 -0
- wx/demo/FileBrowseButton.py +100 -0
- wx/demo/FileCtrl.py +97 -0
- wx/demo/FileDialog.py +144 -0
- wx/demo/FileHistory.py +140 -0
- wx/demo/FindReplaceDialog.py +123 -0
- wx/demo/FloatCanvas.py +1959 -0
- wx/demo/FontDialog.py +142 -0
- wx/demo/FontEnumerator.py +82 -0
- wx/demo/Frame.py +85 -0
- wx/demo/GLCanvas.py +371 -0
- wx/demo/Gauge.py +66 -0
- wx/demo/GenericButtons.py +185 -0
- wx/demo/GenericCheckBox.py +65 -0
- wx/demo/GenericDirCtrl.py +74 -0
- wx/demo/GetMouseState.py +159 -0
- wx/demo/GraphicsContext.py +236 -0
- wx/demo/GraphicsGradient.py +281 -0
- wx/demo/Grid.py +95 -0
- wx/demo/GridBagSizer.py +170 -0
- wx/demo/GridCustEditor.py +247 -0
- wx/demo/GridCustTable.py +170 -0
- wx/demo/GridDragAndDrop.py +102 -0
- wx/demo/GridDragable.py +206 -0
- wx/demo/GridEnterHandler.py +66 -0
- wx/demo/GridHugeTable.py +89 -0
- wx/demo/GridLabelRenderer.py +114 -0
- wx/demo/GridSimple.py +270 -0
- wx/demo/GridStdEdRend.py +186 -0
- wx/demo/Grid_MegaExample.py +490 -0
- wx/demo/HTML2_WebView.py +183 -0
- wx/demo/HtmlWindow.py +232 -0
- wx/demo/I18N.py +237 -0
- wx/demo/Image.py +338 -0
- wx/demo/ImageAlpha.py +87 -0
- wx/demo/ImageBrowser.py +70 -0
- wx/demo/ImageFromStream.py +49 -0
- wx/demo/Img2PyArtProvider.py +99 -0
- wx/demo/InfoBar.py +127 -0
- wx/demo/IntCtrl.py +343 -0
- wx/demo/ItemsPicker.py +108 -0
- wx/demo/Joystick.py +1083 -0
- wx/demo/KeyEvents.py +428 -0
- wx/demo/LEDNumberCtrl.py +121 -0
- wx/demo/LayoutAnchors.py +258 -0
- wx/demo/LayoutConstraints.py +149 -0
- wx/demo/Layoutf.py +69 -0
- wx/demo/ListBox.py +164 -0
- wx/demo/ListCtrl.py +538 -0
- wx/demo/ListCtrl_edit.py +155 -0
- wx/demo/ListCtrl_virtual.py +145 -0
- wx/demo/Listbook.py +104 -0
- wx/demo/MDIDemo.py +86 -0
- wx/demo/MDISashDemo.py +152 -0
- wx/demo/MDIWindows.py +66 -0
- wx/demo/Main.py +2768 -0
- wx/demo/Mask.py +137 -0
- wx/demo/MaskedEditControls.py +648 -0
- wx/demo/MaskedNumCtrl.py +359 -0
- wx/demo/MediaCtrl.py +190 -0
- wx/demo/Menu.py +322 -0
- wx/demo/MessageDialog.py +54 -0
- wx/demo/MimeTypesManager.py +354 -0
- wx/demo/MiniFrame.py +67 -0
- wx/demo/MouseGestures.py +198 -0
- wx/demo/MultiChoiceDialog.py +59 -0
- wx/demo/MultiSash.py +95 -0
- wx/demo/MultiSplitterWindow.py +168 -0
- wx/demo/MultipleChoiceDialog.py +101 -0
- wx/demo/Notebook.py +134 -0
- wx/demo/NotificationMessage.py +61 -0
- wx/demo/OGL.py +433 -0
- wx/demo/Overlay.py +209 -0
- wx/demo/OwnerDrawnComboBox.py +152 -0
- wx/demo/PDFViewer.py +109 -0
- wx/demo/PageSetupDialog.py +70 -0
- wx/demo/PenAndBrushStyles.py +208 -0
- wx/demo/Pickers.py +120 -0
- wx/demo/PlateButton.py +430 -0
- wx/demo/PopupControl.py +99 -0
- wx/demo/PopupMenu.py +156 -0
- wx/demo/PopupWindow.py +227 -0
- wx/demo/PrintDialog.py +60 -0
- wx/demo/PrintFramework.py +227 -0
- wx/demo/Process.py +168 -0
- wx/demo/ProgressDialog.py +87 -0
- wx/demo/PropertyGrid.py +1045 -0
- wx/demo/PropertySheetDialog.py +231 -0
- wx/demo/PseudoDC.py +350 -0
- wx/demo/PyColourChooser.py +60 -0
- wx/demo/PyCrust.py +21 -0
- wx/demo/PyPlot.py +83 -0
- wx/demo/PyShell.py +22 -0
- wx/demo/PythonEvents.py +109 -0
- wx/demo/README.txt +7 -0
- wx/demo/RadioBox.py +67 -0
- wx/demo/RadioButton.py +127 -0
- wx/demo/RawBitmapAccess.py +208 -0
- wx/demo/RearrangeDialog.py +160 -0
- wx/demo/RendererNative.py +170 -0
- wx/demo/ResizeWidget.py +76 -0
- wx/demo/RichMessageDialog.py +85 -0
- wx/demo/RichTextCtrl.py +732 -0
- wx/demo/RichToolTip.py +145 -0
- wx/demo/SVGImage_Bitmap.py +130 -0
- wx/demo/SVGImage_Render.py +138 -0
- wx/demo/SashWindow.py +151 -0
- wx/demo/ScrolledMessageDialog.py +52 -0
- wx/demo/ScrolledPanel.py +124 -0
- wx/demo/ScrolledWindow.py +260 -0
- wx/demo/SearchCtrl.py +115 -0
- wx/demo/ShapedWindow.py +145 -0
- wx/demo/Simplebook.py +202 -0
- wx/demo/SingleChoiceDialog.py +56 -0
- wx/demo/SizedControls.py +433 -0
- wx/demo/Sizers.py +609 -0
- wx/demo/Slider.py +52 -0
- wx/demo/Sound.py +95 -0
- wx/demo/SpinButton.py +63 -0
- wx/demo/SpinCtrl.py +56 -0
- wx/demo/SpinCtrlDouble.py +42 -0
- wx/demo/SplitTree.py +146 -0
- wx/demo/SplitterWindow.py +62 -0
- wx/demo/StandardPaths.py +113 -0
- wx/demo/StaticBitmap.py +55 -0
- wx/demo/StaticBox.py +62 -0
- wx/demo/StaticText.py +69 -0
- wx/demo/StatusBar.py +144 -0
- wx/demo/StockButtons.py +113 -0
- wx/demo/StyledTextCtrl_1.py +303 -0
- wx/demo/StyledTextCtrl_2.py +410 -0
- wx/demo/SystemSettings.py +333 -0
- wx/demo/TablePrint.py +215 -0
- wx/demo/TestTable.txt +38 -0
- wx/demo/TextCtrl.py +187 -0
- wx/demo/TextEntryDialog.py +57 -0
- wx/demo/Threads.py +258 -0
- wx/demo/Throbber.py +250 -0
- wx/demo/Ticker.py +147 -0
- wx/demo/TimeCtrl.py +240 -0
- wx/demo/TimePickerCtrl.py +60 -0
- wx/demo/Timer.py +275 -0
- wx/demo/ToggleButton.py +54 -0
- wx/demo/ToolBar.py +249 -0
- wx/demo/ToolTip.py +71 -0
- wx/demo/Toolbook.py +111 -0
- wx/demo/TreeCtrl.py +199 -0
- wx/demo/TreeListCtrl.py +121 -0
- wx/demo/TreeMixin.py +269 -0
- wx/demo/Treebook.py +117 -0
- wx/demo/UIActionSimulator.py +151 -0
- wx/demo/URLDragAndDrop.py +130 -0
- wx/demo/Unicode.py +146 -0
- wx/demo/VListBox.py +176 -0
- wx/demo/Validator.py +237 -0
- wx/demo/Wizard.py +248 -0
- wx/demo/WrapSizer.py +115 -0
- wx/demo/XmlResource.py +80 -0
- wx/demo/XmlResourceHandler.py +199 -0
- wx/demo/XmlResourceSubclass.py +119 -0
- wx/demo/__init__.py +9 -0
- wx/demo/agw/AGWInfoBar.py +175 -0
- wx/demo/agw/AUI.py +3058 -0
- wx/demo/agw/AdvancedSplash.py +59 -0
- wx/demo/agw/AquaButton.py +146 -0
- wx/demo/agw/BalloonTip.py +378 -0
- wx/demo/agw/ButtonPanel.py +890 -0
- wx/demo/agw/CubeColourDialog.py +83 -0
- wx/demo/agw/CustomTreeCtrl.py +2167 -0
- wx/demo/agw/Example1 +67 -0
- wx/demo/agw/Example2 +49 -0
- wx/demo/agw/FlatMenu.py +876 -0
- wx/demo/agw/FlatNotebook.py +994 -0
- wx/demo/agw/FloatSpin.py +475 -0
- wx/demo/agw/FoldPanelBar.py +953 -0
- wx/demo/agw/FourWaySplitter.py +300 -0
- wx/demo/agw/GenericMessageDialog.py +207 -0
- wx/demo/agw/GradientButton.py +156 -0
- wx/demo/agw/HyperLinkCtrl.py +144 -0
- wx/demo/agw/HyperTreeList.py +2660 -0
- wx/demo/agw/KnobCtrl.py +186 -0
- wx/demo/agw/LabelBook.py +567 -0
- wx/demo/agw/MacLargeDemo.py +360 -0
- wx/demo/agw/MultiDirDialog.py +117 -0
- wx/demo/agw/PeakMeter.py +194 -0
- wx/demo/agw/PersistentControls.py +589 -0
- wx/demo/agw/PieCtrl.py +206 -0
- wx/demo/agw/PyBusyInfo.py +64 -0
- wx/demo/agw/PyCollapsiblePane.py +308 -0
- wx/demo/agw/PyGauge.py +162 -0
- wx/demo/agw/PyProgress.py +155 -0
- wx/demo/agw/RibbonBar.py +925 -0
- wx/demo/agw/RulerCtrl.py +454 -0
- wx/demo/agw/ScrolledThumbnail.py +128 -0
- wx/demo/agw/ShapedButton.py +603 -0
- wx/demo/agw/ShortcutEditor.py +397 -0
- wx/demo/agw/SpeedMeter.py +668 -0
- wx/demo/agw/SuperToolTip.py +396 -0
- wx/demo/agw/ThumbDemoConfig.py +603 -0
- wx/demo/agw/ThumbnailCtrl.py +149 -0
- wx/demo/agw/ToasterBox.py +410 -0
- wx/demo/agw/UltimateListCtrl.py +80 -0
- wx/demo/agw/UltimateListIconDemo.py +908 -0
- wx/demo/agw/UltimateListListDemo.py +124 -0
- wx/demo/agw/UltimateReportDemo.py +1146 -0
- wx/demo/agw/UltimateVirtualDemo.py +207 -0
- wx/demo/agw/Windows7Explorer_Contents.py +368 -0
- wx/demo/agw/XLSGrid.py +238 -0
- wx/demo/agw/ZoomBar.py +230 -0
- wx/demo/agw/__demo__.py +183 -0
- wx/demo/agw/bitmaps/Explorer96.png +0 -0
- wx/demo/agw/bitmaps/Explorer96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Folder96.png +0 -0
- wx/demo/agw/bitmaps/Folder96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Monitor96.png +0 -0
- wx/demo/agw/bitmaps/Monitor96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Music96.png +0 -0
- wx/demo/agw/bitmaps/Music96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Photo96.png +0 -0
- wx/demo/agw/bitmaps/Photo96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Search96.png +0 -0
- wx/demo/agw/bitmaps/Search96Flip40.png +0 -0
- wx/demo/agw/bitmaps/Wizard96.png +0 -0
- wx/demo/agw/bitmaps/Wizard96Flip40.png +0 -0
- wx/demo/agw/bitmaps/advancedsplash.png +0 -0
- wx/demo/agw/bitmaps/aquabutton.png +0 -0
- wx/demo/agw/bitmaps/aquachecked.ico +0 -0
- wx/demo/agw/bitmaps/aquaflagged.ico +0 -0
- wx/demo/agw/bitmaps/aquanotchecked.ico +0 -0
- wx/demo/agw/bitmaps/aquanotflagged.ico +0 -0
- wx/demo/agw/bitmaps/canada.gif +0 -0
- wx/demo/agw/bitmaps/checked.ico +0 -0
- wx/demo/agw/bitmaps/columns.png +0 -0
- wx/demo/agw/bitmaps/contexthelp-16.png +0 -0
- wx/demo/agw/bitmaps/contexthelp.png +0 -0
- wx/demo/agw/bitmaps/copy.png +0 -0
- wx/demo/agw/bitmaps/cut.png +0 -0
- wx/demo/agw/bitmaps/editcopy.png +0 -0
- wx/demo/agw/bitmaps/editcut.png +0 -0
- wx/demo/agw/bitmaps/editpaste.png +0 -0
- wx/demo/agw/bitmaps/empty_icon.png +0 -0
- wx/demo/agw/bitmaps/exit-16.png +0 -0
- wx/demo/agw/bitmaps/exit.ico +0 -0
- wx/demo/agw/bitmaps/ffwd.png +0 -0
- wx/demo/agw/bitmaps/ffwddisabled.png +0 -0
- wx/demo/agw/bitmaps/field-16.png +0 -0
- wx/demo/agw/bitmaps/filenew.png +0 -0
- wx/demo/agw/bitmaps/fileopen.png +0 -0
- wx/demo/agw/bitmaps/filesave.png +0 -0
- wx/demo/agw/bitmaps/flagged.ico +0 -0
- wx/demo/agw/bitmaps/folder.png +0 -0
- wx/demo/agw/bitmaps/folder_new.png +0 -0
- wx/demo/agw/bitmaps/ghost.png +0 -0
- wx/demo/agw/bitmaps/gradientbutton.png +0 -0
- wx/demo/agw/bitmaps/help-16.png +0 -0
- wx/demo/agw/bitmaps/help.ico +0 -0
- wx/demo/agw/bitmaps/italy.gif +0 -0
- wx/demo/agw/bitmaps/lbadd.png +0 -0
- wx/demo/agw/bitmaps/lbcharge.png +0 -0
- wx/demo/agw/bitmaps/lbdecrypted.png +0 -0
- wx/demo/agw/bitmaps/lbnews.png +0 -0
- wx/demo/agw/bitmaps/lbroll.png +0 -0
- wx/demo/agw/bitmaps/minus1.ico +0 -0
- wx/demo/agw/bitmaps/minus2.ico +0 -0
- wx/demo/agw/bitmaps/minus3.ico +0 -0
- wx/demo/agw/bitmaps/minus4.ico +0 -0
- wx/demo/agw/bitmaps/minus5.ico +0 -0
- wx/demo/agw/bitmaps/month-16.png +0 -0
- wx/demo/agw/bitmaps/new_file.png +0 -0
- wx/demo/agw/bitmaps/new_folder.png +0 -0
- wx/demo/agw/bitmaps/notchecked.ico +0 -0
- wx/demo/agw/bitmaps/notflagged.ico +0 -0
- wx/demo/agw/bitmaps/ok-16.png +0 -0
- wx/demo/agw/bitmaps/open_folder.png +0 -0
- wx/demo/agw/bitmaps/paste.png +0 -0
- wx/demo/agw/bitmaps/pause.png +0 -0
- wx/demo/agw/bitmaps/pausedisabled.png +0 -0
- wx/demo/agw/bitmaps/play.png +0 -0
- wx/demo/agw/bitmaps/playdisabled.png +0 -0
- wx/demo/agw/bitmaps/plus1.ico +0 -0
- wx/demo/agw/bitmaps/plus2.ico +0 -0
- wx/demo/agw/bitmaps/plus3.ico +0 -0
- wx/demo/agw/bitmaps/plus4.ico +0 -0
- wx/demo/agw/bitmaps/plus5.ico +0 -0
- wx/demo/agw/bitmaps/record.png +0 -0
- wx/demo/agw/bitmaps/recorddisabled.png +0 -0
- wx/demo/agw/bitmaps/recording.gif +0 -0
- wx/demo/agw/bitmaps/rewind.png +0 -0
- wx/demo/agw/bitmaps/rewinddisabled.png +0 -0
- wx/demo/agw/bitmaps/round.png +0 -0
- wx/demo/agw/bitmaps/save.png +0 -0
- wx/demo/agw/bitmaps/separator.gif +0 -0
- wx/demo/agw/bitmaps/separatorflip.png +0 -0
- wx/demo/agw/bitmaps/smfuel.ico +0 -0
- wx/demo/agw/bitmaps/smpi.ico +0 -0
- wx/demo/agw/bitmaps/smtemp.ico +0 -0
- wx/demo/agw/bitmaps/stop.png +0 -0
- wx/demo/agw/bitmaps/stopdisabled.png +0 -0
- wx/demo/agw/bitmaps/sttbutton.png +0 -0
- wx/demo/agw/bitmaps/sttfont.png +0 -0
- wx/demo/agw/bitmaps/sttheader.png +0 -0
- wx/demo/agw/bitmaps/stthelp.png +0 -0
- wx/demo/agw/bitmaps/view1.png +0 -0
- wx/demo/agw/bitmaps/view2.png +0 -0
- wx/demo/agw/bitmaps/view_choose.png +0 -0
- wx/demo/agw/bitmaps/view_detailed.png +0 -0
- wx/demo/agw/bitmaps/view_icon.png +0 -0
- wx/demo/agw/bitmaps/view_multicolumn.png +0 -0
- wx/demo/agw/bitmaps/viewmag-16.png +0 -0
- wx/demo/agw/bitmaps/viewmag-m-16.png +0 -0
- wx/demo/agw/bitmaps/viewmag-p-16.png +0 -0
- wx/demo/agw/bitmaps/viewmagfit-16.png +0 -0
- wx/demo/agw/data/Example_1.xls +0 -0
- wx/demo/agw/images.py +6714 -0
- wx/demo/bitmaps/AG00028_.gif +0 -0
- wx/demo/bitmaps/AG00039_.gif +0 -0
- wx/demo/bitmaps/AG00178_.gif +0 -0
- wx/demo/bitmaps/AG00183_.gif +0 -0
- wx/demo/bitmaps/AG00185_.gif +0 -0
- wx/demo/bitmaps/BD13656_.gif +0 -0
- wx/demo/bitmaps/advancedsplash.png +0 -0
- wx/demo/bitmaps/aquabutton.png +0 -0
- wx/demo/bitmaps/aquachecked.ico +0 -0
- wx/demo/bitmaps/aquaflagged.ico +0 -0
- wx/demo/bitmaps/aquanotchecked.ico +0 -0
- wx/demo/bitmaps/aquanotflagged.ico +0 -0
- wx/demo/bitmaps/canada.gif +0 -0
- wx/demo/bitmaps/checked.ico +0 -0
- wx/demo/bitmaps/columns.png +0 -0
- wx/demo/bitmaps/contexthelp-16.png +0 -0
- wx/demo/bitmaps/contexthelp.png +0 -0
- wx/demo/bitmaps/copy.png +0 -0
- wx/demo/bitmaps/cropshot24x20.png +0 -0
- wx/demo/bitmaps/cut.png +0 -0
- wx/demo/bitmaps/editcopy.png +0 -0
- wx/demo/bitmaps/editcut.png +0 -0
- wx/demo/bitmaps/editpaste.png +0 -0
- wx/demo/bitmaps/exit-16.png +0 -0
- wx/demo/bitmaps/exit.ico +0 -0
- wx/demo/bitmaps/ffwd.png +0 -0
- wx/demo/bitmaps/ffwddisabled.png +0 -0
- wx/demo/bitmaps/field-16.png +0 -0
- wx/demo/bitmaps/filenew.png +0 -0
- wx/demo/bitmaps/fileopen.png +0 -0
- wx/demo/bitmaps/filesave.png +0 -0
- wx/demo/bitmaps/flagged.ico +0 -0
- wx/demo/bitmaps/folder_new.png +0 -0
- wx/demo/bitmaps/ghost.png +0 -0
- wx/demo/bitmaps/gradientbutton.png +0 -0
- wx/demo/bitmaps/help-16.png +0 -0
- wx/demo/bitmaps/help.ico +0 -0
- wx/demo/bitmaps/honeycomb300.png +0 -0
- wx/demo/bitmaps/image.bmp +0 -0
- wx/demo/bitmaps/image.gif +0 -0
- wx/demo/bitmaps/image.ico +0 -0
- wx/demo/bitmaps/image.jpg +0 -0
- wx/demo/bitmaps/image.png +0 -0
- wx/demo/bitmaps/image.tif +0 -0
- wx/demo/bitmaps/italy.gif +0 -0
- wx/demo/bitmaps/lbadd.png +0 -0
- wx/demo/bitmaps/lbcharge.png +0 -0
- wx/demo/bitmaps/lbdecrypted.png +0 -0
- wx/demo/bitmaps/lbnews.png +0 -0
- wx/demo/bitmaps/lbroll.png +0 -0
- wx/demo/bitmaps/minus1.ico +0 -0
- wx/demo/bitmaps/minus2.ico +0 -0
- wx/demo/bitmaps/minus3.ico +0 -0
- wx/demo/bitmaps/minus4.ico +0 -0
- wx/demo/bitmaps/minus5.ico +0 -0
- wx/demo/bitmaps/month-16.png +0 -0
- wx/demo/bitmaps/new_file.png +0 -0
- wx/demo/bitmaps/new_folder.png +0 -0
- wx/demo/bitmaps/notchecked.ico +0 -0
- wx/demo/bitmaps/notflagged.ico +0 -0
- wx/demo/bitmaps/ok-16.png +0 -0
- wx/demo/bitmaps/open_folder.png +0 -0
- wx/demo/bitmaps/paste.png +0 -0
- wx/demo/bitmaps/pause.png +0 -0
- wx/demo/bitmaps/pausedisabled.png +0 -0
- wx/demo/bitmaps/phoenix_title.png +0 -0
- wx/demo/bitmaps/phoenix_top.png +0 -0
- wx/demo/bitmaps/play.png +0 -0
- wx/demo/bitmaps/playdisabled.png +0 -0
- wx/demo/bitmaps/plus1.ico +0 -0
- wx/demo/bitmaps/plus2.ico +0 -0
- wx/demo/bitmaps/plus3.ico +0 -0
- wx/demo/bitmaps/plus4.ico +0 -0
- wx/demo/bitmaps/plus5.ico +0 -0
- wx/demo/bitmaps/record.png +0 -0
- wx/demo/bitmaps/recorddisabled.png +0 -0
- wx/demo/bitmaps/rewind.png +0 -0
- wx/demo/bitmaps/rewinddisabled.png +0 -0
- wx/demo/bitmaps/round.png +0 -0
- wx/demo/bitmaps/save.png +0 -0
- wx/demo/bitmaps/smfuel.ico +0 -0
- wx/demo/bitmaps/smpi.ico +0 -0
- wx/demo/bitmaps/smtemp.ico +0 -0
- wx/demo/bitmaps/snakey_render.png +0 -0
- wx/demo/bitmaps/splash.png +0 -0
- wx/demo/bitmaps/stop.png +0 -0
- wx/demo/bitmaps/stopdisabled.png +0 -0
- wx/demo/bitmaps/sttbutton.png +0 -0
- wx/demo/bitmaps/sttfont.png +0 -0
- wx/demo/bitmaps/sttheader.png +0 -0
- wx/demo/bitmaps/stthelp.png +0 -0
- wx/demo/bitmaps/toucan.png +0 -0
- wx/demo/bitmaps/view1.png +0 -0
- wx/demo/bitmaps/view2.png +0 -0
- wx/demo/bitmaps/view_choose.png +0 -0
- wx/demo/bitmaps/view_detailed.png +0 -0
- wx/demo/bitmaps/view_icon.png +0 -0
- wx/demo/bitmaps/view_multicolumn.png +0 -0
- wx/demo/bitmaps/viewmag-16.png +0 -0
- wx/demo/bitmaps/viewmag-m-16.png +0 -0
- wx/demo/bitmaps/viewmag-p-16.png +0 -0
- wx/demo/bitmaps/viewmagfit-16.png +0 -0
- wx/demo/bmp_source/001.png +0 -0
- wx/demo/bmp_source/002.png +0 -0
- wx/demo/bmp_source/003.png +0 -0
- wx/demo/bmp_source/004.png +0 -0
- wx/demo/bmp_source/005.png +0 -0
- wx/demo/bmp_source/006.png +0 -0
- wx/demo/bmp_source/007.png +0 -0
- wx/demo/bmp_source/008.png +0 -0
- wx/demo/bmp_source/009.png +0 -0
- wx/demo/bmp_source/010.png +0 -0
- wx/demo/bmp_source/011.png +0 -0
- wx/demo/bmp_source/012.png +0 -0
- wx/demo/bmp_source/013.png +0 -0
- wx/demo/bmp_source/014.png +0 -0
- wx/demo/bmp_source/015.png +0 -0
- wx/demo/bmp_source/016.png +0 -0
- wx/demo/bmp_source/017.png +0 -0
- wx/demo/bmp_source/018.png +0 -0
- wx/demo/bmp_source/019.png +0 -0
- wx/demo/bmp_source/020.png +0 -0
- wx/demo/bmp_source/021.png +0 -0
- wx/demo/bmp_source/022.png +0 -0
- wx/demo/bmp_source/023.png +0 -0
- wx/demo/bmp_source/024.png +0 -0
- wx/demo/bmp_source/025.png +0 -0
- wx/demo/bmp_source/026.png +0 -0
- wx/demo/bmp_source/027.png +0 -0
- wx/demo/bmp_source/028.png +0 -0
- wx/demo/bmp_source/029.png +0 -0
- wx/demo/bmp_source/030.png +0 -0
- wx/demo/bmp_source/DbDec.bmp +0 -0
- wx/demo/bmp_source/DbInc.bmp +0 -0
- wx/demo/bmp_source/Dec.bmp +0 -0
- wx/demo/bmp_source/FRM_0.png +0 -0
- wx/demo/bmp_source/FRM_1.png +0 -0
- wx/demo/bmp_source/FRM_2.png +0 -0
- wx/demo/bmp_source/FRM_3.png +0 -0
- wx/demo/bmp_source/FRM_4.png +0 -0
- wx/demo/bmp_source/FRM_5.png +0 -0
- wx/demo/bmp_source/FRM_6.png +0 -0
- wx/demo/bmp_source/FRM_7.png +0 -0
- wx/demo/bmp_source/FRM_8.png +0 -0
- wx/demo/bmp_source/GridBG.gif +0 -0
- wx/demo/bmp_source/Inc.bmp +0 -0
- wx/demo/bmp_source/LB01.png +0 -0
- wx/demo/bmp_source/LB02.png +0 -0
- wx/demo/bmp_source/LB03.png +0 -0
- wx/demo/bmp_source/LB04.png +0 -0
- wx/demo/bmp_source/LB05.png +0 -0
- wx/demo/bmp_source/LB06.png +0 -0
- wx/demo/bmp_source/LB07.png +0 -0
- wx/demo/bmp_source/LB08.png +0 -0
- wx/demo/bmp_source/LB09.png +0 -0
- wx/demo/bmp_source/LB10.png +0 -0
- wx/demo/bmp_source/LB11.png +0 -0
- wx/demo/bmp_source/LB12.png +0 -0
- wx/demo/bmp_source/Pt.bmp +0 -0
- wx/demo/bmp_source/Vippi.png +0 -0
- wx/demo/bmp_source/backgrnd.png +0 -0
- wx/demo/bmp_source/book.png +0 -0
- wx/demo/bmp_source/book_blue.png +0 -0
- wx/demo/bmp_source/book_green.png +0 -0
- wx/demo/bmp_source/book_red.png +0 -0
- wx/demo/bmp_source/bp_btn1.png +0 -0
- wx/demo/bmp_source/bp_btn2.png +0 -0
- wx/demo/bmp_source/bp_btn3.png +0 -0
- wx/demo/bmp_source/bp_btn4.png +0 -0
- wx/demo/bmp_source/bulb1.bmp +0 -0
- wx/demo/bmp_source/bulb2.bmp +0 -0
- wx/demo/bmp_source/carrot.png +0 -0
- wx/demo/bmp_source/clipboard.png +0 -0
- wx/demo/bmp_source/code.png +0 -0
- wx/demo/bmp_source/core.png +0 -0
- wx/demo/bmp_source/custom.png +0 -0
- wx/demo/bmp_source/customcontrol.png +0 -0
- wx/demo/bmp_source/deletedocs.png +0 -0
- wx/demo/bmp_source/deleteperspective.png +0 -0
- wx/demo/bmp_source/demo.png +0 -0
- wx/demo/bmp_source/dialog.png +0 -0
- wx/demo/bmp_source/exit.png +0 -0
- wx/demo/bmp_source/expansion.png +0 -0
- wx/demo/bmp_source/find.png +0 -0
- wx/demo/bmp_source/findnext.png +0 -0
- wx/demo/bmp_source/floatcanvas.png +0 -0
- wx/demo/bmp_source/frame.png +0 -0
- wx/demo/bmp_source/images.png +0 -0
- wx/demo/bmp_source/inspect.png +0 -0
- wx/demo/bmp_source/layout.png +0 -0
- wx/demo/bmp_source/logo.png +0 -0
- wx/demo/bmp_source/miscellaneous.png +0 -0
- wx/demo/bmp_source/modifiedexists.png +0 -0
- wx/demo/bmp_source/mondrian.ico +0 -0
- wx/demo/bmp_source/morecontrols.png +0 -0
- wx/demo/bmp_source/moredialog.png +0 -0
- wx/demo/bmp_source/noicon.png +0 -0
- wx/demo/bmp_source/overview.png +0 -0
- wx/demo/bmp_source/pencil.png +0 -0
- wx/demo/bmp_source/pointy.png +0 -0
- wx/demo/bmp_source/process.png +0 -0
- wx/demo/bmp_source/pyshell.png +0 -0
- wx/demo/bmp_source/recent.png +0 -0
- wx/demo/bmp_source/rest.png +0 -0
- wx/demo/bmp_source/robin.jpg +0 -0
- wx/demo/bmp_source/rt_alignleft.xpm +24 -0
- wx/demo/bmp_source/rt_alignright.xpm +24 -0
- wx/demo/bmp_source/rt_bold.xpm +24 -0
- wx/demo/bmp_source/rt_centre.xpm +24 -0
- wx/demo/bmp_source/rt_colour.xpm +59 -0
- wx/demo/bmp_source/rt_copy.xpm +44 -0
- wx/demo/bmp_source/rt_cut.xpm +46 -0
- wx/demo/bmp_source/rt_font.xpm +25 -0
- wx/demo/bmp_source/rt_idea.xpm +47 -0
- wx/demo/bmp_source/rt_indentless.xpm +25 -0
- wx/demo/bmp_source/rt_indentmore.xpm +25 -0
- wx/demo/bmp_source/rt_italic.xpm +25 -0
- wx/demo/bmp_source/rt_open.xpm +57 -0
- wx/demo/bmp_source/rt_paste.xpm +46 -0
- wx/demo/bmp_source/rt_redo.xpm +58 -0
- wx/demo/bmp_source/rt_sample.xpm +44 -0
- wx/demo/bmp_source/rt_save.xpm +42 -0
- wx/demo/bmp_source/rt_smiley.xpm +42 -0
- wx/demo/bmp_source/rt_underline.xpm +25 -0
- wx/demo/bmp_source/rt_undo.xpm +58 -0
- wx/demo/bmp_source/rt_zebra.xpm +409 -0
- wx/demo/bmp_source/saveperspective.png +0 -0
- wx/demo/bmp_source/sm_down.bmp +0 -0
- wx/demo/bmp_source/sm_up.bmp +0 -0
- wx/demo/bmp_source/smiles2.bmp +0 -0
- wx/demo/bmp_source/test2.bmp +0 -0
- wx/demo/bmp_source/testmask.bmp +0 -0
- wx/demo/bmp_source/teststar.png +0 -0
- wx/demo/bmp_source/thekid.png +0 -0
- wx/demo/bmp_source/tog1.bmp +0 -0
- wx/demo/bmp_source/tog2.bmp +0 -0
- wx/demo/bmp_source/wiztest1.bmp +0 -0
- wx/demo/bmp_source/wiztest2.bmp +0 -0
- wx/demo/bmp_source/wxpdemo.ico +0 -0
- wx/demo/cursors/paperairplane_arrow_blue.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_blue_fadeout80.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_colorshift.ani +0 -0
- wx/demo/cursors/paperairplane_arrow_dark.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_grey.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_red.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_white.cur +0 -0
- wx/demo/cursors/paperairplane_arrow_white24.png +0 -0
- wx/demo/data/0-tiger.svg +725 -0
- wx/demo/data/Asteroid_blaster.swf +0 -0
- wx/demo/data/SIL_OPEN_FONT_LICENSE.txt +97 -0
- wx/demo/data/SourceCodePro-Regular.ttf +0 -0
- wx/demo/data/accessories-calculator.svg +636 -0
- wx/demo/data/accessories-text-editor.svg +554 -0
- wx/demo/data/anykey.wav +0 -0
- wx/demo/data/applications-internet.svg +623 -0
- wx/demo/data/desktop-accessibility.svg +245 -0
- wx/demo/data/desktop-keyboard-shortcuts.svg +839 -0
- wx/demo/data/desktop-locale.svg +878 -0
- wx/demo/data/desktop-remote-desktop.svg +1479 -0
- wx/demo/data/desktop-theme.svg +882 -0
- wx/demo/data/desktop-wallpaper.svg +747 -0
- wx/demo/data/echo.py +25 -0
- wx/demo/data/imagemap.htm +20 -0
- wx/demo/data/imagemap.png +0 -0
- wx/demo/data/internet-group-chat.svg +312 -0
- wx/demo/data/internet-mail.svg +440 -0
- wx/demo/data/locale/af/LC_MESSAGES/wxpydemo.mo +0 -0
- wx/demo/data/locale/de/LC_MESSAGES/wxpydemo.mo +0 -0
- wx/demo/data/locale/es/LC_MESSAGES/wxpydemo.mo +0 -0
- wx/demo/data/locale/fr/LC_MESSAGES/wxpydemo.mo +0 -0
- wx/demo/data/locale/it/LC_MESSAGES/wxpydemo.mo +0 -0
- wx/demo/data/locale-src/af.po +23 -0
- wx/demo/data/locale-src/de.po +23 -0
- wx/demo/data/locale-src/es.po +22 -0
- wx/demo/data/locale-src/fr.po +22 -0
- wx/demo/data/locale-src/install +15 -0
- wx/demo/data/locale-src/it.po +23 -0
- wx/demo/data/locale-src/wxpydemo.po +21 -0
- wx/demo/data/office-calendar.svg +316 -0
- wx/demo/data/pic.png +0 -0
- wx/demo/data/pic2.bmp +0 -0
- wx/demo/data/plan.wav +0 -0
- wx/demo/data/proclamation.txt +115 -0
- wx/demo/data/resource.wdr +0 -0
- wx/demo/data/resource_wdr.xrc +146 -0
- wx/demo/data/romedalen.png +0 -0
- wx/demo/data/stc.h.html +3544 -0
- wx/demo/data/system-session.svg +510 -0
- wx/demo/data/system-users.svg +539 -0
- wx/demo/data/tables.htm +116 -0
- wx/demo/data/test-gradient-pen.svg +14 -0
- wx/demo/data/test-opacity.svg +7 -0
- wx/demo/data/test.htm +253 -0
- wx/demo/data/testmovie.mpg +0 -0
- wx/demo/data/testtable.txt +38 -0
- wx/demo/data/tips.txt +73 -0
- wx/demo/data/utilities-system-monitor.svg +435 -0
- wx/demo/data/utilities-terminal.svg +500 -0
- wx/demo/data/widgetTest.htm +70 -0
- wx/demo/data/world.dat +24055 -0
- wx/demo/demo.py +4 -0
- wx/demo/demo.pyw +4 -0
- wx/demo/demodata.py +310 -0
- wx/demo/encode_bitmaps.py +181 -0
- wx/demo/images.py +6812 -0
- wx/demo/infoframe.py +149 -0
- wx/demo/run.py +171 -0
- wx/demo/snippets/__init__.py +13 -0
- wx/demo/snippets/arc.py +21 -0
- wx/demo/snippets/arc_negative.py +21 -0
- wx/demo/snippets/clip.py +13 -0
- wx/demo/snippets/clip_image.py +13 -0
- wx/demo/snippets/curve_rectangle.py +53 -0
- wx/demo/snippets/curve_to.py +17 -0
- wx/demo/snippets/dash.py +18 -0
- wx/demo/snippets/ellipse.py +33 -0
- wx/demo/snippets/fill_and_stroke.py +12 -0
- wx/demo/snippets/fill_and_stroke2.py +18 -0
- wx/demo/snippets/fill_style.py +31 -0
- wx/demo/snippets/glyph_path.py +21 -0
- wx/demo/snippets/gradient.py +16 -0
- wx/demo/snippets/gradient_mask.py +12 -0
- wx/demo/snippets/group.py +16 -0
- wx/demo/snippets/image.py +14 -0
- wx/demo/snippets/imagepattern.py +23 -0
- wx/demo/snippets/path.py +7 -0
- wx/demo/snippets/set_line_cap.py +19 -0
- wx/demo/snippets/set_line_join.py +21 -0
- wx/demo/snippets/show_glyphs.py +15 -0
- wx/demo/snippets/text.py +22 -0
- wx/demo/snippets/text_align_center.py +26 -0
- wx/demo/snippets/text_extents.py +27 -0
- wx/demo/template.py +36 -0
- wx/demo/throbImages.py +1277 -0
- wx/demo/version.py +3 -0
- wx/demo/widgetTest.py +72 -0
- wx/demo/wxpdemo.ico +0 -0
- wx/glcanvas.py +10 -0
- wx/glcanvas.pyi +458 -0
- wx/grid.py +229 -0
- wx/grid.pyi +4959 -0
- wx/html.py +35 -0
- wx/html.pyi +2965 -0
- wx/html2.py +40 -0
- wx/html2.pyi +772 -0
- wx/lib/CDate.py +202 -0
- wx/lib/ClickableHtmlWindow.py +57 -0
- wx/lib/__init__.py +0 -0
- wx/lib/activex.py +178 -0
- wx/lib/activexwrapper.py +153 -0
- wx/lib/agw/__init__.py +128 -0
- wx/lib/agw/advancedsplash.py +564 -0
- wx/lib/agw/aquabutton.py +1127 -0
- wx/lib/agw/artmanager.py +2110 -0
- wx/lib/agw/aui/__init__.py +295 -0
- wx/lib/agw/aui/aui_constants.py +2628 -0
- wx/lib/agw/aui/aui_switcherdialog.py +1227 -0
- wx/lib/agw/aui/aui_utilities.py +672 -0
- wx/lib/agw/aui/auibar.py +4031 -0
- wx/lib/agw/aui/auibook.py +6289 -0
- wx/lib/agw/aui/dockart.py +1198 -0
- wx/lib/agw/aui/framemanager.py +10409 -0
- wx/lib/agw/aui/tabart.py +2771 -0
- wx/lib/agw/aui/tabmdi.py +679 -0
- wx/lib/agw/balloontip.py +1158 -0
- wx/lib/agw/buttonpanel.py +2823 -0
- wx/lib/agw/cubecolourdialog.py +3529 -0
- wx/lib/agw/customtreectrl.py +8963 -0
- wx/lib/agw/data/ShortcutEditor_1.png +0 -0
- wx/lib/agw/data/ShortcutEditor_1_thumb.png +0 -0
- wx/lib/agw/data/ShortcutEditor_2.png +0 -0
- wx/lib/agw/data/ShortcutEditor_2_thumb.png +0 -0
- wx/lib/agw/data/ShortcutEditor_3.png +0 -0
- wx/lib/agw/data/ShortcutEditor_3_thumb.png +0 -0
- wx/lib/agw/data/ShortcutEditor_4.png +0 -0
- wx/lib/agw/data/ShortcutEditor_4_thumb.png +0 -0
- wx/lib/agw/data/default_help_text.html +105 -0
- wx/lib/agw/flatmenu.py +7333 -0
- wx/lib/agw/flatnotebook.py +6672 -0
- wx/lib/agw/floatspin.py +1823 -0
- wx/lib/agw/fmcustomizedlg.py +540 -0
- wx/lib/agw/fmresources.py +407 -0
- wx/lib/agw/foldpanelbar.py +2282 -0
- wx/lib/agw/fourwaysplitter.py +1130 -0
- wx/lib/agw/genericmessagedialog.py +1549 -0
- wx/lib/agw/gradientbutton.py +732 -0
- wx/lib/agw/hyperlink.py +664 -0
- wx/lib/agw/hypertreelist.py +5374 -0
- wx/lib/agw/infobar.py +885 -0
- wx/lib/agw/knobctrl.py +945 -0
- wx/lib/agw/labelbook.py +3029 -0
- wx/lib/agw/multidirdialog.py +615 -0
- wx/lib/agw/peakmeter.py +1029 -0
- wx/lib/agw/persist/__init__.py +188 -0
- wx/lib/agw/persist/persist_constants.py +284 -0
- wx/lib/agw/persist/persist_handlers.py +2614 -0
- wx/lib/agw/persist/persistencemanager.py +864 -0
- wx/lib/agw/piectrl.py +1082 -0
- wx/lib/agw/pybusyinfo.py +399 -0
- wx/lib/agw/pycollapsiblepane.py +940 -0
- wx/lib/agw/pygauge.py +570 -0
- wx/lib/agw/pyprogress.py +917 -0
- wx/lib/agw/ribbon/__init__.py +198 -0
- wx/lib/agw/ribbon/art.py +219 -0
- wx/lib/agw/ribbon/art_aui.py +1284 -0
- wx/lib/agw/ribbon/art_default.py +81 -0
- wx/lib/agw/ribbon/art_internal.py +244 -0
- wx/lib/agw/ribbon/art_msw.py +2736 -0
- wx/lib/agw/ribbon/art_osx.py +52 -0
- wx/lib/agw/ribbon/bar.py +1261 -0
- wx/lib/agw/ribbon/buttonbar.py +1320 -0
- wx/lib/agw/ribbon/control.py +205 -0
- wx/lib/agw/ribbon/gallery.py +974 -0
- wx/lib/agw/ribbon/page.py +946 -0
- wx/lib/agw/ribbon/panel.py +1170 -0
- wx/lib/agw/ribbon/toolbar.py +1442 -0
- wx/lib/agw/rulerctrl.py +1887 -0
- wx/lib/agw/scrolledthumbnail.py +2119 -0
- wx/lib/agw/shapedbutton.py +1809 -0
- wx/lib/agw/shortcuteditor.py +2634 -0
- wx/lib/agw/speedmeter.py +1801 -0
- wx/lib/agw/supertooltip.py +1444 -0
- wx/lib/agw/thumbnailctrl.py +529 -0
- wx/lib/agw/toasterbox.py +1327 -0
- wx/lib/agw/ultimatelistctrl.py +13666 -0
- wx/lib/agw/xlsgrid.py +2113 -0
- wx/lib/agw/zoombar.py +1339 -0
- wx/lib/analogclock/__init__.py +140 -0
- wx/lib/analogclock/analogclock.py +631 -0
- wx/lib/analogclock/helpers.py +991 -0
- wx/lib/analogclock/lib_setup/__init__.py +0 -0
- wx/lib/analogclock/lib_setup/buttontreectrlpanel.py +297 -0
- wx/lib/analogclock/lib_setup/fontselect.py +57 -0
- wx/lib/analogclock/setup.py +490 -0
- wx/lib/analogclock/styles.py +47 -0
- wx/lib/anchors.py +103 -0
- wx/lib/art/__init__.py +4 -0
- wx/lib/art/flagart.py +1583 -0
- wx/lib/art/img2pyartprov.py +56 -0
- wx/lib/busy.py +146 -0
- wx/lib/buttons.py +1141 -0
- wx/lib/calendar.py +1597 -0
- wx/lib/checkbox.py +837 -0
- wx/lib/colourchooser/__init__.py +38 -0
- wx/lib/colourchooser/canvas.py +145 -0
- wx/lib/colourchooser/intl.py +24 -0
- wx/lib/colourchooser/pycolourbox.py +89 -0
- wx/lib/colourchooser/pycolourchooser.py +629 -0
- wx/lib/colourchooser/pycolourslider.py +100 -0
- wx/lib/colourchooser/pypalette.py +211 -0
- wx/lib/colourdb.py +740 -0
- wx/lib/colourselect.py +385 -0
- wx/lib/colourutils.py +118 -0
- wx/lib/combotreebox.py +944 -0
- wx/lib/delayedresult.py +420 -0
- wx/lib/dialogs.py +510 -0
- wx/lib/docview.py +3210 -0
- wx/lib/dragscroller.py +79 -0
- wx/lib/editor/README.txt +77 -0
- wx/lib/editor/__init__.py +24 -0
- wx/lib/editor/editor.py +974 -0
- wx/lib/editor/images.py +15 -0
- wx/lib/editor/selection.py +44 -0
- wx/lib/embeddedimage.py +76 -0
- wx/lib/eventStack.py +136 -0
- wx/lib/eventwatcher.py +440 -0
- wx/lib/evtmgr.py +521 -0
- wx/lib/expando.py +393 -0
- wx/lib/fancytext.py +505 -0
- wx/lib/filebrowsebutton.py +459 -0
- wx/lib/flashwin.py +262 -0
- wx/lib/flashwin_old.py +651 -0
- wx/lib/floatcanvas/FCEvents.py +53 -0
- wx/lib/floatcanvas/FCObjects.py +2923 -0
- wx/lib/floatcanvas/FloatCanvas.py +1027 -0
- wx/lib/floatcanvas/GUIMode.py +396 -0
- wx/lib/floatcanvas/NavCanvas.py +161 -0
- wx/lib/floatcanvas/Resources.py +319 -0
- wx/lib/floatcanvas/ScreenShot.py +1788 -0
- wx/lib/floatcanvas/Utilities/BBox.py +314 -0
- wx/lib/floatcanvas/Utilities/Colors.py +137 -0
- wx/lib/floatcanvas/Utilities/GUI.py +91 -0
- wx/lib/floatcanvas/Utilities/__init__.py +7 -0
- wx/lib/floatcanvas/__init__.py +124 -0
- wx/lib/foldmenu.py +89 -0
- wx/lib/gestures.py +310 -0
- wx/lib/gizmos/__init__.py +18 -0
- wx/lib/gizmos/dynamicsash.py +1202 -0
- wx/lib/gizmos/ledctrl.py +300 -0
- wx/lib/gizmos/treelistctrl.py +87 -0
- wx/lib/graphics.py +1939 -0
- wx/lib/gridmovers.py +511 -0
- wx/lib/iewin.py +249 -0
- wx/lib/iewin_old.py +894 -0
- wx/lib/imagebrowser.py +856 -0
- wx/lib/imageutils.py +163 -0
- wx/lib/infoframe.py +490 -0
- wx/lib/inspection.py +1255 -0
- wx/lib/intctrl.py +1001 -0
- wx/lib/itemspicker.py +256 -0
- wx/lib/langlistctrl.py +480 -0
- wx/lib/layoutf.py +271 -0
- wx/lib/masked/__init__.py +27 -0
- wx/lib/masked/combobox.py +839 -0
- wx/lib/masked/ctrl.py +108 -0
- wx/lib/masked/ipaddrctrl.py +242 -0
- wx/lib/masked/maskededit.py +7279 -0
- wx/lib/masked/numctrl.py +2001 -0
- wx/lib/masked/textctrl.py +465 -0
- wx/lib/masked/timectrl.py +1466 -0
- wx/lib/mixins/__init__.py +17 -0
- wx/lib/mixins/grid.py +47 -0
- wx/lib/mixins/gridlabelrenderer.py +251 -0
- wx/lib/mixins/imagelist.py +77 -0
- wx/lib/mixins/inspection.py +184 -0
- wx/lib/mixins/listctrl.py +894 -0
- wx/lib/mixins/rubberband.py +404 -0
- wx/lib/mixins/treemixin.py +678 -0
- wx/lib/msgpanel.py +95 -0
- wx/lib/multisash.py +747 -0
- wx/lib/myole4ax.idl +178 -0
- wx/lib/myole4ax.tlb +0 -0
- wx/lib/newevent.py +229 -0
- wx/lib/nvdlg.py +156 -0
- wx/lib/ogl/__init__.py +13 -0
- wx/lib/ogl/basic.py +3991 -0
- wx/lib/ogl/bmpshape.py +87 -0
- wx/lib/ogl/canvas.py +467 -0
- wx/lib/ogl/composit.py +1577 -0
- wx/lib/ogl/diagram.py +230 -0
- wx/lib/ogl/divided.py +483 -0
- wx/lib/ogl/drawn.py +900 -0
- wx/lib/ogl/lines.py +1811 -0
- wx/lib/ogl/oglmisc.py +608 -0
- wx/lib/pdfviewer/__init__.py +113 -0
- wx/lib/pdfviewer/bitmaps/ArrowLeft.png +0 -0
- wx/lib/pdfviewer/bitmaps/ArrowRight.png +0 -0
- wx/lib/pdfviewer/bitmaps/DirectionH.png +0 -0
- wx/lib/pdfviewer/bitmaps/DirectionV.png +0 -0
- wx/lib/pdfviewer/bitmaps/PlayerFirst.png +0 -0
- wx/lib/pdfviewer/bitmaps/PlayerLast.png +0 -0
- wx/lib/pdfviewer/bitmaps/PlayerNext.png +0 -0
- wx/lib/pdfviewer/bitmaps/PlayerPrev.png +0 -0
- wx/lib/pdfviewer/bitmaps/Printer.png +0 -0
- wx/lib/pdfviewer/bitmaps/ReadMe.txt +28 -0
- wx/lib/pdfviewer/bitmaps/Save.png +0 -0
- wx/lib/pdfviewer/bitmaps/ZoomIn.png +0 -0
- wx/lib/pdfviewer/bitmaps/ZoomOut.png +0 -0
- wx/lib/pdfviewer/bitmaps/encode_bitmaps.py +37 -0
- wx/lib/pdfviewer/buttonpanel.py +279 -0
- wx/lib/pdfviewer/images.py +240 -0
- wx/lib/pdfviewer/viewer.py +1077 -0
- wx/lib/pdfwin.py +295 -0
- wx/lib/pdfwin_old.py +789 -0
- wx/lib/platebtn.py +789 -0
- wx/lib/plot/CHANGELOG.md +150 -0
- wx/lib/plot/README.md +16 -0
- wx/lib/plot/__init__.py +46 -0
- wx/lib/plot/__main__.py +5 -0
- wx/lib/plot/examples/__init__.py +0 -0
- wx/lib/plot/examples/demo.py +1009 -0
- wx/lib/plot/examples/simple_example.py +54 -0
- wx/lib/plot/plotcanvas.py +2981 -0
- wx/lib/plot/polyobjects.py +1525 -0
- wx/lib/plot/utils.py +327 -0
- wx/lib/popupctl.py +250 -0
- wx/lib/printout.py +1157 -0
- wx/lib/progressindicator.py +151 -0
- wx/lib/pubsub/LICENSE_BSD_Simple.txt +23 -0
- wx/lib/pubsub/README_WxPython.txt +22 -0
- wx/lib/pubsub/RELEASE_NOTES.txt +71 -0
- wx/lib/pubsub/__init__.py +25 -0
- wx/lib/pubsub/core/__init__.py +92 -0
- wx/lib/pubsub/core/arg1/__init__.py +16 -0
- wx/lib/pubsub/core/arg1/listenerimpl.py +97 -0
- wx/lib/pubsub/core/arg1/publisher.py +40 -0
- wx/lib/pubsub/core/arg1/publishermixin.py +34 -0
- wx/lib/pubsub/core/arg1/topicargspecimpl.py +66 -0
- wx/lib/pubsub/core/arg1/topicmgrimpl.py +19 -0
- wx/lib/pubsub/core/callables.py +191 -0
- wx/lib/pubsub/core/imp2.py +63 -0
- wx/lib/pubsub/core/itopicdefnprovider.py +0 -0
- wx/lib/pubsub/core/kwargs/__init__.py +16 -0
- wx/lib/pubsub/core/kwargs/datamsg.py +27 -0
- wx/lib/pubsub/core/kwargs/listenerimpl.py +93 -0
- wx/lib/pubsub/core/kwargs/publisher.py +77 -0
- wx/lib/pubsub/core/kwargs/publishermixin.py +65 -0
- wx/lib/pubsub/core/kwargs/topicargspecimpl.py +217 -0
- wx/lib/pubsub/core/kwargs/topicmgrimpl.py +13 -0
- wx/lib/pubsub/core/listener.py +40 -0
- wx/lib/pubsub/core/listenerbase.py +185 -0
- wx/lib/pubsub/core/notificationmgr.py +185 -0
- wx/lib/pubsub/core/publisherbase.py +191 -0
- wx/lib/pubsub/core/topicargspec.py +77 -0
- wx/lib/pubsub/core/topicdefnprovider.py +632 -0
- wx/lib/pubsub/core/topicexc.py +72 -0
- wx/lib/pubsub/core/topicmgr.py +456 -0
- wx/lib/pubsub/core/topicobj.py +472 -0
- wx/lib/pubsub/core/topictreetraverser.py +143 -0
- wx/lib/pubsub/core/topicutils.py +118 -0
- wx/lib/pubsub/core/treeconfig.py +21 -0
- wx/lib/pubsub/core/validatedefnargs.py +29 -0
- wx/lib/pubsub/core/weakmethod.py +102 -0
- wx/lib/pubsub/policies.py +24 -0
- wx/lib/pubsub/pub.py +199 -0
- wx/lib/pubsub/py2and3.py +608 -0
- wx/lib/pubsub/setuparg1.py +47 -0
- wx/lib/pubsub/setupkwargs.py +29 -0
- wx/lib/pubsub/utils/__init__.py +27 -0
- wx/lib/pubsub/utils/exchandling.py +100 -0
- wx/lib/pubsub/utils/misc.py +100 -0
- wx/lib/pubsub/utils/notification.py +331 -0
- wx/lib/pubsub/utils/topictreeprinter.py +195 -0
- wx/lib/pubsub/utils/xmltopicdefnprovider.py +287 -0
- wx/lib/pydocview.py +3300 -0
- wx/lib/rcsizer.py +229 -0
- wx/lib/resizewidget.py +357 -0
- wx/lib/scrolledpanel.py +225 -0
- wx/lib/sheet.py +350 -0
- wx/lib/sized_controls.py +691 -0
- wx/lib/softwareupdate.py +361 -0
- wx/lib/splitter.py +925 -0
- wx/lib/statbmp.py +199 -0
- wx/lib/stattext.py +322 -0
- wx/lib/throbber.py +425 -0
- wx/lib/ticker.py +295 -0
- wx/lib/ticker_xrc.py +48 -0
- wx/lib/utils.py +89 -0
- wx/lib/wordwrap.py +97 -0
- wx/lib/wxcairo/__init__.py +124 -0
- wx/lib/wxcairo/wx_cairocffi.py +200 -0
- wx/lib/wxcairo/wx_pycairo.py +463 -0
- wx/lib/wxpTag.py +274 -0
- wx/locale/af/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/an/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ar/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ca/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/cs/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/da/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/de/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/el/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/es/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/eu/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/fa_IR/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/fi/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/fr/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/gl_ES/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/hi/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/hr/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/hu/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/id/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/it/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ja/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ka/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ko_KR/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/lt/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/lv/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ms/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/nb/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ne/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/nl/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/pl/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/pt/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/pt_BR/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ro/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ru/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/sk/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/sl/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/sq/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/sv/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/ta/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/tr/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/uk/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/vi/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/zh_CN/LC_MESSAGES/wxstd.mo +0 -0
- wx/locale/zh_TW/LC_MESSAGES/wxstd.mo +0 -0
- wx/media.py +27 -0
- wx/media.pyi +223 -0
- wx/msw.py +13 -0
- wx/msw.pyi +65 -0
- wx/propgrid.py +1451 -0
- wx/propgrid.pyi +7914 -0
- wx/py/CHANGES.txt +796 -0
- wx/py/Py.ico +0 -0
- wx/py/PyAlaCarte.py +34 -0
- wx/py/PyAlaMode.py +34 -0
- wx/py/PyAlaModeTest.py +33 -0
- wx/py/PyCrust.ico +0 -0
- wx/py/PyCrust.py +78 -0
- wx/py/PyCrust_16.png +0 -0
- wx/py/PyCrust_32.png +0 -0
- wx/py/PyFilling.py +35 -0
- wx/py/PyShell.py +78 -0
- wx/py/PySlices.ico +0 -0
- wx/py/PySlices.py +98 -0
- wx/py/PySlicesShell.py +94 -0
- wx/py/PySlices_16.png +0 -0
- wx/py/PySlices_32.png +0 -0
- wx/py/PyWrap.py +52 -0
- wx/py/README.txt +77 -0
- wx/py/__init__.py +20 -0
- wx/py/buffer.py +136 -0
- wx/py/crust.py +403 -0
- wx/py/crustslices.py +403 -0
- wx/py/dispatcher.py +259 -0
- wx/py/document.py +37 -0
- wx/py/editor.py +844 -0
- wx/py/editwindow.py +299 -0
- wx/py/filling.py +357 -0
- wx/py/frame.py +978 -0
- wx/py/images.py +212 -0
- wx/py/interpreter.py +170 -0
- wx/py/introspect.py +393 -0
- wx/py/magic.py +98 -0
- wx/py/parse.py +134 -0
- wx/py/path.py +36 -0
- wx/py/pseudo.py +99 -0
- wx/py/shell.py +1588 -0
- wx/py/sliceshell.py +3814 -0
- wx/py/tests/test_interpreter.py +71 -0
- wx/py/tests/test_introspect.py +862 -0
- wx/py/tests/test_pseudo.py +70 -0
- wx/py/tests/test_version.py +36 -0
- wx/py/tests/testall.py +22 -0
- wx/py/version.py +7 -0
- wx/ribbon.py +45 -0
- wx/ribbon.pyi +2494 -0
- wx/richtext.py +142 -0
- wx/richtext.pyi +12113 -0
- wx/siplib.cp313-win_amd64.pyd +0 -0
- wx/stc.py +58 -0
- wx/stc.pyi +8463 -0
- wx/svg/__init__.py +364 -0
- wx/svg/_nanosvg.cp313-win_amd64.pyd +0 -0
- wx/tools/__init__.py +18 -0
- wx/tools/dbg.py +268 -0
- wx/tools/genaxmodule.py +50 -0
- wx/tools/helpviewer.py +92 -0
- wx/tools/img2img.py +85 -0
- wx/tools/img2png.py +54 -0
- wx/tools/img2py.py +309 -0
- wx/tools/img2xpm.py +54 -0
- wx/tools/pywxrc.py +949 -0
- wx/tools/wxget.py +254 -0
- wx/tools/wxget_docs_demo.py +186 -0
- wx/wxbase315u_net_vc140_x64.dll +0 -0
- wx/wxbase315u_vc140_x64.dll +0 -0
- wx/wxbase315u_xml_vc140_x64.dll +0 -0
- wx/wxmsw315u_adv_vc140_x64.dll +0 -0
- wx/wxmsw315u_aui_vc140_x64.dll +0 -0
- wx/wxmsw315u_core_vc140_x64.dll +0 -0
- wx/wxmsw315u_gl_vc140_x64.dll +0 -0
- wx/wxmsw315u_html_vc140_x64.dll +0 -0
- wx/wxmsw315u_media_vc140_x64.dll +0 -0
- wx/wxmsw315u_propgrid_vc140_x64.dll +0 -0
- wx/wxmsw315u_qa_vc140_x64.dll +0 -0
- wx/wxmsw315u_ribbon_vc140_x64.dll +0 -0
- wx/wxmsw315u_richtext_vc140_x64.dll +0 -0
- wx/wxmsw315u_stc_vc140_x64.dll +0 -0
- wx/wxmsw315u_webview_vc140_x64.dll +0 -0
- wx/wxmsw315u_xrc_vc140_x64.dll +0 -0
- wx/xml.py +15 -0
- wx/xml.pyi +575 -0
- wx/xrc.py +65 -0
- wx/xrc.pyi +742 -0
- wxPython_zombie-3.1.5.8.dist-info/LICENSE.txt +950 -0
- wxPython_zombie-3.1.5.8.dist-info/METADATA +107 -0
- wxPython_zombie-3.1.5.8.dist-info/RECORD +1175 -0
- wxPython_zombie-3.1.5.8.dist-info/WHEEL +5 -0
- wxPython_zombie-3.1.5.8.dist-info/entry_points.txt +2 -0
- wxPython_zombie-3.1.5.8.dist-info/top_level.txt +1 -0
wx/lib/inspection.py
ADDED
|
@@ -0,0 +1,1255 @@
|
|
|
1
|
+
#----------------------------------------------------------------------------
|
|
2
|
+
# Name: wx.lib.inspection
|
|
3
|
+
# Purpose: A widget inspection tool that allows easy introspection of
|
|
4
|
+
# all the live widgets and sizers in an application.
|
|
5
|
+
#
|
|
6
|
+
# Author: Robin Dunn
|
|
7
|
+
#
|
|
8
|
+
# Created: 26-Jan-2007
|
|
9
|
+
# Copyright: (c) 2007-2020 by Total Control Software
|
|
10
|
+
# Licence: wxWindows license
|
|
11
|
+
#
|
|
12
|
+
# Tags: py3-port, phoenix-port, documented
|
|
13
|
+
#----------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
# NOTE: This class was originally based on ideas sent to the
|
|
16
|
+
# wxPython-users mail list by Dan Eloff. See also
|
|
17
|
+
# wx.lib.mixins.inspect for a class that can be mixed-in with wx.App
|
|
18
|
+
# to provide Hot-Key access to the inspection tool.
|
|
19
|
+
|
|
20
|
+
"""
|
|
21
|
+
This modules provides the :class:`~wx.lib.inspection.InspectionTool` and
|
|
22
|
+
everything else needed to provide the Widget Inspection Tool (WIT).
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import wx
|
|
27
|
+
import wx.py
|
|
28
|
+
import wx.stc
|
|
29
|
+
#import wx.aui as aui
|
|
30
|
+
import wx.lib.agw.aui as aui
|
|
31
|
+
import six
|
|
32
|
+
import wx.lib.utils as utils
|
|
33
|
+
import sys
|
|
34
|
+
import inspect
|
|
35
|
+
|
|
36
|
+
#----------------------------------------------------------------------------
|
|
37
|
+
|
|
38
|
+
class InspectionTool:
|
|
39
|
+
"""
|
|
40
|
+
The :class:`InspectionTool` is a singleton that manages creating and
|
|
41
|
+
showing an :class:`InspectionFrame`.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
# Note: This is the Borg design pattern which ensures that all
|
|
45
|
+
# instances of this class are actually using the same set of
|
|
46
|
+
# instance data. See
|
|
47
|
+
# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531
|
|
48
|
+
__shared_state = None
|
|
49
|
+
|
|
50
|
+
def __init__(self):
|
|
51
|
+
if not InspectionTool.__shared_state:
|
|
52
|
+
InspectionTool.__shared_state = self.__dict__
|
|
53
|
+
else:
|
|
54
|
+
self.__dict__ = InspectionTool.__shared_state
|
|
55
|
+
|
|
56
|
+
if not hasattr(self, 'initialized'):
|
|
57
|
+
self.initialized = False
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def Init(self, pos=wx.DefaultPosition, size=wx.Size(850,700),
|
|
61
|
+
config=None, locals=None, app=None):
|
|
62
|
+
"""
|
|
63
|
+
Init is used to set some parameters that will be used later
|
|
64
|
+
when the inspection tool is shown. Suitable defaults will be
|
|
65
|
+
used for all of these parameters if they are not provided.
|
|
66
|
+
|
|
67
|
+
:param `pos`: The default position to show the frame at
|
|
68
|
+
:param `size`: The default size of the frame
|
|
69
|
+
:param `config`: A :class:`Config` object to be used to store layout
|
|
70
|
+
and other info to when the inspection frame is closed.
|
|
71
|
+
This info will be restored the next time the inspection
|
|
72
|
+
frame is used.
|
|
73
|
+
:param `locals`: A dictionary of names to be added to the PyCrust
|
|
74
|
+
namespace.
|
|
75
|
+
:param `app`: A reference to the :class:`App` object.
|
|
76
|
+
"""
|
|
77
|
+
self._frame = None
|
|
78
|
+
self._pos = pos
|
|
79
|
+
self._size = size
|
|
80
|
+
self._config = config
|
|
81
|
+
self._locals = locals
|
|
82
|
+
self._app = app
|
|
83
|
+
if not self._app:
|
|
84
|
+
self._app = wx.GetApp()
|
|
85
|
+
self.initialized = True
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def Show(self, selectObj=None, refreshTree=False):
|
|
89
|
+
"""
|
|
90
|
+
Creates the inspection frame if it hasn't been already, and
|
|
91
|
+
raises it if neccessary.
|
|
92
|
+
|
|
93
|
+
:param `selectObj`: Pass a widget or sizer to have that object be
|
|
94
|
+
preselected in widget tree.
|
|
95
|
+
:param boolean `refreshTree`: rebuild the widget tree, default False
|
|
96
|
+
|
|
97
|
+
"""
|
|
98
|
+
if not self.initialized:
|
|
99
|
+
self.Init()
|
|
100
|
+
|
|
101
|
+
parent = self._app.GetTopWindow()
|
|
102
|
+
if not selectObj:
|
|
103
|
+
selectObj = parent
|
|
104
|
+
if not self._frame:
|
|
105
|
+
self._frame = InspectionFrame( parent=parent,
|
|
106
|
+
pos=self._pos,
|
|
107
|
+
size=self._size,
|
|
108
|
+
config=self._config,
|
|
109
|
+
locals=self._locals,
|
|
110
|
+
app=self._app)
|
|
111
|
+
if selectObj:
|
|
112
|
+
self._frame.SetObj(selectObj)
|
|
113
|
+
if refreshTree:
|
|
114
|
+
self._frame.RefreshTree()
|
|
115
|
+
self._frame.Show()
|
|
116
|
+
if self._frame.IsIconized():
|
|
117
|
+
self._frame.Iconize(False)
|
|
118
|
+
self._frame.Raise()
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
#----------------------------------------------------------------------------
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
class InspectionFrame(wx.Frame):
|
|
125
|
+
"""
|
|
126
|
+
This class is the frame that holds the wxPython inspection tools.
|
|
127
|
+
The toolbar and AUI splitters/floating panes are also managed
|
|
128
|
+
here. The contents of the tool windows are handled by other
|
|
129
|
+
classes.
|
|
130
|
+
"""
|
|
131
|
+
def __init__(self, wnd=None, locals=None, config=None,
|
|
132
|
+
app=None, title="wxPython Widget Inspection Tool",
|
|
133
|
+
*args, **kw):
|
|
134
|
+
kw['title'] = title
|
|
135
|
+
wx.Frame.__init__(self, *args, **kw)
|
|
136
|
+
|
|
137
|
+
self.SetExtraStyle(wx.WS_EX_BLOCK_EVENTS)
|
|
138
|
+
self.includeSizers = False
|
|
139
|
+
self.started = False
|
|
140
|
+
|
|
141
|
+
self.SetIcon(Icon.GetIcon())
|
|
142
|
+
self.MakeToolBar()
|
|
143
|
+
panel = wx.Panel(self, size=self.GetClientSize())
|
|
144
|
+
|
|
145
|
+
# tell FrameManager to manage this frame
|
|
146
|
+
self.mgr = aui.AuiManager(panel,
|
|
147
|
+
aui.AUI_MGR_DEFAULT
|
|
148
|
+
| aui.AUI_MGR_TRANSPARENT_DRAG
|
|
149
|
+
| aui.AUI_MGR_ALLOW_ACTIVE_PANE)
|
|
150
|
+
|
|
151
|
+
# make the child tools
|
|
152
|
+
self.tree = InspectionTree(panel, size=(100,300))
|
|
153
|
+
self.info = InspectionInfoPanel(panel,
|
|
154
|
+
style=wx.NO_BORDER,
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
if not locals:
|
|
158
|
+
locals = {}
|
|
159
|
+
myIntroText = (
|
|
160
|
+
"Python %s on %s, wxPython %s\n"
|
|
161
|
+
"NOTE: The 'obj' variable refers to the object selected in the tree."
|
|
162
|
+
% (sys.version.split()[0], sys.platform, wx.version()))
|
|
163
|
+
self.crust = wx.py.crust.Crust(panel, locals=locals,
|
|
164
|
+
intro=myIntroText,
|
|
165
|
+
showInterpIntro=False,
|
|
166
|
+
style=wx.NO_BORDER,
|
|
167
|
+
)
|
|
168
|
+
self.locals = self.crust.shell.interp.locals
|
|
169
|
+
self.crust.shell.interp.introText = ''
|
|
170
|
+
self.locals['obj'] = self.obj = wnd
|
|
171
|
+
self.locals['app'] = app
|
|
172
|
+
self.locals['wx'] = wx
|
|
173
|
+
wx.CallAfter(self._postStartup)
|
|
174
|
+
|
|
175
|
+
# put the chlid tools in AUI panes
|
|
176
|
+
self.mgr.AddPane(self.info,
|
|
177
|
+
aui.AuiPaneInfo().Name("info").Caption("Object Info").
|
|
178
|
+
CenterPane().CaptionVisible(True).
|
|
179
|
+
CloseButton(False).MaximizeButton(True)
|
|
180
|
+
)
|
|
181
|
+
self.mgr.AddPane(self.tree,
|
|
182
|
+
aui.AuiPaneInfo().Name("tree").Caption("Widget Tree").
|
|
183
|
+
CaptionVisible(True).Left().Dockable(True).Floatable(True).
|
|
184
|
+
BestSize((280,200)).CloseButton(False).MaximizeButton(True)
|
|
185
|
+
)
|
|
186
|
+
self.mgr.AddPane(self.crust,
|
|
187
|
+
aui.AuiPaneInfo().Name("crust").Caption("PyCrust").
|
|
188
|
+
CaptionVisible(True).Bottom().Dockable(True).Floatable(True).
|
|
189
|
+
BestSize((400,200)).CloseButton(False).MaximizeButton(True)
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
self.mgr.Update()
|
|
193
|
+
|
|
194
|
+
if config is None:
|
|
195
|
+
config = wx.Config('wxpyinspector')
|
|
196
|
+
self.config = config
|
|
197
|
+
self.Bind(wx.EVT_CLOSE, self.OnClose)
|
|
198
|
+
if self.Parent:
|
|
199
|
+
tlw = self.Parent.GetTopLevelParent()
|
|
200
|
+
tlw.Bind(wx.EVT_CLOSE, self.OnClose)
|
|
201
|
+
self.LoadSettings(self.config)
|
|
202
|
+
self.crust.shell.lineNumbers = False
|
|
203
|
+
self.crust.shell.setDisplayLineNumbers(False)
|
|
204
|
+
self.crust.shell.SetMarginWidth(1, 0)
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def MakeToolBar(self):
|
|
208
|
+
tbar = self.CreateToolBar(wx.TB_HORIZONTAL | wx.TB_FLAT | wx.TB_TEXT | wx.NO_BORDER )
|
|
209
|
+
tbar.SetToolBitmapSize((24,24))
|
|
210
|
+
|
|
211
|
+
refreshBmp = Refresh.GetBitmap()
|
|
212
|
+
findWidgetBmp = Find.GetBitmap()
|
|
213
|
+
showSizersBmp = ShowSizers.GetBitmap()
|
|
214
|
+
expandTreeBmp = ExpandTree.GetBitmap()
|
|
215
|
+
collapseTreeBmp = CollapseTree.GetBitmap()
|
|
216
|
+
highlightItemBmp = HighlightItem.GetBitmap()
|
|
217
|
+
evtWatcherBmp = EvtWatcher.GetBitmap()
|
|
218
|
+
|
|
219
|
+
toggleFillingBmp = ShowFilling.GetBitmap()
|
|
220
|
+
|
|
221
|
+
refreshTool = tbar.AddTool(-1, 'Refresh', refreshBmp,
|
|
222
|
+
shortHelp = 'Refresh widget tree (F1)')
|
|
223
|
+
findWidgetTool = tbar.AddTool(-1, 'Find', findWidgetBmp,
|
|
224
|
+
shortHelp='Find new target widget. (F2) Click here and\nthen on another widget in the app.')
|
|
225
|
+
showSizersTool = tbar.AddTool(-1, 'Sizers', showSizersBmp,
|
|
226
|
+
shortHelp='Include sizers in widget tree (F3)',
|
|
227
|
+
kind=wx.ITEM_CHECK)
|
|
228
|
+
expandTreeTool = tbar.AddTool(-1, 'Expand', expandTreeBmp,
|
|
229
|
+
shortHelp='Expand all tree items (F4)')
|
|
230
|
+
collapseTreeTool = tbar.AddTool(-1, 'Collapse', collapseTreeBmp,
|
|
231
|
+
shortHelp='Collapse all tree items (F5)')
|
|
232
|
+
highlightItemTool = tbar.AddTool(-1, 'Highlight', highlightItemBmp,
|
|
233
|
+
shortHelp='Attempt to highlight live item (F6)')
|
|
234
|
+
evtWatcherTool = tbar.AddTool(-1, 'Events', evtWatcherBmp,
|
|
235
|
+
shortHelp='Watch the events of the selected item (F7)')
|
|
236
|
+
|
|
237
|
+
toggleFillingTool = tbar.AddTool(-1, 'Filling', toggleFillingBmp,
|
|
238
|
+
shortHelp='Show PyCrust \'filling\' (F8)',
|
|
239
|
+
kind=wx.ITEM_CHECK)
|
|
240
|
+
tbar.Realize()
|
|
241
|
+
|
|
242
|
+
self.Bind(wx.EVT_TOOL, self.OnRefreshTree, refreshTool)
|
|
243
|
+
self.Bind(wx.EVT_TOOL, self.OnFindWidget, findWidgetTool)
|
|
244
|
+
self.Bind(wx.EVT_TOOL, self.OnShowSizers, showSizersTool)
|
|
245
|
+
self.Bind(wx.EVT_TOOL, self.OnExpandTree, expandTreeTool)
|
|
246
|
+
self.Bind(wx.EVT_TOOL, self.OnCollapseTree, collapseTreeTool)
|
|
247
|
+
self.Bind(wx.EVT_TOOL, self.OnHighlightItem, highlightItemTool)
|
|
248
|
+
self.Bind(wx.EVT_TOOL, self.OnWatchEvents, evtWatcherTool)
|
|
249
|
+
self.Bind(wx.EVT_TOOL, self.OnToggleFilling, toggleFillingTool)
|
|
250
|
+
self.Bind(wx.EVT_UPDATE_UI, self.OnShowSizersUI, showSizersTool)
|
|
251
|
+
self.Bind(wx.EVT_UPDATE_UI, self.OnWatchEventsUI, evtWatcherTool)
|
|
252
|
+
self.Bind(wx.EVT_UPDATE_UI, self.OnToggleFillingUI, toggleFillingTool)
|
|
253
|
+
|
|
254
|
+
tbl = wx.AcceleratorTable(
|
|
255
|
+
[(wx.ACCEL_NORMAL, wx.WXK_F1, refreshTool.GetId()),
|
|
256
|
+
(wx.ACCEL_NORMAL, wx.WXK_F2, findWidgetTool.GetId()),
|
|
257
|
+
(wx.ACCEL_NORMAL, wx.WXK_F3, showSizersTool.GetId()),
|
|
258
|
+
(wx.ACCEL_NORMAL, wx.WXK_F4, expandTreeTool.GetId()),
|
|
259
|
+
(wx.ACCEL_NORMAL, wx.WXK_F5, collapseTreeTool.GetId()),
|
|
260
|
+
(wx.ACCEL_NORMAL, wx.WXK_F6, highlightItemTool.GetId()),
|
|
261
|
+
(wx.ACCEL_NORMAL, wx.WXK_F7, evtWatcherTool.GetId()),
|
|
262
|
+
(wx.ACCEL_NORMAL, wx.WXK_F8, toggleFillingTool.GetId()),
|
|
263
|
+
])
|
|
264
|
+
self.SetAcceleratorTable(tbl)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def _postStartup(self):
|
|
268
|
+
if self.crust.ToolsShown():
|
|
269
|
+
self.crust.ToggleTools()
|
|
270
|
+
self.UpdateInfo()
|
|
271
|
+
self.started = True
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
def OnClose(self, evt):
|
|
275
|
+
evt.Skip()
|
|
276
|
+
if not self:
|
|
277
|
+
return
|
|
278
|
+
self.SaveSettings(self.config)
|
|
279
|
+
if hasattr(self, 'mgr'):
|
|
280
|
+
self.mgr.UnInit()
|
|
281
|
+
del self.mgr
|
|
282
|
+
if self.Parent:
|
|
283
|
+
tlw = self.Parent.GetTopLevelParent()
|
|
284
|
+
tlw.Unbind(wx.EVT_CLOSE, handler=self.OnClose)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
def UpdateInfo(self):
|
|
288
|
+
self.info.UpdateInfo(self.obj)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
def SetObj(self, obj):
|
|
292
|
+
if self.obj is obj:
|
|
293
|
+
return
|
|
294
|
+
self.locals['obj'] = self.obj = obj
|
|
295
|
+
self.UpdateInfo()
|
|
296
|
+
if not self.tree.built:
|
|
297
|
+
self.tree.BuildTree(obj, includeSizers=self.includeSizers)
|
|
298
|
+
else:
|
|
299
|
+
self.tree.SelectObj(obj)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
def HighlightCurrentItem(self):
|
|
303
|
+
"""
|
|
304
|
+
Draw a highlight rectangle around the item represented by the
|
|
305
|
+
current tree selection.
|
|
306
|
+
"""
|
|
307
|
+
if not hasattr(self, 'highlighter'):
|
|
308
|
+
self.highlighter = _InspectionHighlighter()
|
|
309
|
+
self.highlighter.HighlightCurrentItem(self.tree)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
def RefreshTree(self):
|
|
313
|
+
self.tree.BuildTree(self.obj, includeSizers=self.includeSizers)
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
def OnRefreshTree(self, evt):
|
|
317
|
+
self.RefreshTree()
|
|
318
|
+
self.UpdateInfo()
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
def OnFindWidget(self, evt):
|
|
322
|
+
self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
|
|
323
|
+
self.Bind(wx.EVT_MOUSE_CAPTURE_LOST, self.OnCaptureLost)
|
|
324
|
+
self.CaptureMouse()
|
|
325
|
+
self.finding = wx.BusyInfo("Click on any widget in the app...")
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
def OnCaptureLost(self, evt):
|
|
329
|
+
self.Unbind(wx.EVT_LEFT_DOWN)
|
|
330
|
+
self.Unbind(wx.EVT_MOUSE_CAPTURE_LOST)
|
|
331
|
+
del self.finding
|
|
332
|
+
|
|
333
|
+
def OnLeftDown(self, evt):
|
|
334
|
+
self.ReleaseMouse()
|
|
335
|
+
wnd, pt = wx.FindWindowAtPointer()
|
|
336
|
+
if wnd is not None:
|
|
337
|
+
self.SetObj(wnd)
|
|
338
|
+
else:
|
|
339
|
+
wx.Bell()
|
|
340
|
+
self.OnCaptureLost(evt)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
def OnShowSizers(self, evt):
|
|
344
|
+
self.includeSizers = not self.includeSizers
|
|
345
|
+
self.RefreshTree()
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def OnExpandTree(self, evt):
|
|
349
|
+
current = self.tree.GetSelection()
|
|
350
|
+
self.tree.ExpandAll()
|
|
351
|
+
self.tree.EnsureVisible(current)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
def OnCollapseTree(self, evt):
|
|
355
|
+
current = self.tree.GetSelection()
|
|
356
|
+
self.tree.CollapseAll()
|
|
357
|
+
self.tree.EnsureVisible(current)
|
|
358
|
+
self.tree.SelectItem(current)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
def OnHighlightItem(self, evt):
|
|
362
|
+
self.HighlightCurrentItem()
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
def OnWatchEvents(self, evt):
|
|
366
|
+
item = self.tree.GetSelection()
|
|
367
|
+
obj = self.tree.GetItemData(item)
|
|
368
|
+
if isinstance(obj, wx.Window):
|
|
369
|
+
import wx.lib.eventwatcher as ew
|
|
370
|
+
watcher = ew.EventWatcher(self)
|
|
371
|
+
watcher.watch(obj)
|
|
372
|
+
watcher.Show()
|
|
373
|
+
|
|
374
|
+
def OnWatchEventsUI(self, evt):
|
|
375
|
+
item = self.tree.GetSelection()
|
|
376
|
+
if item:
|
|
377
|
+
obj = self.tree.GetItemData(item)
|
|
378
|
+
evt.Enable(isinstance(obj, wx.Window))
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
def OnToggleFilling(self, evt):
|
|
382
|
+
self.crust.ToggleTools()
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
def OnShowSizersUI(self, evt):
|
|
386
|
+
evt.Check(self.includeSizers)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
def OnToggleFillingUI(self, evt):
|
|
390
|
+
if self.started:
|
|
391
|
+
evt.Check(self.crust.ToolsShown())
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
def LoadSettings(self, config):
|
|
395
|
+
self.crust.LoadSettings(config)
|
|
396
|
+
self.info.LoadSettings(config)
|
|
397
|
+
|
|
398
|
+
pos = wx.Point(config.ReadInt('Window/PosX', -1),
|
|
399
|
+
config.ReadInt('Window/PosY', -1))
|
|
400
|
+
|
|
401
|
+
size = wx.Size(config.ReadInt('Window/Width', -1),
|
|
402
|
+
config.ReadInt('Window/Height', -1))
|
|
403
|
+
self.SetSize(size)
|
|
404
|
+
self.Move(pos)
|
|
405
|
+
rect = utils.AdjustRectToScreen(self.GetRect())
|
|
406
|
+
self.SetRect(rect)
|
|
407
|
+
|
|
408
|
+
perspective = config.Read('perspective', '')
|
|
409
|
+
if perspective:
|
|
410
|
+
try:
|
|
411
|
+
self.mgr.LoadPerspective(perspective)
|
|
412
|
+
except wx.PyAssertionError:
|
|
413
|
+
# ignore bad perspective string errors
|
|
414
|
+
pass
|
|
415
|
+
self.includeSizers = config.ReadBool('includeSizers', False)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
def SaveSettings(self, config):
|
|
419
|
+
self.crust.SaveSettings(config)
|
|
420
|
+
self.info.SaveSettings(config)
|
|
421
|
+
|
|
422
|
+
if not self.IsIconized() and not self.IsMaximized():
|
|
423
|
+
w, h = self.GetSize()
|
|
424
|
+
config.WriteInt('Window/Width', w)
|
|
425
|
+
config.WriteInt('Window/Height', h)
|
|
426
|
+
|
|
427
|
+
px, py = self.GetPosition()
|
|
428
|
+
config.WriteInt('Window/PosX', px)
|
|
429
|
+
config.WriteInt('Window/PosY', py)
|
|
430
|
+
|
|
431
|
+
if hasattr(self, "mgr"):
|
|
432
|
+
perspective = self.mgr.SavePerspective()
|
|
433
|
+
config.Write('perspective', perspective)
|
|
434
|
+
config.WriteBool('includeSizers', self.includeSizers)
|
|
435
|
+
|
|
436
|
+
#---------------------------------------------------------------------------
|
|
437
|
+
|
|
438
|
+
# should inspection frame (and children) be includeed in the tree?
|
|
439
|
+
INCLUDE_INSPECTOR = True
|
|
440
|
+
|
|
441
|
+
USE_CUSTOMTREECTRL = False
|
|
442
|
+
if USE_CUSTOMTREECTRL:
|
|
443
|
+
import wx.lib.agw.customtreectrl as CT
|
|
444
|
+
TreeBaseClass = CT.CustomTreeCtrl
|
|
445
|
+
else:
|
|
446
|
+
TreeBaseClass = wx.TreeCtrl
|
|
447
|
+
|
|
448
|
+
class InspectionTree(TreeBaseClass):
|
|
449
|
+
"""
|
|
450
|
+
All of the widgets in the app, and optionally their sizers, are
|
|
451
|
+
loaded into this tree.
|
|
452
|
+
"""
|
|
453
|
+
def __init__(self, *args, **kw):
|
|
454
|
+
#s = kw.get('style', 0)
|
|
455
|
+
#kw['style'] = s | wx.TR_DEFAULT_STYLE | wx.TR_HIDE_ROOT
|
|
456
|
+
TreeBaseClass.__init__(self, *args, **kw)
|
|
457
|
+
self.roots = []
|
|
458
|
+
self.built = False
|
|
459
|
+
self.Bind(wx.EVT_TREE_SEL_CHANGED, self.OnSelectionChanged)
|
|
460
|
+
self.toolFrame = wx.GetTopLevelParent(self)
|
|
461
|
+
if 'wxMac' in wx.PlatformInfo:
|
|
462
|
+
self.SetWindowVariant(wx.WINDOW_VARIANT_SMALL)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
def BuildTree(self, startWidget, includeSizers=False, expandFrame=False):
|
|
466
|
+
if self.GetCount():
|
|
467
|
+
self.DeleteAllItems()
|
|
468
|
+
self.roots = []
|
|
469
|
+
self.built = False
|
|
470
|
+
|
|
471
|
+
realRoot = self.AddRoot('Top-level Windows')
|
|
472
|
+
|
|
473
|
+
for w in wx.GetTopLevelWindows():
|
|
474
|
+
if w is wx.GetTopLevelParent(self) and not INCLUDE_INSPECTOR:
|
|
475
|
+
continue
|
|
476
|
+
root = self._AddWidget(realRoot, w, includeSizers)
|
|
477
|
+
self.roots.append(root)
|
|
478
|
+
|
|
479
|
+
# Expand the subtree containing the startWidget, and select it.
|
|
480
|
+
if not startWidget or not isinstance(startWidget, wx.Window):
|
|
481
|
+
startWidget = wx.GetApp().GetTopWindow()
|
|
482
|
+
if expandFrame:
|
|
483
|
+
top = wx.GetTopLevelParent(startWidget)
|
|
484
|
+
topItem = self.FindWidgetItem(top)
|
|
485
|
+
if topItem:
|
|
486
|
+
self.ExpandAllChildren(topItem)
|
|
487
|
+
self.built = True
|
|
488
|
+
self.SelectObj(startWidget)
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
def _AddWidget(self, parentItem, widget, includeSizers):
|
|
492
|
+
text = self.GetTextForWidget(widget)
|
|
493
|
+
item = self.AppendItem(parentItem, text)
|
|
494
|
+
self.SetItemData(item, widget)
|
|
495
|
+
|
|
496
|
+
# Add the sizer and widgets in the sizer, if we're showing them
|
|
497
|
+
widgetsInSizer = []
|
|
498
|
+
if includeSizers and widget.GetSizer() is not None:
|
|
499
|
+
widgetsInSizer = self._AddSizer(item, widget.GetSizer())
|
|
500
|
+
|
|
501
|
+
# Add any children not in the sizer, or all children if we're
|
|
502
|
+
# not showing the sizers
|
|
503
|
+
for child in widget.GetChildren():
|
|
504
|
+
if (not child in widgetsInSizer and
|
|
505
|
+
(not child.IsTopLevel() or
|
|
506
|
+
isinstance(child, wx.PopupWindow))):
|
|
507
|
+
self._AddWidget(item, child, includeSizers)
|
|
508
|
+
|
|
509
|
+
return item
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
def _AddSizer(self, parentItem, sizer):
|
|
513
|
+
widgets = []
|
|
514
|
+
text = self.GetTextForSizer(sizer)
|
|
515
|
+
item = self.AppendItem(parentItem, text)
|
|
516
|
+
self.SetItemData(item, sizer)
|
|
517
|
+
self.SetItemTextColour(item, "blue")
|
|
518
|
+
|
|
519
|
+
for si in sizer.GetChildren():
|
|
520
|
+
if si.IsWindow():
|
|
521
|
+
w = si.GetWindow()
|
|
522
|
+
self._AddWidget(item, w, True)
|
|
523
|
+
widgets.append(w)
|
|
524
|
+
elif si.IsSizer():
|
|
525
|
+
ss = si.GetSizer()
|
|
526
|
+
widgets += self._AddSizer(item, ss)
|
|
527
|
+
ss._parentSizer = sizer
|
|
528
|
+
else:
|
|
529
|
+
i = self.AppendItem(item, "Spacer")
|
|
530
|
+
self.SetItemData(i, si)
|
|
531
|
+
self.SetItemTextColour(i, "blue")
|
|
532
|
+
return widgets
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
def FindWidgetItem(self, widget):
|
|
536
|
+
"""
|
|
537
|
+
Find the tree item for a widget.
|
|
538
|
+
"""
|
|
539
|
+
for item in self.roots:
|
|
540
|
+
found = self._FindWidgetItem(widget, item)
|
|
541
|
+
if found:
|
|
542
|
+
return found
|
|
543
|
+
return None
|
|
544
|
+
|
|
545
|
+
def _FindWidgetItem(self, widget, item):
|
|
546
|
+
if self.GetItemData(item) is widget:
|
|
547
|
+
return item
|
|
548
|
+
child, cookie = self.GetFirstChild(item)
|
|
549
|
+
while child:
|
|
550
|
+
found = self._FindWidgetItem(widget, child)
|
|
551
|
+
if found:
|
|
552
|
+
return found
|
|
553
|
+
child, cookie = self.GetNextChild(item, cookie)
|
|
554
|
+
return None
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
def GetTextForWidget(self, widget):
|
|
558
|
+
"""
|
|
559
|
+
Returns the string to be used in the tree for a widget
|
|
560
|
+
"""
|
|
561
|
+
if hasattr(widget, 'GetName'):
|
|
562
|
+
return "%s (\"%s\")" % (widget.__class__.__name__, widget.GetName())
|
|
563
|
+
return widget.__class__.__name__
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
def GetTextForSizer(self, sizer):
|
|
567
|
+
"""
|
|
568
|
+
Returns the string to be used in the tree for a sizer
|
|
569
|
+
"""
|
|
570
|
+
return "%s" % sizer.__class__.__name__
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
def SelectObj(self, obj):
|
|
574
|
+
item = self.FindWidgetItem(obj)
|
|
575
|
+
if item:
|
|
576
|
+
self.EnsureVisible(item)
|
|
577
|
+
self.SelectItem(item)
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
def OnSelectionChanged(self, evt):
|
|
581
|
+
item = evt.GetItem()
|
|
582
|
+
if item:
|
|
583
|
+
obj = self.GetItemData(item)
|
|
584
|
+
self.toolFrame.SetObj(obj)
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
#---------------------------------------------------------------------------
|
|
588
|
+
|
|
589
|
+
class InspectionInfoPanel(wx.stc.StyledTextCtrl):
|
|
590
|
+
"""
|
|
591
|
+
Used to display information about the currently selected items.
|
|
592
|
+
Currently just a read-only :class:`stc.StyledTextCtrl` with some plain
|
|
593
|
+
text. Should probably add some styles to make things easier to
|
|
594
|
+
read.
|
|
595
|
+
"""
|
|
596
|
+
def __init__(self, *args, **kw):
|
|
597
|
+
wx.stc.StyledTextCtrl.__init__(self, *args, **kw)
|
|
598
|
+
|
|
599
|
+
from wx.py.editwindow import FACES
|
|
600
|
+
self.StyleSetSpec(wx.stc.STC_STYLE_DEFAULT,
|
|
601
|
+
"face:%(mono)s,size:%(size)d,back:%(backcol)s" % FACES)
|
|
602
|
+
self.StyleClearAll()
|
|
603
|
+
self.SetReadOnly(True)
|
|
604
|
+
self.SetMarginType(1, 0)
|
|
605
|
+
self.SetMarginWidth(1, 0)
|
|
606
|
+
self.SetSelForeground(True, wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT))
|
|
607
|
+
self.SetSelBackground(True, wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHT))
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
def LoadSettings(self, config):
|
|
611
|
+
zoom = config.ReadInt('View/Zoom/Info', 0)
|
|
612
|
+
self.SetZoom(zoom)
|
|
613
|
+
|
|
614
|
+
def SaveSettings(self, config):
|
|
615
|
+
config.WriteInt('View/Zoom/Info', self.GetZoom())
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
def UpdateInfo(self, obj):
|
|
619
|
+
st = []
|
|
620
|
+
if not obj:
|
|
621
|
+
st.append("Item is None or has been destroyed.")
|
|
622
|
+
|
|
623
|
+
elif isinstance(obj, wx.Window):
|
|
624
|
+
st += self.FmtWidget(obj)
|
|
625
|
+
|
|
626
|
+
elif isinstance(obj, wx.Sizer):
|
|
627
|
+
st += self.FmtSizer(obj)
|
|
628
|
+
|
|
629
|
+
elif isinstance(obj, wx.SizerItem):
|
|
630
|
+
st += self.FmtSizerItem(obj)
|
|
631
|
+
|
|
632
|
+
self.SetReadOnly(False)
|
|
633
|
+
self.SetText('\n'.join(st))
|
|
634
|
+
self.SetReadOnly(True)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
def Fmt(self, name, value):
|
|
638
|
+
if isinstance(value, six.string_types):
|
|
639
|
+
return " %s = '%s'" % (name, value)
|
|
640
|
+
else:
|
|
641
|
+
return " %s = %s" % (name, value)
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
def FmtWidget(self, obj):
|
|
645
|
+
def _countChildren(children):
|
|
646
|
+
count = 0
|
|
647
|
+
for child in children:
|
|
648
|
+
if not child.IsTopLevel():
|
|
649
|
+
count += 1
|
|
650
|
+
count += _countChildren(child.GetChildren())
|
|
651
|
+
return count
|
|
652
|
+
def _countAllChildren(children):
|
|
653
|
+
count = 0
|
|
654
|
+
for child in children:
|
|
655
|
+
count += 1
|
|
656
|
+
count += _countAllChildren(child.GetChildren())
|
|
657
|
+
return count
|
|
658
|
+
|
|
659
|
+
count = len([c for c in obj.GetChildren() if not c.IsTopLevel()])
|
|
660
|
+
rcount = _countChildren(obj.GetChildren())
|
|
661
|
+
tlwcount = _countAllChildren(obj.GetChildren())
|
|
662
|
+
|
|
663
|
+
st = ["Widget:"]
|
|
664
|
+
if hasattr(obj, 'GetName'):
|
|
665
|
+
st.append(self.Fmt('name', obj.GetName()))
|
|
666
|
+
st.append(self.Fmt('class', obj.__class__))
|
|
667
|
+
st.append(self.Fmt('bases', obj.__class__.__bases__))
|
|
668
|
+
st.append(self.Fmt('module', inspect.getmodule(obj)))
|
|
669
|
+
if hasattr(obj, 'this'):
|
|
670
|
+
st.append(self.Fmt('this', repr(obj.this)))
|
|
671
|
+
st.append(self.Fmt('id', obj.GetId()))
|
|
672
|
+
st.append(self.Fmt('style', obj.GetWindowStyle()))
|
|
673
|
+
st.append(self.Fmt('pos', obj.GetPosition()))
|
|
674
|
+
st.append(self.Fmt('size', obj.GetSize()))
|
|
675
|
+
st.append(self.Fmt('minsize', obj.GetMinSize()))
|
|
676
|
+
st.append(self.Fmt('bestsize', obj.GetBestSize()))
|
|
677
|
+
st.append(self.Fmt('client size', obj.GetClientSize()))
|
|
678
|
+
st.append(self.Fmt('virtual size',obj.GetVirtualSize()))
|
|
679
|
+
st.append(self.Fmt('IsEnabled', obj.IsEnabled()))
|
|
680
|
+
st.append(self.Fmt('IsShown', obj.IsShown()))
|
|
681
|
+
st.append(self.Fmt('IsFrozen', obj.IsFrozen()))
|
|
682
|
+
st.append(self.Fmt('fg color', obj.GetForegroundColour()))
|
|
683
|
+
st.append(self.Fmt('bg color', obj.GetBackgroundColour()))
|
|
684
|
+
st.append(self.Fmt('label', obj.GetLabel()))
|
|
685
|
+
if hasattr(obj, 'GetTitle'):
|
|
686
|
+
st.append(self.Fmt('title', obj.GetTitle()))
|
|
687
|
+
if hasattr(obj, 'GetValue'):
|
|
688
|
+
try:
|
|
689
|
+
st.append(self.Fmt('value', obj.GetValue()))
|
|
690
|
+
except Exception:
|
|
691
|
+
pass
|
|
692
|
+
st.append(' child count = %d (direct) %d (recursive) %d (include TLWs)' %
|
|
693
|
+
(count, rcount, tlwcount))
|
|
694
|
+
if obj.GetContainingSizer() is not None:
|
|
695
|
+
st.append('')
|
|
696
|
+
sizer = obj.GetContainingSizer()
|
|
697
|
+
st += self.FmtSizerItem(sizer.GetItem(obj))
|
|
698
|
+
return st
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
def FmtSizerItem(self, obj):
|
|
702
|
+
if obj is None:
|
|
703
|
+
return ['SizerItem: None']
|
|
704
|
+
|
|
705
|
+
st = ['SizerItem:']
|
|
706
|
+
st.append(self.Fmt('proportion', obj.GetProportion()))
|
|
707
|
+
st.append(self.Fmt('flag',
|
|
708
|
+
FlagsFormatter(itemFlags, obj.GetFlag())))
|
|
709
|
+
st.append(self.Fmt('border', obj.GetBorder()))
|
|
710
|
+
st.append(self.Fmt('pos', obj.GetPosition()))
|
|
711
|
+
st.append(self.Fmt('size', obj.GetSize()))
|
|
712
|
+
st.append(self.Fmt('minsize', obj.GetMinSize()))
|
|
713
|
+
st.append(self.Fmt('ratio', obj.GetRatio()))
|
|
714
|
+
st.append(self.Fmt('IsWindow', obj.IsWindow()))
|
|
715
|
+
st.append(self.Fmt('IsSizer', obj.IsSizer()))
|
|
716
|
+
st.append(self.Fmt('IsSpacer', obj.IsSpacer()))
|
|
717
|
+
st.append(self.Fmt('IsShown', obj.IsShown()))
|
|
718
|
+
if isinstance(obj, wx.GBSizerItem):
|
|
719
|
+
st.append(self.Fmt('cellpos', obj.GetPos()))
|
|
720
|
+
st.append(self.Fmt('cellspan', obj.GetSpan()))
|
|
721
|
+
st.append(self.Fmt('endpos', obj.GetEndPos()))
|
|
722
|
+
return st
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
def FmtSizer(self, obj):
|
|
726
|
+
st = ['Sizer:']
|
|
727
|
+
st.append(self.Fmt('class', obj.__class__))
|
|
728
|
+
if hasattr(obj, 'this'):
|
|
729
|
+
st.append(self.Fmt('this', repr(obj.this)))
|
|
730
|
+
st.append(self.Fmt('pos', obj.GetPosition()))
|
|
731
|
+
st.append(self.Fmt('size', obj.GetSize()))
|
|
732
|
+
st.append(self.Fmt('minsize', obj.GetMinSize()))
|
|
733
|
+
if isinstance(obj, wx.BoxSizer):
|
|
734
|
+
st.append(self.Fmt('orientation',
|
|
735
|
+
FlagsFormatter(orientFlags, obj.GetOrientation())))
|
|
736
|
+
if isinstance(obj, wx.GridSizer):
|
|
737
|
+
st.append(self.Fmt('cols', obj.GetCols()))
|
|
738
|
+
st.append(self.Fmt('rows', obj.GetRows()))
|
|
739
|
+
st.append(self.Fmt('vgap', obj.GetVGap()))
|
|
740
|
+
st.append(self.Fmt('hgap', obj.GetHGap()))
|
|
741
|
+
if isinstance(obj, wx.FlexGridSizer):
|
|
742
|
+
st.append(self.Fmt('rowheights', obj.GetRowHeights()))
|
|
743
|
+
st.append(self.Fmt('colwidths', obj.GetColWidths()))
|
|
744
|
+
st.append(self.Fmt('flexdir',
|
|
745
|
+
FlagsFormatter(orientFlags, obj.GetFlexibleDirection())))
|
|
746
|
+
st.append(self.Fmt('nonflexmode',
|
|
747
|
+
FlagsFormatter(flexmodeFlags, obj.GetNonFlexibleGrowMode())))
|
|
748
|
+
if isinstance(obj, wx.GridBagSizer):
|
|
749
|
+
st.append(self.Fmt('emptycell', obj.GetEmptyCellSize()))
|
|
750
|
+
|
|
751
|
+
if hasattr(obj, '_parentSizer'):
|
|
752
|
+
st.append('')
|
|
753
|
+
st += self.FmtSizerItem(obj._parentSizer.GetItem(obj))
|
|
754
|
+
|
|
755
|
+
return st
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
class FlagsFormatter(object):
|
|
759
|
+
def __init__(self, d, val):
|
|
760
|
+
self.d = d
|
|
761
|
+
self.val = val
|
|
762
|
+
|
|
763
|
+
def __str__(self):
|
|
764
|
+
st = []
|
|
765
|
+
for k in self.d:
|
|
766
|
+
if self.val & k:
|
|
767
|
+
st.append(self.d[k])
|
|
768
|
+
if st:
|
|
769
|
+
return '|'.join(st)
|
|
770
|
+
else:
|
|
771
|
+
return '0'
|
|
772
|
+
|
|
773
|
+
orientFlags = {
|
|
774
|
+
wx.HORIZONTAL : 'wx.HORIZONTAL',
|
|
775
|
+
wx.VERTICAL : 'wx.VERTICAL',
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
itemFlags = {
|
|
779
|
+
wx.TOP : 'wx.TOP',
|
|
780
|
+
wx.BOTTOM : 'wx.BOTTOM',
|
|
781
|
+
wx.LEFT : 'wx.LEFT',
|
|
782
|
+
wx.RIGHT : 'wx.RIGHT',
|
|
783
|
+
# wx.ALL : 'wx.ALL',
|
|
784
|
+
wx.EXPAND : 'wx.EXPAND',
|
|
785
|
+
# wx.GROW : 'wx.GROW',
|
|
786
|
+
wx.SHAPED : 'wx.SHAPED',
|
|
787
|
+
wx.STRETCH_NOT : 'wx.STRETCH_NOT',
|
|
788
|
+
# wx.ALIGN_CENTER : 'wx.ALIGN_CENTER',
|
|
789
|
+
wx.ALIGN_LEFT : 'wx.ALIGN_LEFT',
|
|
790
|
+
wx.ALIGN_RIGHT : 'wx.ALIGN_RIGHT',
|
|
791
|
+
wx.ALIGN_TOP : 'wx.ALIGN_TOP',
|
|
792
|
+
wx.ALIGN_BOTTOM : 'wx.ALIGN_BOTTOM',
|
|
793
|
+
wx.ALIGN_CENTER_VERTICAL : 'wx.ALIGN_CENTER_VERTICAL',
|
|
794
|
+
wx.ALIGN_CENTER_HORIZONTAL : 'wx.ALIGN_CENTER_HORIZONTAL',
|
|
795
|
+
wx.ADJUST_MINSIZE : 'wx.ADJUST_MINSIZE',
|
|
796
|
+
wx.FIXED_MINSIZE : 'wx.FIXED_MINSIZE',
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
flexmodeFlags = {
|
|
800
|
+
wx.FLEX_GROWMODE_NONE : 'wx.FLEX_GROWMODE_NONE',
|
|
801
|
+
wx.FLEX_GROWMODE_SPECIFIED : 'wx.FLEX_GROWMODE_SPECIFIED',
|
|
802
|
+
wx.FLEX_GROWMODE_ALL : 'wx.FLEX_GROWMODE_ALL',
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
#---------------------------------------------------------------------------
|
|
809
|
+
|
|
810
|
+
class _InspectionHighlighter(object):
|
|
811
|
+
"""
|
|
812
|
+
All the highlighting code. A separate class to help reduce the
|
|
813
|
+
clutter in InspectionFrame.
|
|
814
|
+
"""
|
|
815
|
+
|
|
816
|
+
# should non TLWs be flashed too? Otherwise use a highlight rectangle
|
|
817
|
+
flashAll = False
|
|
818
|
+
|
|
819
|
+
color1 = 'red' # for widgets and sizers
|
|
820
|
+
color2 = 'red' # for item boundaries in sizers
|
|
821
|
+
color3 = '#00008B' # for items in sizers
|
|
822
|
+
|
|
823
|
+
highlightTime = 3000 # how long to display the highlights
|
|
824
|
+
|
|
825
|
+
# how to draw it
|
|
826
|
+
useOverlay = 'wxMac' in wx.PlatformInfo or 'gtk3' in wx.PlatformInfo
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
def __init__(self):
|
|
830
|
+
if self.useOverlay:
|
|
831
|
+
self.overlay = wx.Overlay()
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
def HighlightCurrentItem(self, tree):
|
|
835
|
+
"""
|
|
836
|
+
Draw a highlight rectangle around the item represented by the
|
|
837
|
+
current tree selection.
|
|
838
|
+
"""
|
|
839
|
+
item = tree.GetSelection()
|
|
840
|
+
obj = tree.GetItemData(item)
|
|
841
|
+
|
|
842
|
+
if isinstance(obj, wx.Window):
|
|
843
|
+
self.HighlightWindow(obj)
|
|
844
|
+
|
|
845
|
+
elif isinstance(obj, wx.Sizer):
|
|
846
|
+
self.HighlightSizer(obj)
|
|
847
|
+
|
|
848
|
+
elif isinstance(obj, wx.SizerItem): # Spacer
|
|
849
|
+
pItem = tree.GetItemParent(item)
|
|
850
|
+
sizer = tree.GetItemData(pItem)
|
|
851
|
+
self.HighlightSizerItem(obj, sizer)
|
|
852
|
+
|
|
853
|
+
else:
|
|
854
|
+
raise RuntimeError("unknown object type: %s" % obj.__class__.__name__)
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
def HighlightWindow(self, win):
|
|
858
|
+
rect = win.GetRect()
|
|
859
|
+
tlw = win.GetTopLevelParent()
|
|
860
|
+
if self.flashAll or tlw is win:
|
|
861
|
+
self.FlickerTLW(win)
|
|
862
|
+
return
|
|
863
|
+
else:
|
|
864
|
+
pos = self.FindHighlightPos(tlw, win.ClientToScreen((0,0)))
|
|
865
|
+
rect.SetPosition(pos)
|
|
866
|
+
self.DoHighlight(tlw, rect, self.color1)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
def HighlightSizerItem(self, item, sizer, penWidth=2):
|
|
870
|
+
win = sizer.GetContainingWindow()
|
|
871
|
+
tlw = win.GetTopLevelParent()
|
|
872
|
+
rect = item.GetRect()
|
|
873
|
+
pos = rect.GetPosition()
|
|
874
|
+
pos = self.FindHighlightPos(tlw, win.ClientToScreen(pos))
|
|
875
|
+
rect.SetPosition(pos)
|
|
876
|
+
if rect.width < 1: rect.width = 1
|
|
877
|
+
if rect.height < 1: rect.height = 1
|
|
878
|
+
self.DoHighlight(tlw, rect, self.color1, penWidth)
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
def HighlightSizer(self, sizer):
|
|
882
|
+
# first do the outline of the whole sizer like normal
|
|
883
|
+
win = sizer.GetContainingWindow()
|
|
884
|
+
tlw = win.GetTopLevelParent()
|
|
885
|
+
pos = sizer.GetPosition()
|
|
886
|
+
pos = self.FindHighlightPos(tlw, win.ClientToScreen(pos))
|
|
887
|
+
rect = wx.Rect(pos, sizer.GetSize())
|
|
888
|
+
dc, dco = self.DoHighlight(tlw, rect, self.color1)
|
|
889
|
+
|
|
890
|
+
# Now highlight the actual items within the sizer. This may
|
|
891
|
+
# get overdrawn by the code below for item boundaries, but if
|
|
892
|
+
# there is border padding then this will help make it more
|
|
893
|
+
# obvious.
|
|
894
|
+
dc.SetPen(wx.Pen(self.color3, 1))
|
|
895
|
+
for item in sizer.GetChildren():
|
|
896
|
+
if item.IsShown():
|
|
897
|
+
if item.IsWindow():
|
|
898
|
+
r = item.GetWindow().GetRect()
|
|
899
|
+
elif item.IsSizer():
|
|
900
|
+
p = item.GetSizer().GetPosition()
|
|
901
|
+
s = item.GetSizer().GetSize()
|
|
902
|
+
r = wx.Rect(p,s)
|
|
903
|
+
else:
|
|
904
|
+
continue
|
|
905
|
+
r = self.AdjustRect(tlw, win, r)
|
|
906
|
+
dc.DrawRectangle(r)
|
|
907
|
+
|
|
908
|
+
# Next highlight the area allocated to each item in the sizer.
|
|
909
|
+
# Each kind of sizer will need to be done a little
|
|
910
|
+
# differently.
|
|
911
|
+
dc.SetPen(wx.Pen(self.color2, 1))
|
|
912
|
+
|
|
913
|
+
if isinstance(sizer, wx.WrapSizer):
|
|
914
|
+
for item in sizer.GetChildren():
|
|
915
|
+
ir = self.AdjustRect(tlw, win, item.Rect)
|
|
916
|
+
dc.DrawRectangle(ir)
|
|
917
|
+
|
|
918
|
+
# wx.BoxSizer, wx.StaticBoxSizer
|
|
919
|
+
elif isinstance(sizer, wx.BoxSizer):
|
|
920
|
+
# NOTE: we have to do some reverse-engineering here for
|
|
921
|
+
# borders because the sizer and sizer item don't give us
|
|
922
|
+
# enough information to know for sure where item
|
|
923
|
+
# (allocated) boundaries are, just the boundaries of the
|
|
924
|
+
# actual widgets. TODO: It would be nice to add something
|
|
925
|
+
# to wx.SizerItem that would give us the full bounds, but
|
|
926
|
+
# that will have to wait until 2.9...
|
|
927
|
+
x, y = rect.GetPosition()
|
|
928
|
+
if sizer.Orientation == wx.HORIZONTAL:
|
|
929
|
+
y1 = y + rect.height
|
|
930
|
+
for item in sizer.GetChildren():
|
|
931
|
+
ir = self.AdjustRect(tlw, win, item.Rect)
|
|
932
|
+
x = ir.x
|
|
933
|
+
if item.Flag & wx.LEFT:
|
|
934
|
+
x -= item.Border
|
|
935
|
+
dc.DrawLine(x, y, x, y1)
|
|
936
|
+
if item.IsSizer():
|
|
937
|
+
dc.DrawRectangle(ir)
|
|
938
|
+
|
|
939
|
+
if sizer.Orientation == wx.VERTICAL:
|
|
940
|
+
x1 = x + rect.width
|
|
941
|
+
for item in sizer.GetChildren():
|
|
942
|
+
ir = self.AdjustRect(tlw, win, item.Rect)
|
|
943
|
+
y = ir.y
|
|
944
|
+
if item.Flag & wx.TOP:
|
|
945
|
+
y -= item.Border
|
|
946
|
+
dc.DrawLine(x, y, x1, y)
|
|
947
|
+
if item.IsSizer():
|
|
948
|
+
dc.DrawRectangle(ir)
|
|
949
|
+
|
|
950
|
+
# wx.FlexGridSizer, wx.GridBagSizer
|
|
951
|
+
elif isinstance(sizer, wx.FlexGridSizer):
|
|
952
|
+
sizer.Layout()
|
|
953
|
+
y = rect.y
|
|
954
|
+
for rh in sizer.RowHeights[:-1]:
|
|
955
|
+
y += rh
|
|
956
|
+
dc.DrawLine(rect.x, y, rect.x+rect.width, y)
|
|
957
|
+
y+= sizer.VGap
|
|
958
|
+
dc.DrawLine(rect.x, y, rect.x+rect.width, y)
|
|
959
|
+
x = rect.x
|
|
960
|
+
for cw in sizer.ColWidths[:-1]:
|
|
961
|
+
x += cw
|
|
962
|
+
dc.DrawLine(x, rect.y, x, rect.y+rect.height)
|
|
963
|
+
x+= sizer.HGap
|
|
964
|
+
dc.DrawLine(x, rect.y, x, rect.y+rect.height)
|
|
965
|
+
|
|
966
|
+
# wx.GridSizer
|
|
967
|
+
elif isinstance(sizer, wx.GridSizer):
|
|
968
|
+
# NOTE: More reverse engineering (see above.) This time we
|
|
969
|
+
# need to determine what the sizer is using for row
|
|
970
|
+
# heights and column widths.
|
|
971
|
+
#rh = cw = 0
|
|
972
|
+
#for item in sizer.GetChildren():
|
|
973
|
+
# rh = max(rh, item.Size.height)
|
|
974
|
+
# cw = max(cw, item.Size.width)
|
|
975
|
+
cw = (rect.width - sizer.HGap*(sizer.Cols-1)) / sizer.Cols
|
|
976
|
+
rh = (rect.height - sizer.VGap*(sizer.Rows-1)) / sizer.Rows
|
|
977
|
+
y = rect.y
|
|
978
|
+
for i in range(sizer.Rows-1):
|
|
979
|
+
y += rh
|
|
980
|
+
dc.DrawLine(rect.x, y, rect.x+rect.width, y)
|
|
981
|
+
y+= sizer.VGap
|
|
982
|
+
dc.DrawLine(rect.x, y, rect.x+rect.width, y)
|
|
983
|
+
x = rect.x
|
|
984
|
+
for i in range(sizer.Cols-1):
|
|
985
|
+
x += cw
|
|
986
|
+
dc.DrawLine(x, rect.y, x, rect.y+rect.height)
|
|
987
|
+
x+= sizer.HGap
|
|
988
|
+
dc.DrawLine(x, rect.y, x, rect.y+rect.height)
|
|
989
|
+
|
|
990
|
+
# Anything else is probably a custom sizer, just highlight the items
|
|
991
|
+
else:
|
|
992
|
+
del dc, odc
|
|
993
|
+
for item in sizer.GetChildren():
|
|
994
|
+
self.HighlightSizerItem(item, sizer, 1)
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
def FindHighlightPos(self, tlw, pos):
|
|
998
|
+
if self.useOverlay:
|
|
999
|
+
# We'll be using a ClientDC in this case so adjust the
|
|
1000
|
+
# position accordingly
|
|
1001
|
+
pos = tlw.ScreenToClient(pos)
|
|
1002
|
+
return pos
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
def AdjustRect(self, tlw, win, rect):
|
|
1006
|
+
pos = self.FindHighlightPos(tlw, win.ClientToScreen(rect.Position))
|
|
1007
|
+
rect.Position = pos
|
|
1008
|
+
return wx.Rect(pos, rect.Size)
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
def DoHighlight(self, tlw, rect, colour, penWidth=2):
|
|
1012
|
+
if not tlw.IsFrozen():
|
|
1013
|
+
tlw.Freeze()
|
|
1014
|
+
|
|
1015
|
+
if self.useOverlay:
|
|
1016
|
+
dc = wx.ClientDC(tlw)
|
|
1017
|
+
dco = wx.DCOverlay(self.overlay, dc)
|
|
1018
|
+
dco.Clear()
|
|
1019
|
+
else:
|
|
1020
|
+
dc = wx.ScreenDC()
|
|
1021
|
+
dco = None
|
|
1022
|
+
|
|
1023
|
+
dc.SetPen(wx.Pen(colour, penWidth))
|
|
1024
|
+
dc.SetBrush(wx.TRANSPARENT_BRUSH)
|
|
1025
|
+
|
|
1026
|
+
drawRect = wx.Rect(*rect)
|
|
1027
|
+
dc.DrawRectangle(drawRect)
|
|
1028
|
+
|
|
1029
|
+
drawRect.Inflate(2,2)
|
|
1030
|
+
if not self.useOverlay:
|
|
1031
|
+
pos = tlw.ScreenToClient(drawRect.GetPosition())
|
|
1032
|
+
drawRect.SetPosition(pos)
|
|
1033
|
+
wx.CallLater(self.highlightTime, self.DoUnhighlight, tlw, drawRect)
|
|
1034
|
+
|
|
1035
|
+
return dc, dco
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
def DoUnhighlight(self, tlw, rect):
|
|
1039
|
+
if not tlw:
|
|
1040
|
+
return
|
|
1041
|
+
if tlw.IsFrozen():
|
|
1042
|
+
tlw.Thaw()
|
|
1043
|
+
if self.useOverlay:
|
|
1044
|
+
dc = wx.ClientDC(tlw)
|
|
1045
|
+
dco = wx.DCOverlay(self.overlay, dc)
|
|
1046
|
+
dco.Clear()
|
|
1047
|
+
del dc, dco
|
|
1048
|
+
self.overlay.Reset()
|
|
1049
|
+
else:
|
|
1050
|
+
tlw.RefreshRect(rect)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
def FlickerTLW(self, tlw):
|
|
1054
|
+
"""
|
|
1055
|
+
Use a timer to alternate a TLW between shown and hidded state a
|
|
1056
|
+
few times. Use to highlight a TLW since drawing and clearing an
|
|
1057
|
+
outline is trickier.
|
|
1058
|
+
"""
|
|
1059
|
+
self.flickerCount = 0
|
|
1060
|
+
tlw.Hide()
|
|
1061
|
+
self.cl = wx.CallLater(300, self._Toggle, tlw)
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
def _Toggle(self, tlw):
|
|
1065
|
+
if tlw.IsShown():
|
|
1066
|
+
tlw.Hide()
|
|
1067
|
+
self.cl.Restart()
|
|
1068
|
+
else:
|
|
1069
|
+
tlw.Show()
|
|
1070
|
+
self.flickerCount += 1
|
|
1071
|
+
if self.flickerCount < 4:
|
|
1072
|
+
self.cl.Restart()
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
#---------------------------------------------------------------------------
|
|
1076
|
+
from wx.lib.embeddedimage import PyEmbeddedImage
|
|
1077
|
+
|
|
1078
|
+
Refresh = PyEmbeddedImage(
|
|
1079
|
+
"iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAABehJ"
|
|
1080
|
+
"REFUSImdll1olNkZx3/vRzIxk5lJbMwmGHccP+JHS6VrYo3TKCvL0i0LLTRB8cbLitp6p9ib"
|
|
1081
|
+
"elHohVLT0BqXBnetqBQveiWF0oXiF+1FS4PUxFgbm0yYTN/JZL4nmcl7/r3IJMRlodAHDhwO"
|
|
1082
|
+
"z8d5/uf/PM+x+N9yADgDfAtwAAvwgafAJ8DfvsxIq3q4G86cuiHAB8C/gZLjOO/4vv8u8LWu"
|
|
1083
|
+
"rq4lgGQy2dTQ0JDZuXPn9snJyXmgGYgBnwMGcCzwBZb7BedbgJ+5rntk69atJdd1f/D69evX"
|
|
1084
|
+
"tm1bAwMDDA4ONlmWxYMHD5iYmGj0fT8BhGOx2Cezs7MdKysrfwZ+DCTXgmzMaovjOPdXs1tf"
|
|
1085
|
+
"nwJXgX8ODQ0plUqpXC7r9OnTAmZDodDNtra2zzba2Lb9AOj8MtjGAIVCIfX29ppDhw6Z1tZW"
|
|
1086
|
+
"AWpvb9fNmzf9dDqtUqmksbExPxQKCdC+ffvU29ur3t5eEw6H1wL9po7KunzgOM4/AB08eNBM"
|
|
1087
|
+
"TU3J8zxdunRJtm3r4sWLkqRCoaBkMilJunz5smzb1oULFzQ/P6/p6Wn19/cbQK7rvgQ+2hig"
|
|
1088
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2vPH369NQPivi/in8Df18XwyUA5+QAAAAASUVORK5CYII=")
|
|
1141
|
+
|
|
1142
|
+
ShowSizers = PyEmbeddedImage(
|
|
1143
|
+
"iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAABChJ"
|
|
1144
|
+
"REFUSIm1lU1oXFUUx3/33nn3zbx5mcm0M5OZxGlNAn6XUqlRKIIWKrXqRlCLOwvitrooqKDg"
|
|
1145
|
+
"RhcirkSpigSECl0WBa104UKoSIoLS8TWlja1NTOTyUzz5s37uNdFWpumJSktHriry//8zj38"
|
|
1146
|
+
"z7nwP4dY5/7BUqn0quu62621i9cJhSjGcTzTarUOAr/dFn1sbGy/N+SdksgoQ2bh2mFBQpTz"
|
|
1147
|
+
"vdP1ev3AWjkya10qpe4yPbPZ3GeUecEMswQoYK4I3w+wzWiz3qgbtw0AQoHoswWfNxyYLYE2"
|
|
1148
|
+
"8GcVfr8IzU5gjOnfCWA5YuCvHPw0CRkLhGDjW5LeGiAFWjGcaYKyUHLAwvoeWQcgpczZjM3z"
|
|
1149
|
+
"A3CiD5fPAlikFXRicNy8lNJbK4das/A0VdKVJd/4oWqJZhSGVcJUeH3n5JA/NGe1OhEG/W+i"
|
|
1150
|
+
"KJq9LUAURe1KuVJQrrqnn4YVrXXkOE5gFCpf8NteLvdts9k8AgRXJDf0bC1ArlgsTiVJsqfX"
|
|
1151
|
+
"6+1K03RQLpenfd//tdvtbh0MBvdaaxe01pcGg8FFlq1wU8jNoqiUeq5Wqx3SWlutdWvTpk3v"
|
|
1152
|
+
"ANuBbY1G423Xdecdx7EjIyOHlVLPA6X1kl4lK6XU7rGxsU+UUkue54XlcvlL4LEVL36kUql8"
|
|
1153
|
+
"ns/nl6SUwejo6EGl1DNcM81/r7ihRfl8fmehUHil2Wzu1Vr3Xdc9lCTJZ4PB4DhXzAlcAOa0"
|
|
1154
|
+
"1koIMdntdqdKpZInhGjHcXx6ZT4FjDQajR21Wm2L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+wqEiGAtRzhyRIQh9eH+RXAMBmvfIuohcwheLnTnZ6vM3NjAaQ"
|
|
1215
|
+
"1mTahvrAHwCzj+BJVI83sesHAMjRM3OVgNkFm/WK292+EzKvB86zr5Lu76b2AubdAbqMda0+"
|
|
1216
|
+
"UOIqFdY2lKMHYGrw06DL3Tbrxzmi/Iq0JNLyO/Pxm/Uze/BXVRIUKajvKM6AXuh/kfjeHTC7"
|
|
1217
|
+
"TAdw1RfahmlJFOewgtjvQY/0QgeNe3MUOVQsw2/OwQBRkQy5Op2lYixN7sEXVhRd4PXVHvwA"
|
|
1218
|
+
"AAAASUVORK5CYII=")
|
|
1219
|
+
|
|
1220
|
+
EvtWatcher = PyEmbeddedImage(
|
|
1221
|
+
"iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAABwxJ"
|
|
1222
|
+
"REFUSIltlltsXFcVhr+zzzlzztw949vMxGPHl3Hiqk6I07RJhcBGoUK0VSuaSFwahAChSkiV"
|
|
1223
|
+
"QCotlQAJP/FAeKFPSChRJUAtqZACjUpJBCqUlEY0l7HjpraT+DKejDPjmfHcznXz0Bg1iPWy"
|
|
1224
|
+
"ttbD/629tbT/pXB/KIAEVCADxIBdwMi93AX4QBlYA5aBIlADNvg/oXzirAIeoAcCgVFN0460"
|
|
1225
|
+
"Wq0DuVzuc7VaLVspl52xsTHN9TwWFxfdbDarKYqysLKy8tdYLHalXq9fBG7fa0Dcy/8F7BSi"
|
|
1226
|
+
"hmEcdF33Cc/znt63b1//1NRUMBQKqeFolOHRMTzbYmlxEcdx2Nrast+7eNFaWl6+bZrm667r"
|
|
1227
|
+
"nnNd9ypg7Whq9yA+EInH4w/VarUTmqY9MTMz03vs2HFS/X1eOjvojmUHFM22sIMRXN/nxlxe"
|
|
1228
|
+
"lutVdXLqYPTM73774KVLl+KKosSCwaBst9vXdiDqzg0MwzjSbDafBR6bmppKv/TSS+7MzLTs"
|
|
1229
|
+
"7elTUwM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