Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ set_background
Method
set_background
imagepy/ui/mainframe.py:200–202 ·
view source on GitHub ↗
(self, img)
Source
from the content-addressed store, hash-verified
198
self.line_color.SetBackgroundColour(value)
199
200
def
set_background(self, img):
201
if
IPy.uimode()!=
'ipy'
:
return
202
self.canvasnb.set_background(img)
203
204
def
on_close(self, event):
205
print(
'close'
)
Callers
1
load_aui
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected