gtk+4
multi-platform graphical toolkit
WWW CVSWeb GITHub-
Package versiongtk+4-4.12.5
-
MaintainerAntoine Jacoutot
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.
+-----------------------------------------------------------------------
| 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 "evince-previewer" command from the evince 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 = epdfview %f
(epdfview can be replaced by any other PDF viewer command like xpdf...)
Note that by default, "evince" will remove the temporary PDF preview
file (/tmp/previewXXXXXX.pdf) when done, that might not be the case with
other PDF viewers.
CUPS
----
Printing to CUPS requires installing the gtk+4-cups package.
- devel/py-gobject3,python3
- textproc/py-docutils,python3
- wayland/wayland-protocols
- www/sassc
- wayland/libinput-openbsd
- devel/glib2
- STEM->=1.3.2v0:devel/meson
- lang/python/3.10
- devel/gettext,-tools
- textproc/docbook-xsl
- devel/gobject-introspection
- devel/dwz
- STEM->=5.4.0:archivers/xz
- devel/glib2
- devel/dconf
- devel/desktop-file-utils
- x11/gtk+4,-guic
- x11/gnome/adwaita-icon-theme