Commit Graph

27 Commits

Author SHA1 Message Date
Robin Dunn
7e904dca15 Ensure colours set in TreeItemAttr are instances of wx.Colour 2018-10-26 13:27:09 -07:00
Robin Dunn
73e13bf5f7 Merge pull request #1050 from mesalu/fix_1049
CustomTreeCtrl and HyperTreeList fixes

(cherry picked from commit da9f69c380)
2018-10-24 20:02:28 -07:00
HelioGuilherme66
83d729c6e3 Adds a the parameter on_the_right, defaulted True,
to allow positioning the Window in a CustomTreeItem.

Changed CustomTreeCtrl.py (demo) to show image on right or left of text.
Addded an animated gif to a checkbox item.
To test SetItemWindow new parameter on_the_right, just activate/deactivate
the "Use image Window left of label" checkbox on left panel.

Updated documentation and version.
2018-08-10 00:53:47 +01:00
Robin Dunn
d5b4727356 Bind EVT_WINDOW_DESTROY handler to specific window 2018-03-08 13:13:37 -08:00
Robin Dunn
1950572224 Replace use of old cmp() function 2018-01-11 17:38:40 -08:00
Robin Dunn
2e7a978055 Use functools.cmp_to_key for sorting children 2017-09-06 17:42:10 -07:00
Robin Dunn
5a669d5462 Change wx.SafeYield back to wx.YieldIfNeeded 2017-04-28 15:29:17 -07:00
Metallicow
fa0001c49c Revert customtreectrl hack 2017-04-19 17:30:01 -05:00
Metallicow
4738f107a8 Trim Whitespace agw directory 2016-10-12 22:27:46 -05:00
Metallicow
bffefbc310 customtreectrl PENSTYLE_ fix 2016-10-04 14:02:55 -05:00
Robin Dunn
ffcc23cb60 Change "~lib" --> "~wx.lib" in agw 2016-08-12 14:57:10 -07:00
Robin Dunn
1d1fc7c187 More docstring ref fixes in wx.lib 2016-07-07 09:58:04 -07:00
Robin Dunn
cc3190e240 Lots more docstring refs fixed 2016-07-06 20:20:10 -07:00
Robin Dunn
488f29b05a Fix docstring references to wx.Bitmap 2016-07-06 18:45:16 -07:00
Robin Dunn
4175d35105 Fix docstring references to wx.Colour 2016-07-06 18:40:04 -07:00
Robin Dunn
ed4756b902 Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
2016-06-30 20:07:57 -07:00
wernerfb
f9d88b1df6 fix doc links in wx.lib.agw 2015-04-14 08:17:32 +02:00
Robin Dunn
b58599433d PR #73: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:24:58 +00:00
Andrea Gavana
5f3c5e8bbb AGW on Phoenix: fix wrong rendering of text colour for CustomTreeCtrl tree items and correctly cast sip pointers to ints to be able to draw nice panes in wx.lib.agw.aui.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-09 21:10:15 +00:00
Andrea Gavana
0f0c183730 AGW on Phoenix: force a redraw after ExpandAllChildren has been called on customtreectrl.py. Back-ported from Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-03 23:06:40 +00:00
Robin Dunn
9f24505715 Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11

Mostly phoenix-port changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-10 01:15:34 +00:00
Andrea Gavana
01483191b1 AGW in Phoenix (4): Many, many changes to almost all the AGW widgets to be able to run the AGW demos (although heavily modified). Add a unittest for LabelBook and FlatImageBook (which asserts on one test for still unknown reasons). Mention that wx.EmptyImage is now deprecated in the classic_vs_phoenix.txt file. Improved the documentation for many AGW widgets to avoid Sphinx missing links. Minor fixes to fancytext.py to allow it to run.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:06:03 +00:00
Andrea Gavana
b3e4757b9c AGW on Phoenix (1): various fixes to the docstrings (especially the samples include in the documentation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 21:01:42 +00:00
Robin Dunn
295d3f6442 * Upgrade to the newest six module (1.2.0) and call it six instead of wx2to3.
* Tweak six a little, adding its license text since we'll only be distributing the module, fix the name of the dummy moves module, and add a PY33 constant since the change in memoryview affects our code.

* Update all modules already using the old wx2to3

* Tweak lots of unit tests and other modules to work with Python 3.3 (still a few more that will need some work.)

* Try to deal with memoryview changes in Py3.3, without much luck...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:41 +00:00
Andrea Gavana
b0bd63b29f AGW: backport latest AGW improvements and bug fixes from Classic to Phoenix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-27 19:45:04 +00:00
Andrea Gavana
6bfa39aff0 Phoenix:
- Phoenix-port of `wx.lib.buttons.py`, with unittest and documentation updated to Phoenix standards;
- Phoenix-port of part of the AGW library, including `AdvancedSplash`, `BalloonTip`, `ButtonPanel`, `CubeColourDialog`, `CustomTreeCtrl`, `FloatSpin`, `FoldPanelBar`, `FourWaySplitter`, `GenericMessageDialog`, `HyperLinkCtrl` and `HyperTreeList`. Unittests and documentation updated to Phoenix standards;
- Added the `wx2to3.py` module to `wx.lib`, to facilitate the port to Python 3 (AGW depends on it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 16:52:14 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00