Example #1
0
 def setlayout(self, layout):
     if self.display is None:
         # make the initial display
         from graphdisplay import GraphDisplay
         self.display = GraphDisplay(layout)
     else:
         # send an async command to the display running the main thread
         from drawgraph import display_async_cmd
         display_async_cmd(layout=layout)
Example #2
0
 def setlayout(self, layout):
     if self.display is None:
         # make the initial display
         from graphdisplay import GraphDisplay
         self.display = GraphDisplay(layout)
     else:
         # send an async command to the display running the main thread
         from drawgraph import display_async_cmd
         display_async_cmd(layout=layout)
Example #3
0
 def cmsg_say(self, errmsg, *rest):
     from drawgraph import display_async_cmd
     display_async_cmd(say=errmsg)
Example #4
0
    def cmsg_say(self, errmsg, *rest):
        from drawgraph import display_async_cmd

        display_async_cmd(say=errmsg)