[Gambas-user] Making an app gtk/qt switchable

Bruce Steers bsteers4 at gmail.com
Sun Nov 15 02:49:48 CET 2020


> Gambas programs using gb.gui can set the toolkit to use via a GB_GUI

> environment variable *on process startup*. This has been available for
> a long time. That component, however, does not allow switching the
> toolkit later during runtime, as far as I know. By the time your
> program gets to interpret a --gui option from the command-line, it's
> already too late. Instead of supplying the --gui option, set the
> GB_GUI environment variable before starting the process, or do what
> Tony suggested (but avoid Shell and use Exec With instead).
>
>
Thank you Tobias, i see now :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201115/3b683d95/attachment-0001.htm>


More information about the User mailing list