multi-platform graphical toolkit
Project homepage: http://www.gtk.org/
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.
Package information
- Ports path
- x11/gtk+4
- Package architecture
- amd64
- Maintainer
- Antoine Jacoutot <ajacoutot@openbsd.org>
- Categories
- x11, devel, x11/gnome
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
- devel/pango
- graphics/gdk-pixbuf2
- graphics/graphene
- graphics/vulkan-loader
- print/cups,-libs
- wayland/wayland
- x11/xkbcommon
- multimedia/gstreamer1/plugins-bad
Runtime
Build
- devel/py-gobject3
- graphics/shaderc
- textproc/py-docutils
- wayland/wayland-protocols STEM->=1.41p0
- www/sassc
- shells/bash
- shells/bash-completion
- wayland/libinput-openbsd
- devel/glib2
- devel/meson STEM->=1.12.1v0
- devel/gettext,-tools
- textproc/docbook-xsl
- devel/gobject-introspection
- devel/dwz
- archivers/xz STEM->=5.4.0
Test
OpenBSD README
+-----------------------------------------------------------------------
| Running gtk+4 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.
Used by (34 dependency relationships)
Includes library, runtime, build and test dependencies.