Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pygameui-0.2.0/pygameui/notification.py   pygameui(Download)
def show_notification(message):
    notification = NotificationView(message)
    import scene
    scene.current.add_child(notification)
    notification.stylize()

src/p/y/pygameui-0.2.0/pygameui/alert.py   pygameui(Download)
def show_alert(message, title='Info', buttons=OK):
    alert_view = AlertView(title, message, buttons)
    import scene
    scene.current.add_child(alert_view)
    alert_view.focus()

src/p/y/pygameui-HEAD/pygameui/notification.py   pygameui(Download)
def show_notification(message):
    notification = NotificationView(message)
    import scene
    scene.current.add_child(notification)
    notification.stylize()

src/p/y/pygameui-HEAD/pygameui/alert.py   pygameui(Download)
def show_alert(message, title='Info', buttons=OK):
    alert_view = AlertView(title, message, buttons)
    import scene
    scene.current.add_child(alert_view)
    alert_view.focus()