I am curious how applications like gksu lock screen focus when prompting for a password. I see gksu even has an option "-g", that can disable this behavior.
I am interested in doing something similar for a Python app (I used Quickly to generate the GUI app -- GTK+3) but I can't find any info on how this could be done. I have found things like fullscreen(), etc but I really like how gksu does it.
I am using Lubuntu 14.04 (LXDE)
Any pointers or suggestions would be appreciated.