[Gambas-user] How to determine whether a program uses GTK or QT?

Martin mbelmonte at belmotek.net
Fri Sep 23 21:27:20 CEST 2022

Can anyone tell me how to know at runtime which component a program uses?
I'm looking for a similar way to know if the desktop theme is dark or not.
If Application.DarkTheme Then
   Print "Hi Anakin"
   Print "Hi Obi-Wan"

Note: There are some calls (I don't know if it's the right term) to 
OpenGL that don't work in GTK3 while in QT5 they do. So I want to get 
around what doesn't work when the program runs using the GTK3 component.


More information about the User mailing list