widget: Add setting to disable input

https://bugzilla.gnome.org/show_bug.cgi?id=687118