Detect availability of GTK3 in shell script

Multi tool use


Detect availability of GTK3 in shell script
We want to avoid the user to make changes to our application start script of only GTK2 is available, but not GTK3. What is the preferred way to detect the availability of GTK3?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.