[Gambas-user] Setting and environment variable in a Gambas app.
Benoît Minisini
gambas at ...1...
Thu Nov 19 13:11:41 CET 2009
> Hi,
> Setting the GDK_NATIVE_WINDOWS var in the environment tab of the project
> only works while using the gambas app within the IDE but with the
> generated executable this var doesn't get set, and so the controls get
> erroneously rendered.
> About setting it in ~/.gnomerc the point was not having to set it
> manually in each affected system... or did you suggest adding the var
> programatically to this file?
> Regards,
> Toni
>
Logically, doing:
Application.Env["GDK_NATIVE_WINDOWS"]=1
before showing your first form should work.
If not, you will have to wait for the next release (soon!), where this setting
will be automatically done.
Regards,
--
Benoît Minisini
More information about the User
mailing list