Regarding adding widgets and ignoring plugins, maximally minimal would
be:
from leo.core.leoQt import QtWidgets
w = QtWidgets.QSlider()
c.free_layout.get_top_splitter().addWidget(w)
Adds slider widget, probably on right hand side, not that noticeable,
you could miss it ;-)
w can be anything of course, a QWidget with a layout containing lots of
other widgets, for example. To make your widget addable from the super
secret right-click on the pane dividers context menu, you need to
implement the "provider" interface defined here:
file://{{g.getBaseDirectory(c)}}/LeoPyRef.leo#Code-->Qt%20gui-->@file%20../plugins/nested_splitter.py-->class%20NestedSplitter%20(QSplitter)-->register_provider
I've posted examples here:
https://github.com/leo-editor/snippets/blob/master/examples/demo_widget.py
(the example is correct, the file:// link is missing some parameters
for the ns_do_context() method)
Cheers -Terry