Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/u/r/urwid_satext-0.3.0/examples/menu.py   urwid_satext(Download)
# -*- coding: utf-8 -*-
import urwid
from urwid_satext.sat_widgets import Menu
    def buildMenu(self):
        self.menu = Menu(self.loop)
        _menu1 = "Menu 1"
        self.menu.addMenu(_menu1, "Item 1", self.menu_cb) #Adding a menu is quite easy
        self.menu.addMenu(_menu1, "Item 2", self.menu_cb) #Here the callback is always the same,

src/s/a/sat-0.4.1/frontends/src/primitivus/chat.py   sat(Download)
    def getMenu(self):
        """Return Menu bar"""
        menu = sat_widgets.Menu(self.host.loop)
        if self.type == 'group':
            game = _("Game")