MCPcopy Create free account
hub / github.com/Bleemsys/Artisan-Core / move_down

Method move_down

AGUI/JSONtreeview.py:145–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 self.tree.move(selected_item, parent, index - 1)
144
145 def move_down(self):
146 selected_item = self.tree.selection()[0]
147 parent = self.tree.parent(selected_item)
148 index = self.tree.index(selected_item)
149 next_index = index + 1
150 children = self.tree.get_children(parent)
151 if next_index < len(children):
152 self.tree.move(selected_item, parent, next_index)
153
154 def copy_json(self):
155 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected