'Generate and show popup menu.'

def _popupMenu(self, tv, event):

    if (event.button != 3):
        return
    if (self._rightButtonMenu is None):
        gm = gtk.Menu()
        self._rightButtonMenu = gm
        e = gtk.MenuItem(_('Delete    selected    items'))
        e.connect('activate', self._deleteSelected)
        gm.append(e)
        gm.show_all()
    else:
        gm = self._rightButtonMenu
    gm.popup(None, None, None, event.button, event.time)
    return True
