Commit Graph

63 Commits

Author SHA1 Message Date
Robin Dunn
b67671ea6f Fix AccereratorTable sample code 2017-09-28 08:15:03 -07:00
Robin Dunn
2e07a611f5 Make the snippet a little more pythonic. Update the save dialog snippet too. 2017-08-04 13:30:50 -07:00
Matt Clapp
0f94be4e68 fixing code snippet - open even if contentNotSaved 2017-08-01 21:09:53 -07:00
Nathan
e1660cacd2 Fixing missing Return Value 2017-06-21 13:16:54 -05:00
Robin Dunn
91fe1f02fc Doc updates for AUI 2016-11-11 20:16:35 -08:00
Robin Dunn
0c3721e0ed Better code snippets for wx.Dialog 2016-09-30 20:01:54 -07:00
Robin Dunn
04815c372b Add code snippets for wx.richtext.RichTextFormattingDialog and wx.adv.PropertySheetDialog
Add demo module
2016-09-30 20:01:34 -07:00
Robin Dunn
b57b645cce Update wx.Image.Scale doc snippet 2016-09-19 17:28:29 -07:00
Robin Dunn
ad4196b7a7 the rest of the propgrid doc snippets 2016-09-19 17:27:57 -07:00
Robin Dunn
a3e3ddb60f More code snippets converted for the docs 2016-09-14 20:39:27 -07:00
Robin Dunn
fc85531951 first pass over propgrid code snippets 2016-09-08 12:29:28 -07:00
Robin Dunn
25d687d8a3 Convert some code snippets for the docs. 2016-08-13 17:33:33 -07:00
Robin Dunn
9f8a5b8d9a Fix bug when there are more than one code snippets in a set of overloaded methods. 2016-07-15 16:25:05 -07:00
Robin Dunn
24e2b78806 Lots more docs changes.
Add a generator that updates a persistent mapping of item (functions, classes, etc.) to the module names they are a member of.

Remove the NO_MODULE dictionary as we're tracking all the item --> module names now.

Consolidate the 2 removeWxPrefix implementations to just one.

Fix taking out too much space in the class index when removing the :ref: for unknown items, which caused ReST problems.

Use pyName if it is set

When renaming classes we also need to change the className in the method objects

