def populate_node_menu(viz, node, menu):
menu_item = gtk.MenuItem("Show IPv4 Routing Table")
menu_item.show()
def _show_ipv4_routing_table(dummy_menu_item):
ShowIpv4RoutingTable(viz, node.node_index)
menu_item.connect("activate", _show_ipv4_routing_table)
menu.add(menu_item)
评论列表
文章目录