VSplitter (hwx.gui)#
- class VSplitter(*childrenList, **kwds)#
Bases:
Splitter
A Splitter with vertical orientation.
Example
from hwx import gui # Create two widget and separate them with a vertical splitter first = gui.TextEdit(text=""" <p>pane 1</p>""", readonly=True, ) second = gui.TextEdit(text=""" <p>pane 2</p>""", readonly=True, ) splitter = gui.Splitter(children=(first, second), ) # Try changing the orientation to "vertical" splitter.orientation = "vertical" show(splitter)