HSplitter (hwx.gui)#
- class HSplitter(*childrenList, **kwds)#
Bases:
Splitter
A Splitter with horizontal orientation.
Example
from hwx import gui # Create two widget and separate them with a horizontal 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 = "horizontal" show(splitter)