Instructions for other Linux distributions and platforms can be found on the PyGObject web site Don't just import Gtk ! Sudo apt install python-gi python-gi-cairo python3-gi python3-gi-cairo gir1.2-gtk-3.0 On Debian based systems like Raspbian the installation is quite simple. The case of Python by PyGObject Installing PyGObject UPDATE On current Raspbian (Full install) everything needed is already installed by default. The interface between GTK+3 and other languages is now provided by " GObject Introspection" and in ![]() ![]() NOTE: This is NOT a Python tutorial, it assumes you are already familiar with programming in Python. Looked at using GTK+3 with Python, and quite a lot has changed. Some time ago I took a look at using GTK+2 with Python so I have also ![]() Recently (Early part of 2017) I have taken a long overdue step and started to migrate some of my C programmes from GTK+2 to GTK+3. Getting started with Python and GTK+3 Getting started using GTK+3 with Python.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |