linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
126 stars 44 forks source link

How to Install #160

Open BeatLink opened 1 year ago

BeatLink commented 1 year ago

Hi there. How do I go about using xapp in a python gui project?

ghost commented 1 year ago

It depends on if you want to add Bindings / Sources to your Python project or not. That would be the best start. You need to register your X-App compatible software with Linux Mint after you compile a working product. You can test your work with X-App and not register.

You need to create a standard GUI template for Python compatible with GTK3. Just add the Bindings / Sources after that to your code, and the process should be easy. You will need to learn GTK3, if you have not finished that nature of work previously.

X-App is not GTK3. It is compatible and a derivative like from a forking of code, yet GTK3 will not use features of X-App. There fore it is possible to create a compatible work of code with both. I have done so successfully a few times in the past, when fixing GTK3 a few years ago. Part of the reason for X-App is Python compatibility with Android, so Java can compile with Python.

I hope this helps.