parameters: (self, tooltip)
docstring: ! Destroy function.
          @param self The object pointer.
          @param tooltip The tooltip.
          @return tooltip
docstring_summary: ! Destroy function.
docstring_tokens: ! Destroy function .
function: def tooltip_query(self, tooltip):
          """! Destroy function.
          @param self The object pointer.
          @param tooltip The tooltip.
          @return tooltip
          """
          pos1_x, pos1_y = self.node1.get_position()
          pos2_x, pos2_y = self.node2.get_position()
          dx = pos2_x - pos1_x
          dy = pos2_y - pos1_y
          d = transform_distance_canvas_to_simulation(math.sqrt(dx*dx + dy*dy))
          mac = self.dev.GetMac()
          tooltip.set_text(("WiFi link between STA Node %i and AP Node %i; distance=%.2f m.\n"
                            "SSID: %s\n"
                            "BSSID: %s")
                           % (self.node1.node_index, self.node2.node_index, d,
                              mac.GetSsid(), mac.GetBssid()))
function_tokens: def tooltip_query ( self , tooltip ) : pos1_x , pos1_y = self . node1 . get_position ( ) pos2_x , pos2_y = self . node2 . get_position ( ) dx = pos2_x - pos1_x dy = pos2_y - pos1_y d = transform_distance_canvas_to_simulation ( math . sqrt ( dx * dx + dy * dy ) ) mac = self . dev . GetMac ( ) tooltip . set_text ( ( "WiFi link between STA Node %i and AP Node %i; distance=%.2f m.\n" "SSID: %s\n" "BSSID: %s" ) % ( self . node1 . node_index , self . node2 . node_index , d , mac . GetSsid ( ) , mac . GetBssid ( ) ) )