MCPcopy Index your code
hub / github.com/rawpython/remi / on_button_pressed

Method on_button_pressed

examples/notification_app.py:41–44  ·  view source on GitHub ↗
(self, widget)

Source from the content-addressed store, hash-verified

39
40 # listener function
41 def on_button_pressed(self, widget):
42 self.lbl.set_text('A notification message should appear.')
43 self.bt.set_text('Hi!')
44 self.notification_message("Message title", "Hello world!", "")
45
46
47if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

notification_messageMethod · 0.80
set_textMethod · 0.45

Tested by

no test coverage detected