I always found this method useful in both regular wx.ListCtrl and wx.ListBook, but now I get the message that it is deprecated. Is there any other way to accomplish the same task?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
I always found this method useful in both regular wx.ListCtrl and wx.ListBook, but now I get the message that it is deprecated. Is there any other way to accomplish the same task?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
Ed Leafe wrote:
I always found this method useful in both regular wx.ListCtrl and wx.ListBook, but now I get the message that it is deprecated. Is there any other way to accomplish the same task?
I'm not sure why it got deprecated, as there isn't a comment about it in the source and also the C++ version isn't deprecated, (that is when I usually mark the wxPython version too.) However it is only available on non-Windows ports, so maybe that had something to do with it.
Ah, I see it now. One of the overloads of the C++ GetItemSpacing was deprecated, so I probably assumed that all of them and the SetItemSpacing would be deprecated too. I'll undo that change for the wxPython wrappers.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Hi Robin,
2007/10/15 Robin Dunn <robin@alldunn.com>:
Ed Leafe wrote:
I always found this method useful in both regular wx.ListCtrl and
wx.ListBook, but now I get the message that it is deprecated. Is there any
other way to accomplish the same task?I'm not sure why it got deprecated, as there isn't a comment about it in the
source and also the C++ version isn't deprecated, (that is when I usually
mark the wxPython version too.) However it is only available on non-Windows
ports, so maybe that had something to do with it.Ah, I see it now. One of the overloads of the C++ GetItemSpacing was
deprecated, so I probably assumed that all of them and the SetItemSpacing
would be deprecated too. I'll undo that change for the wxPython wrappers.
I don't see a SetItemSpacing method in wxPython 2.8.9.1. I could
really use it because the Listbook on Windows is using a lot of space
between its icons (see attachment).
Thanks, Frank
Frank Niessink wrote:
I don't see a SetItemSpacing method in wxPython 2.8.9.1. I could
really use it because the Listbook on Windows is using a lot of space
between its icons (see attachment).
Unfortunately the method is only available on non-Windows platforms where the generic ListCtrl class is used.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Hi Robin,
2009/2/9 Robin Dunn <robin@alldunn.com>:
Frank Niessink wrote:
I don't see a SetItemSpacing method in wxPython 2.8.9.1. I could
really use it because the Listbook on Windows is using a lot of space
between its icons (see attachment).Unfortunately the method is only available on non-Windows platforms where
the generic ListCtrl class is used.
Ah, catch 22, two times even: I also looked at the Toolbook as an
alternative for the Listbook. Toolbook has a better (smaller) layout,
but unfortunately a toolbar does not support keyboard navigation
Thanks, Frank
Frank Niessink wrote:
Hi Robin,
Frank Niessink wrote:
I don't see a SetItemSpacing method in wxPython 2.8.9.1. I could
really use it because the Listbook on Windows is using a lot of space
between its icons (see attachment).
Unfortunately the method is only available on non-Windows platforms where
the generic ListCtrl class is used.
Ah, catch 22, two times even: I also looked at the Toolbook as an
alternative for the Listbook. Toolbook has a better (smaller) layout,
but unfortunately a toolbar does not support keyboard navigationThanks, Frank
Did you look at ObjectListView? I'm not sure if it works better in this regard, but I also don't think it will hurt to try it...
http://objectlistview.sourceforge.net/python/
2009/2/9 Robin Dunn <robin@alldunn.com>:
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org
Hi Mike,
2009/2/10 Mike Driscoll <mike@pythonlibrary.org>:
Did you look at ObjectListView? I'm not sure if it works better in this
regard, but I also don't think it will hurt to try it...
I am aware of ObjectListView, but I don't think it will help since I
want to change the item spacing of the ListView part of a Listbook.
Thanks, Frank