Documented pythonic iterators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -555,8 +555,17 @@ This example reverse-iterates through all visible items:
|
||||
|
||||
@endcode
|
||||
|
||||
<b>wxPython Note:</b> Instead of ++ operator, use Next() method, and instead of
|
||||
@beginWxPythonOnly
|
||||
PropertyGridInterface has some useful pythonic iterators as attributes.
|
||||
@c Properties lets you iterate through all items that are not category
|
||||
captions or private children. @c Items lets you iterate through everything
|
||||
except private children. Also, there are GetPyIterator() and GetPyVIterator(),
|
||||
which return pythonic iterators instead of normal wxPropertyGridIterator.
|
||||
|
||||
If you need to use C++ style iterators in wxPython code, note that
|
||||
Instead of ++ operator, use Next() method, and instead of
|
||||
* operator, use GetProperty() method.
|
||||
@endWxPythonOnly
|
||||
|
||||
GetIterator() only works with wxPropertyGrid and the individual pages
|
||||
of wxPropertyGridManager. In order to iterate through an arbitrary
|
||||
|
Reference in New Issue
Block a user