question about window focus

If i write a DLL which creates a GTK window, will jinput use this window for getting input?