MCPcopy Index your code
hub / github.com/rawpython/remi / add_tab

Method add_tab

remi/gui.py:2143–2148  ·  view source on GitHub ↗

This function is deprecated. Is here for compatibility reasons. The callback is ignored. Use *append* instead.

(self, widget, key, callback=None)

Source from the content-addressed store, hash-verified

2141 self.select_by_key(key)
2142
2143 def add_tab(self, widget, key, callback=None):
2144 """ This function is deprecated. Is here for compatibility reasons.
2145 The callback is ignored.
2146 Use *append* instead.
2147 """
2148 self.append(widget, key)
2149
2150 def select_by_index(self, index):
2151 self.on_tab_selection(None, self.tab_keys_ordered_list[index])

Callers 2

test_initMethod · 0.95
mainMethod · 0.95

Calls 1

appendMethod · 0.95

Tested by 1

test_initMethod · 0.76