The x11/gtk+4 port
gtk+4-4.20.3 – multi-platform graphical toolkit (cvsweb github mirror)
Description
GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.WWW: http://www.gtk.org/
Readme
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
XXX c/p from x11/gtk+3, does it still work?
Themes
======
Default
-------
The default GTK+ theme engine can be modified by editing:
~/.config/gtk-4.0/settings.ini
and appending a line similar to:
gtk-theme-name = oxygen-gtk
Extras
------
Some themes are available as packages ("gtk4-*-engine").
Printing
========
Preview
-------
By default, GTK+ uses the "papers-previewer" command from the papers package to
display a "Print Preview". This can be modified by editing:
~/.config/gtk-4.0/settings.ini
and appending the following line:
gtk-print-preview-command = xpdf3 %f
(xpdf3 can be replaced by any other PDF viewer command)
Note that by default, "papers-previewer" will remove the temporary PDF preview
file (/tmp/previewXXXXXX.pdf) when done, that might not be the case with
other PDF viewers.
Input Method
============
By default, GTK4 relies on the Wayland text protocol for input method support.
For compositors without that protocol, you can manually set
GTK_IM_MODULE=simple
to get back support for X11-style compose sequences and dead keys.
Note that some Desktop environments might already override GTK4 defaults.
Maintainer
Antoine Jacoutot
Multi-packages
gtk+4-4.20.3 gtk+4-demos-4.20.3 gtk4-update-icon-cache-4.20.3
Categories
Library dependencies
Build dependencies
- STEM->=1.41p0:wayland/wayland-protocols
- STEM->=1.9.1v0:devel/meson
- STEM->=5.4.0:archivers/xz
- devel/dwz
- devel/gettext,-tools
- devel/glib2
- devel/gobject-introspection
- devel/py-gobject3
- graphics/shaderc
- shells/bash
- shells/bash-completion
- textproc/docbook-xsl
- textproc/py-docutils
- wayland/libinput-openbsd
- www/sassc
Run dependencies
Test dependencies
Reverse dependencies
- audio/d11amp
- devel/libnotify
- devel/vte3
- graphics/colord-gtk
- inputmethods/fcitx-gtk
- inputmethods/ibus
- multimedia/gstreamer1/plugins-rs
- multimedia/handbrake
- net/dino
- net/gssdp
- productivity/workrave
- sysutils/czkawka
- sysutils/flatpak/libportal
- textproc/dialect
- wayland/gtk4-layer-shell
- wayland/regreet
- www/webkitgtk4
- x11/gnome/desktop
- x11/gnome/gcr4
- x11/gnome/gjs
- x11/gnome/libadwaita
- x11/gnome/libshumate
- x11/gnome/secrets
- x11/gnome/shell
- x11/gtk+4
- x11/gtkmm40
- x11/gtksourceview5