Properly deal with nested classes
2016-05-22 23:39:40 -07:00
Robin Dunn
902263f9d9 Move the snippets to their new file names 2016-05-18 16:38:18 -07:00
Robin Dunn
4e9935e1f0 Merge pull request #80 from swt2c/fix_comboctrl_doc
Fix ComboCtrl documentation
2016-05-10 21:45:23 -07:00
Scott Talbert
19573aa9a6 Fix ComboCtrl documentation 2016-05-10 20:33:18 -04:00
Robin Dunn
b96160b4de Merge pull request #61 from swt2c/fix_eventfilter
Fix wxEventFilter - don't mark as abstract but remove default constru…
2016-05-07 19:17:39 -07:00
Scott Talbert
7040e3018d Fix wxEventFilter - don't mark as abstract but remove default constructors
Also add a unittest and update the documentation
2016-04-05 20:45:33 -04:00
Scott Talbert
5852dcc623 Correct TextCompleterSimple example
Need to pass instance of MyTextCompleter, not class itself.
2016-03-17 00:08:42 -04:00
Robin Dunn
a92666b663 Fix code snippet for file dialog wildcards 2015-03-30 11:46:53 -07:00
Robin Dunn
9a230dbbd5 Update the docs for the changes in the Parse*() methods API 2015-02-26 14:38:57 -08:00
Andrea Gavana
bb9ba09d7c Phoenix docs: rename the richtextctrl_overview.rst with the underscore and add the snipped for dataview.TreeListCtrl.GetNextItem.1.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-15 21:31:49 +00:00
Andrea Gavana
a28a5e41cf Updated some Phoenix documentation:
- Added RichTextCtrl overview;
- Updated `index.rst` to include richtext and webkit packages;
- Added a bunch of converted samples from C++ to Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-03 22:30:44 +00:00
Andrea Gavana
cd4a234851 Phoenix: add snippets and overview for the wx.grid module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-13 15:58:36 +00:00
Robin Dunn
28dff8e00b Set the svn:eol-style property to native for the newer files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 08:58:31 +00:00
Andrea Gavana
66840744d2 Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Andrea Gavana
6157b2bc35 Phoenix: sizers_overview.rst expanded; added a bunch of "contributed" snippets on various classes/methods; many fixes on strange doxygen layouts and XML hierarchies; fixed many cross-references between classes/methods/functions in the etg files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 20:58:27 +00:00
Andrea Gavana
b117617572 Phoenix: few additional fixes to some of the samples, plus better formatting for the remaining troublesome docs classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 20:50:04 +00:00
Andrea Gavana
983d3c4c35 Fix a couple of broken snippets for xml and xrc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:57:07 +00:00
Andrea Gavana
bd891fbdf4 Phoenix: converted snippets for xml and xrc. Fixed minor issues in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 22:38:22 +00:00
Andrea Gavana
604b778a2c Phoenix docs: handle funny-formatted heading sections for window styles, extra styles and event handling; Add missing modules in the main.html Sphinx file; Convert some more snippets, specifying the highlight language used (XML/HTML for some snippets in wx.html); Correctly reference classes and functions in wx.Bitmap pure-Python methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 20:54:13 +00:00
Andrea Gavana
cd5581f696 Phoenix docs update: added support for wx.html2 and friends, converted a bunch of snippets and translated the wx.Command/wx.CommandProcessor overviews. Revised some internal links between documentation classes and overviews (again... please wx-devs stop renaming the interlinks between classes and overviews).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-29 21:18:30 +00:00
Robin Dunn
7bd1c71395 Add wx.VListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-16 00:45:48 +00:00
Robin Dunn
f54ccfb9c8 convert some more snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:41 +00:00
Robin Dunn
023b9cec66 Convert a few code snippets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:17 +00:00
Andrea Gavana
8798cc15f8 Phoenix:
Add support for `HeaderCtrl` and its friends in the documentation builder (snippets added).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 22:02:54 +00:00
Andrea Gavana
aacea1b672 Phoenix:
- Add support for `RearrangeDialog` and its friends in the documentation builder;
- Add XXXBook images for the various platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-29 19:04:17 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00
Andrea Gavana
01296cf8cb Phoenix:
- Add support for `wx.Caret` and `wx.BusyInfo` in the documentation builder.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-18 19:41:24 +00:00
Robin Dunn
6416c3639e Set svn:eol-style property to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 20:00:47 +00:00
Andrea Gavana
9233e2747b Phoenix:
- Add support for `wx.adv.Wizard` and its related classes.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-10 21:08:29 +00:00
Andrea Gavana
14c7c36924 Phoenix:
- Latest Phoenix development integrated in the documentation builder;
- Added the latest `BitmapComboBox`, `RichToolTip` etc..., with their sample;
- Adapted the existing `adv` samples to use `wx.adv` in the code;
- Fixed wrong rendering of various snippets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-07 21:07:40 +00:00
Andrea Gavana
fc5b4a31ca Phoenix:
- Add support for `wx.adv.OwnerDrawnComboBox` and `wx.ComboCtrl` in the documentation building process. Add the appropriate samples as well (and wonder why the sample in `wx.ComboCtrl` doesn't get properly highlighted...).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 19:36:04 +00:00
Andrea Gavana
4fee2a598a Phoenix:
- Reformat the documentation generator to take into account the "adv" sub-package;
- Make the `sphinx_generator.py` and the `sphinxtools` package Python 3 - compliant.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-29 20:11:36 +00:00
Andrea Gavana
ef79b8c371 - Shorten up the documentation page header;
- Add samples for wx.SplashScreen and AffineMatrix2D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-26 20:35:44 +00:00
Andrea Gavana
8c1db7a994 Phoenix:
- Add the BannerWindow sample to the snippets;
- Add the animationctrl.png images for the various platforms.

I'm running out of space at the xoomer domain :-(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 19:27:06 +00:00
Andrea Gavana
276acdab9a Phoenix:
- Add the 2 snippets of code related to `FileType`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-21 20:02:03 +00:00
Andrea Gavana
87ef3295a7 Phoenix:
- Add the `DataObject` overview;
- Correct some missing link to the print dialog overview;
- Add converted snippets for wx.Sound, wx.DataObject and friends.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 20:56:11 +00:00
Andrea Gavana
0921891d22 Phoenix: support latest changes to the codebase in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-29 23:53:03 +00:00