Hi, I just had this wonderfull idea. Is it possible to implement a custom widget in GTK that cannot react to events and signals other than those comming directly from the input device (like keyboard and mouse)?

If this was possible, we could replace the password promt in gksu with an 'OK' button that had to be clicked by the user to open the app requiring administrative rights.

We wouldn't have to worry about external programs interferring either, because the only one capable to launch that app, would be the user.