Пример #1
0
def test_empty_global_bar(disable_sigcatch):
    """
    Test an empty bar
    """
    p = Panel(instance_per_screen=False)
    p.fg = "#FFFFFFFF"
    p.bg = "#FF000000"
    s = Screen()
    p.add_screen(s)
    w = TextWidget(text="test")
    w1 = TextWidget(text="test1")
    s.add_widget("l", w, w1)

    try:
        p.start()
    except KeyboardInterrupt:
        p.stop()