Use of PYGTK on DEBIX

2024.3.11by debix.io

To use PyGTK on DEBIX follow these steps

1. Install python3

Execute the command sudo apt install python3


2. Install PIP package manager

Execute the command sudo apt install python3-pip

3. Install the dependencies

Execute the command sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0


4. Write the test program

Then save the program, here it is saved as gtk.py.

5. Run the test program

·Execute the command python3 gtk.py

·GTK test window will appear on the DEBIX desktop: