[Gambas-user] Setting and environment variable in a Gambas app.

bbb888 bbruen at ...2308...
Mon Nov 16 01:00:10 CET 2009




Toni Rosa wrote:
> 
> Hi,
> I would like to automatically set and environment variable whenever my
> gambas application gets launched (I want to make sure that
> GDK_NATIVE_WINDOWS=1) and I have tried executing SHELL("export
> GDK_NATIVE_WINDOWS=1") . Unfortunately it doesn't seem to work.
> I'm trying to accomplish that anyone installing my app into a system with
> the latest version of gtk don't have to manually set this variable.
> Any suggestion about how could I accomplish it?
> 
> Cheers,
> Toni
> 
> 

Application.Env["GDK_NATIVE_WINDOWS"]=1

-- 
View this message in context: http://old.nabble.com/Setting-and-environment-variable-in-a-Gambas-app.-tp26361693p26365046.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list