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+3
- Package architecture
- amd64
- Maintainer
- Antoine Jacoutot <ajacoutot@openbsd.org>
- Categories
- x11, devel, x11/gnome
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Runtime
- devel/glib2
- devel/dconf
- devel/desktop-file-utils
- x11/gtk+4,-guic
- x11/hicolor-icon-theme
- x11/gnome/adwaita-icon-theme
Build
- wayland/wayland-protocols
- 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
OpenBSD README
+-----------------------------------------------------------------------
| Running gtk+3 on OpenBSD
+-----------------------------------------------------------------------
Themes
======
Default
-------
The default GTK+ theme engine can be modified by editing:
~/.config/gtk-3.0/settings.ini
and appending a line similar to:
gtk-theme-name = oxygen-gtk
Extras
------
Some themes are available as packages ("gtk3-*-engine").
Sound
-----
GTK+ itself does not support event sounds, you have to use a loadable module
like the one that comes with libcanberra which is loaded automatically when a
GTK+ application is launched.
You may want to install the "libcanberra-gtk3" package if you require these.
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-3.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.
CUPS
----
Printing to CUPS requires installing the gtk+3-cups package.
Used by (274 dependency relationships)
Includes library, runtime, build and test dependencies.