code: def on_canvas_slave__routes_set(self, slave, df_routes):
          '''
          .. versionadded:: 0.11.3
          '''
          self.canvas_slave.set_surface('routes',
                                        self.canvas_slave.render_routes())
          self.canvas_slave.cairo_surface = flatten_surfaces(self.canvas_slave
                                                             .df_surfaces)
          gtk.idle_add(self.canvas_slave.drawf on_canvas_slave__routes_set(self, slave, df_routes):
          '''
          .. versionadded:: 0.11.3
          '''
          self.canvas_slave.set_surface('routes',
                                        self.canvas_slave.render_routes())
          self.canvas_slave.cairo_surface = flatten_surfaces(self.canvas_slave
                                                             .df_surfaces)
          gtk.idle_add(self.canvas_slave.draw)
docs: .. versionadded:: 0.11.3