(self, button, group, position)
| 497 | return children[position] |
| 498 | |
| 499 | def _add_button(self, button, group, position): |
| 500 | if group not in self._groups: |
| 501 | if self._groups: |
| 502 | self._add_separator() |
| 503 | group_box = Gtk.Box() |
| 504 | self._tool_box.append(group_box) |
| 505 | self._groups[group] = group_box |
| 506 | self._groups[group].insert_child_after( |
| 507 | button, self._find_child_at_position(group, position)) |
| 508 | |
| 509 | def _call_tool(self, btn, name): |
| 510 | self.trigger_tool(name) |
no test coverage detected