parameters: (self)
return_statement: return nodes
docstring: Get all nodes that are currently expanded in the view
          this logically corresponds to all parent directory nodes which
          are expanded.
          @return: list of TreeItems
docstring_summary: Get all nodes that are currently expanded in the view
          this logically corresponds to all parent directory nodes which
          are expanded.
          @return: list of TreeItems
docstring_tokens: Get all nodes that are currently expanded in the view this logically corresponds to all parent directory nodes which are expanded . @return : list of TreeItems
function: def GetExpandedNodes(self):
          """Get all nodes that are currently expanded in the view
          this logically corresponds to all parent directory nodes which
          are expanded.
          @return: list of TreeItems
  
          """
  
          def NodeWalker(parent, rlist):
              """Recursively find expanded nodes
              @param parent: parent node
              @param rlist: list (outparam)
  
              """
              children = self.GetChildNodes(parent)
              for node in children:
                  if self.IsExpanded(node):
                      rlist.append(node)
                      NodeWalker(node, rlist)
  
          nodes = list()
          NodeWalker(self.RootItem, nodes)
          return nodes
function_tokens: def GetExpandedNodes ( self ) : def NodeWalker ( parent , rlist ) : """Recursively find expanded nodes
              @param parent: parent node
              @param rlist: list (outparam)
  
              """ children = self . GetChildNodes ( parent ) for node in children : if self . IsExpanded ( node ) : rlist . append ( node ) NodeWalker ( node , rlist ) nodes = list ( ) NodeWalker ( self . RootItem , nodes ) return nodes