Skip to content

Commit

Permalink
update Gtk docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Jan 19, 2025
1 parent 0f0852d commit 1879f7a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ on *Windows*, *Mac OS X* and other Unix-based operating systems as well.
As shown in screenshots, there are multiple User Interface types (multiple
ways to use the program).

- **Gtk3-based interface**, uses [PyGI (Python Gobject Introspection)](http://pygobject.readthedocs.io/en/latest/getting_started.html)
- **Gtk3-based interface**, uses [PyGI](http://pygobject.readthedocs.io/en/latest/getting_started.html)+Gtk3.
See [doc/gtk3.md](./doc/gtk3.md) for how to install it on Linux and Mac OS X.

- **Gtk4-based interface**, uses [PyGI](http://pygobject.readthedocs.io/en/latest/getting_started.html)+Gtk4.
See [doc/gtk4.md](./doc/gtk4.md).
This is still not as complete as Gtk3 interface.

- **Tkinter-based interface**, meant to be used in the lack of Gtk. Specially on
Windows where Tkinter library is installed with Python itself.
You can [install Tkinter](./doc/tkinter.md) on Linux or Mac OS X.
Expand Down
5 changes: 1 addition & 4 deletions doc/gtk3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
- Debian/Ubuntu: `apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0`
- openSUSE: `zypper install python3-gobject gtk3`
- Fedora: `dnf install pygobject3 python3-gobject gtk3`
- ArchLinux:
- `pacman -S python-gobject gtk3`
- https://aur.archlinux.org/packages/pyglossary/
- ArchLinux: `pacman -S python-gobject gtk3`
- Mac OS X: `brew install pygobject3 gtk+3`
- Nix / NixOS: `nix-shell -p pkgs.gobject-introspection python38Packages.pygobject3 python38Packages.pycairo`
7 changes: 7 additions & 0 deletions doc/gtk4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Gtk4 interface requirements

- Debian/Ubuntu: `apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0`
- openSUSE: `zypper install python3-gobject gtk4`
- Fedora: `dnf install pygobject3 python3-gobject gtk4`
- ArchLinux: `pacman -S python-gobject gtk4`
- Mac OS X: `brew install pygobject3 gtk4`

0 comments on commit 1879f7a

Please sign in to comment.