update docs for TabbedInterface (#5374)

This commit is contained in:
Zac Connelly 2019-06-11 18:07:19 +02:00 committed by Matt Westcott
parent e263aaf749
commit a19571db7a
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -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