wxWidgets/wxPython/demo
Robin Dunn 9416aa89ca Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 22:47:09 +00:00
..
bitmaps Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
bmp_source Added a demo to show off all the colours that can be added to 2001-04-19 23:32:05 +00:00
data Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
.cvsignore Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
About.py some little fixes 2001-02-21 21:12:10 +00:00
ActiveXWrapper_Acrobat.py Other odds and ends... 2001-04-02 03:49:52 +00:00
ActiveXWrapper_IE.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
ColorPanel.py
ColourDB.py Added a demo to show off all the colours that can be added to 2001-04-19 23:32:05 +00:00
ColourSelect.py A little tweak so the button sizes right 2001-04-02 07:26:54 +00:00
CustomDragAndDrop.py
demo.py
demoMainLoop.py
DialogUnits.py
DragAndDrop.py
encode_bitmaps.py Added a demo to show off all the colours that can be added to 2001-04-19 23:32:05 +00:00
FancyText.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
FileBrowseButton.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
FontEnumerator.py
GenericButtons.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
GridCustEditor.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
GridCustTable.py
GridEnterHandler.py
GridHugeTable.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
GridSimple.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
GridStdEdRend.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
hangman.py
ImageBrowser.py Added colourselect.py, imagebrowser.py and an updated calendar.py to 2001-04-02 05:57:32 +00:00
images.py Added a demo to show off all the colours that can be added to 2001-04-19 23:32:05 +00:00
infoframe.py Updated infoframe from Chris Fama 2001-04-12 02:53:14 +00:00
LayoutAnchors.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
Layoutf.py
Main.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
MDIDemo.py Fixed a bunch of leaking references in how the callbacks deal with 2000-12-10 08:37:52 +00:00
MDISashDemo.py Fixed a bunch of leaking references in how the callbacks deal with 2000-12-10 08:37:52 +00:00
OOR.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
paper.xml
PrintFramework.py
PyShell.py Re-added a couple files that got left out of the merge somehow... 2000-10-30 21:58:36 +00:00
PyShellWindow.py
PythonEvents.py
pyTree.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
quotes.xml
README.txt
redemo.py
run.py
Sizers.py
SlashDot.py
Threads.py
viewer_basics.py
viewer.py
widgetTest.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxButton.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxCalendar.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxCalendarCtrl.py
wxCheckBox.py
wxCheckListBox.py
wxChoice.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
wxColourDialog.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
wxComboBox.py
wxDialog.py
wxDirDialog.py
wxDragImage.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxEditor.py
wxFileDialog.py
wxFloatBar.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxFontDialog.py
wxFrame.py
wxGauge.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxGLCanvas.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxGrid.py Added demo of creating a custom Grid Editor 2000-11-04 07:38:17 +00:00
wxHtmlWindow.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxImage.py
wxLayoutConstraints.py
wxListBox.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
wxListCtrl.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
wxMask.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxMessageDialog.py
wxMiniFrame.py
wxMultipleChoiceDialog.py
wxMVCTree.py
wxNotebook.py
wxOGL.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxPageSetupDialog.py
wxPlotCanvas.py
wxPrintDialog.py
wxProcess.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxProgressDialog.py
wxRadioBox.py
wxSashWindow.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
wxScrolledMessageDialog.py
wxScrolledWindow.py MouseWheel stuff 2001-05-06 05:03:24 +00:00
wxSingleChoiceDialog.py
wxSlider.py
wxSpinButton.py
wxSpinCtrl.py
wxSplitterWindow.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxStaticBitmap.py Images can now be embedded in Python source files. 2001-04-09 19:36:36 +00:00
wxStaticText.py
wxStatusBar.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxStyledTextCtrl_1.py Added code to optionally put the wxSTC on a panel instead of directly 2001-03-27 18:56:28 +00:00
wxStyledTextCtrl_2.py Added code to optionally put the wxSTC on a panel instead of directly 2001-03-27 18:56:28 +00:00
wxTextCtrl.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00
wxTextEntryDialog.py Copied/merged from the 2.2 branch. 2001-02-16 08:19:50 +00:00
wxTimer.py
wxToggleButton.py MouseWheel stuff 2001-05-06 05:03:24 +00:00
wxToolBar.py Check if the timer is already running before starting it again 2001-05-01 16:49:23 +00:00
wxTreeCtrl.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
wxValidator.py Implemented the first phase of OOR (Original Object Return). See the 2001-05-17 22:47:09 +00:00
wxVTKRenderWindow.py
XMLtreeview.py Merged wxPython 2.2.2 over to the main branch 2000-10-30 21:08:42 +00:00

To run the main demo in this directory, execute demo.py.  In other
words, one of the following commands should do it:

       demo.py
       python demo.py
       pythonw demo.py