how to run pixilang without window?
-
- Posts: 174
- Joined: Sat Mar 17, 2018 4:23 pm
how to run pixilang without window?
In the documentation I see under 'Pixilang info flags' PIXINFO_NOWINDOW. It sounds like it will run pixilang without creating a window. How to properly use this flag. Can I have a little example please?
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: how to run pixilang without window?
Two ways:
1) add "nowin" to the pixilang_config.ini
2) from command line: pixilang -cfg "nowin" yourapp.pixi
1) add "nowin" to the pixilang_config.ini
2) from command line: pixilang -cfg "nowin" yourapp.pixi
-
- Posts: 174
- Joined: Sat Mar 17, 2018 4:23 pm
Re: how to run pixilang without window?
My config looks like this:
Still when running something the window is appearing on my system. I have the newest version of Linux Lite. Is this normal?
Code: Select all
width 2560
height 1384
locale_lang en_US
frecent_y 153
frecent_xs 91
"nowin"
-
- Posts: 174
- Joined: Sat Mar 17, 2018 4:23 pm
Re: how to run pixilang without window?
Ah I understand I removed the quotes and it works
Another question: Can you define in your program that it will not create a window? For example my tuning generator doesn't need a window to run.
Another question: Can you define in your program that it will not create a window? For example my tuning generator doesn't need a window to run.
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: how to run pixilang without window?
Unfortunately you can't hide the window from the pixi code directly. At least in the current version...