Update the notebook before running the sample in case it is a modal

dialog, (but the best thing to do is to just always make a panel with
buttons to launch the dialog...)

Fix the find text to ensure that the found text is visible

Added ability to open a PyShell window that has the app and demo frame
preloaded in the namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-08-06 18:23:52 +00:00
parent 6394cd8214
commit 887a1bd93e
2 changed files with 67 additions and 13 deletions

View File

@@ -106,6 +106,18 @@ edited and reloaded, all from within the demo. You can switch back
and forth between the default and your edited version, and any errors
ocurring upon the reload are reported on the Demo tab.
Added a menu item in the demo that will open a PyShell window that has
the app and demo frame preloaded in the namespace. This is another
good way to explore and play with the objects in the currently running
sample. For example, load the Button sample and then do the following
in the PyShell::
>>> b = frame.demoPage.GetChildren()[0]
>>> for x in range(0, 500, 10):
... b.Move((x, 50))
... app.Yield(True)
... wx.MilliSleep(10)