DietmarSchwertberger
d343f222cc
update BusyCursor snippet
2024-02-27 14:08:10 +01:00
Robin Dunn
7f42784255
Fix code snippet in docs for XmlReseource.LoadDialog
2022-10-17 14:33:42 -07:00
Robin Dunn
866cdf9ab2
Fix typo
2022-08-06 13:03:53 -07:00
Robin Dunn
25fa3d9931
Add pythonized versions for new doc snippets
2022-08-06 11:40:10 -07:00
Robin Dunn
a030c90dd2
Pythonize new code snippets in the docs
2022-06-08 18:08:54 -07:00
Robin Dunn
eb04a7db0b
Add more new Python code snippets
2022-05-17 19:49:31 -07:00
Robin Dunn
04cc18fbe8
Add Python snippets for the BitmapBundle docs
2022-05-17 18:49:36 -07:00
Scott Talbert
c62d1508d6
Merge pull request #2096 from pieleric/docs-fix-missing-getkeycode-snippet
...
docs: fix missing GetKeyCode() call in GetKeyCode() example
2022-02-24 16:13:41 -05:00
Éric Piel
db4fcca2d7
docs: fix missing GetKeyCode() call in GetKeyCode() example
2022-02-01 16:28:34 +01:00
Robin Dunn
9627bb8035
Merge branch 'master' into update-wx
2021-12-13 21:40:18 -08:00
Robin Dunn
cbe539efd9
Merge pull request #2047 from swt2c/df_unicode
...
Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
2021-12-13 20:46:14 -08:00
Scott Talbert
2791fd7016
Use wx.DF_UNICODETEXT instead of wx.DF_TEXT
...
wx.DF_TEXT doesn't work on macOS and Unicode should be available under
all platforms.
2021-12-06 19:56:04 -05:00
Robin Dunn
014af4f8f1
Add Python snippets for AddScriptMessageHandler
2021-10-26 12:37:24 -07:00
Christian Clauss
25ba122168
Fix typos discovered by codespell
2021-08-07 18:55:49 +02:00
Robin Dunn
7c63c5cc90
Add the High DPI Overview doc from wxWidgets
2020-10-22 16:10:09 -07:00
Robin Dunn
d061009b9e
Add FromPNGData factory, and fix markup in some docstrings
2020-07-29 14:58:16 -07:00
Robin Dunn
8ed62491e7
Add some code snippets for the docs
2020-07-07 16:03:56 -07:00
Robin Dunn
bda5fbefd7
Fix comment text in code snippet
2020-05-22 10:59:27 -07:00
Per A. Brodtkorb
426258b7b7
Adding missing close for open and replaced "fid=open(filename) fid.close()"
...
statements with the safer "with open(filename) as fid:" blocks.
Also removed unnecessary "try: ... finally: pass" statements
and refactored code from img2py function into _write_image and _replace_non_alphanumeric_with_underscore
Fixes #1574
2020-03-25 10:36:38 +01:00
Robin Dunn
7eaf6b1d86
Add snippet for GridFitMode
2020-03-20 13:30:04 -07:00
Robin Dunn
1cad84aa8e
Add some new code snippets
2019-12-11 13:58:47 -08:00
Robin Dunn
e389a38b53
Propgrid fixes needed due to wxWidgets update
2019-05-29 15:10:44 -07:00
Robin Dunn
f884bf8e4a
Convert new code snippets
2019-05-24 15:35:56 -07:00
Mesalu
484fb84bb9
remove misleading comments, do not create a copy of strs
2018-10-22 14:30:17 -07:00
Robin Dunn
900f002518
Use wx.EventBlocker as a context manager in the sample code snippet in the docs
...
(cherry picked from commit 2c5c104a79 )
2018-09-25 13:56:41 -07:00
Robin Dunn
f32cb4669f
Merge pull request #845 from RobinD42/fix-issue811
...
Enable wrapping wxGraphicsContext::Create(metaFileDC)
(cherry picked from commit 6c3ce18e17 )
2018-05-05 22:22:05 -07:00
Robin Dunn
a429e7cdbe
Update wx.TextCompleterSimple example code snippet
2018-05-02 10:36:59 -07:00
Robin Dunn
0a6b77efe2
Take out the code for one of the DataViewModel snippets as it does not apply to wxPython.
2018-03-20 13:28:23 -07:00
Robin Dunn
750fd1f504
Convert new doc snippets
2018-02-13 17:13:44 -08:00
Robin Dunn
c1a0a4dfa7
Merge pull request #691 from Metallicow/Trim-whitespace
...
Trim trailing whitespace - everything that's left
2018-01-17 17:56:01 -08:00
Metallicow
1257f42189
⁉️ Trim trailing whitespace docs/sphinx/rest_substitutions/*.py
...
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
2018-01-16 09:02:20 -06:00
Robin Dunn
051374d57c
Add new code snippet
2018-01-15 13:33:37 -08:00
Robin Dunn
ce7333945f
Update clipboard sample code
2017-12-28 14:19:35 -08:00
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