same program, optional GUI toolkits ? same program, optional GUI toolkits ? AdriansonCrusoe (TechnicalUser) (OP) 23 May 12 16:30 I come from interpreted language programming so bear with me :) Is it posible for a C program to use one or another GUI toolkit present in the system ? e.g. if there's TK use it, if not: if there's GTK use it, if not: etc. RE: same program, optional GUI toolkits ? xwb (Programmer) 3 Jun 12 11:35 Yes - if you have a common interface library, you could do a dlopen on the relevant library to tie up all the calls and then use the calls from the common interface library.Basically dlsym to get the addresses of the routines you wish to call and dlclose to terminate.