(self, widget)
| 2097 | self.on_tab_selection(None, self.selected_widget_key) |
| 2098 | |
| 2099 | def remove_child(self, widget): |
| 2100 | key = None |
| 2101 | for k in self.children.keys(): |
| 2102 | if hasattr(self.children[k], "identifier"): |
| 2103 | if self.children[k].identifier == widget.identifier: |
| 2104 | key = k |
| 2105 | break |
| 2106 | if key: |
| 2107 | self.tab_keys_ordered_list.remove(key) |
| 2108 | self.container_tab_titles.remove_child(self.container_tab_titles.children[key]) |
| 2109 | self.resize_tab_titles() |
| 2110 | super(TabBox, self).remove_child(widget) |
| 2111 | |
| 2112 | @decorate_set_on_listener("(self, emitter, key)") |
| 2113 | @decorate_event |
nothing calls this directly
no test coverage detected