MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / notification

Method notification

PythonAPI/examples/manual_control_rss.py:508–509  ·  view source on GitHub ↗
(self, text, seconds=2.0)

Source from the content-addressed store, hash-verified

506 self._show_info = not self._show_info
507
508 def notification(self, text, seconds=2.0):
509 self._notifications.set_text(text, seconds=seconds)
510
511 def error(self, text):
512 self._notifications.set_text('Error: %s' % text, (255, 0, 0))

Callers 8

restartMethod · 0.45
next_weatherMethod · 0.45
__init__Method · 0.45
parse_eventsMethod · 0.45
_on_collisionMethod · 0.45
_on_invasionMethod · 0.45
set_sensorMethod · 0.45
toggle_recordingMethod · 0.45

Calls 1

set_textMethod · 0.45

Tested by

no test coverage detected