VOOZH about

URL: https://www.geeksforgeeks.org/python/wxpython-expandall-method-in-wx-treectrl/

⇱ wxPython - ExpandAll() method in wx.TreeCtrl - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

wxPython - ExpandAll() method in wx.TreeCtrl

Last Updated : 28 Feb, 2023

In this article we are going to learn about ExpandAll() method associated with wx.TreeCtrl class of wxPython. ExpandAll() method is similar to Expand() but the only difference is that this method is used to expand all the items present in the Tree Control. All child nodes  along with their parent nodes are visible using this method.

No parameters are required by this method.

Syntax: wx.TreeCtrl.ExpandAll(self)

Parameters:

No parameters are required by this method.

Code Example:

Output:

👁 Image

Comment