def METHOD_NAME(self, item):
    eb = Gtk.EventBox()
    image = Gtk.Image()
    update_image(image, item["icon"], self.settings["icon-size"], self.icons_path)
    eb.add(image)
    eb.connect("button-press-event", self.on_button_press, item["pid"], item["con_id"])
    if item["name"]:
        eb.set_tooltip_text(item["name"])
    self.pack_start(eb, False, False, 3)