update docs for TabbedInterface (#5374)

pull/5544/head
Zac Connelly 2019-06-11 18:07:19 +02:00 zatwierdzone przez Matt Westcott
rodzic e263aaf749
commit a19571db7a
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -391,6 +391,7 @@ Contributors
* Sanyam Khurana
* Pavel Denisov
* Mikael Engström
* Zac Connelly
Translators
===========

Wyświetl plik

@ -56,7 +56,10 @@ Or alternatively:
]
edit_handler = ObjectList(custom_panels)
# or
edit_handler = TabbedInterface([ObjectList(custom_panels), ObjectList(...)])
edit_handler = TabbedInterface([
ObjectList(custom_panels, heading='First Tab'),
ObjectList(...)
])
.. versionadded:: 2.5