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.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to