Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rawpython/remi
/ on_button_pressed
Method
on_button_pressed
examples/closeable_app.py:39–40 ·
view source on GitHub ↗
(self, _)
Source
from the content-addressed store, hash-verified
37
38
# listener function
39
def
on_button_pressed(self, _):
40
self.close()
# closes the application
41
42
def
on_close(self):
43
""
" Overloading App.on_close event allows to perform some
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected