Fuzzy Select Tool - Gimp

Hi there,
I am writing to submit you this question.
I need the code of the “Gimp” tool which is called “Fuzzy Select Tool” in order to create a plugin with similar characteristics through “Python”.
Can you tell me how/where can I find it?
Thanks very much, best regards.

Not OF related, but get the source code here: