canvas wallpaper
This commit is contained in:
parent
845198efc6
commit
cded9ef630
2 changed files with 5 additions and 0 deletions
|
@ -300,6 +300,7 @@ class CoreClient:
|
|||
# get metadata
|
||||
response = self.client.get_session_metadata(self.session_id)
|
||||
self.parse_metadata(response.config)
|
||||
|
||||
except grpc.RpcError as e:
|
||||
self.app.after(0, show_grpc_error, e)
|
||||
|
||||
|
@ -669,6 +670,8 @@ class CoreClient:
|
|||
config = {x: self.emane_config[x].value for x in self.emane_config}
|
||||
self.client.set_emane_config(self.session_id, config)
|
||||
|
||||
self.set_metadata()
|
||||
|
||||
def close(self):
|
||||
"""
|
||||
Clean ups when done using grpc
|
||||
|
|
|
@ -214,6 +214,8 @@ class CanvasGraph(tk.Canvas):
|
|||
"""
|
||||
Draw existing session.
|
||||
"""
|
||||
print("print session")
|
||||
print(session)
|
||||
# draw existing nodes
|
||||
for core_node in session.nodes:
|
||||
# peer to peer node is not drawn on the GUI
|
||||
|
|
Loading…
Reference in a new issue