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+2
- Package architecture
- amd64
- Maintainer
- Antoine Jacoutot <ajacoutot@openbsd.org>
- Categories
- x11, devel, lang/python, 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
Build
- devel/gobject-introspection
- textproc/intltool STEM->=0.41.1p0
- devel/gmake
- devel/dwz
- archivers/xz STEM->=5.4.0
Test
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running gtk+2 on OpenBSD
+-----------------------------------------------------------------------
Themes
======
Default
-------
The default GTK+ theme engine can be modified by editing:
~/.gtkrc-2.0
and appending a line similar to:
include "${LOCALBASE}/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
Extras
------
Some themes are available as packages ("gtk2-*-engine").
You may want to install the "gnome-themes-extra" package if you need:
- The GTK+ 2 version of Adwaita
- Adwaita-dark as a separate theme, along with its GTK+ 2 equivalent
- GTK+ 2 versions of the HighContrast themes
- The legacy HighContrast icon theme
- Index files needed for Adwaita to be used outside of GNOME
Printing
========
Preview
-------
By default, GTK+ uses evince to display a "Print Preview". This can be modified
by editing:
~/.gtkrc-2.0
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, "evince" will remove the temporary PDF preview
file (/tmp/previewXXXXX.pdf) when done, that might not be the case with
other PDF viewers.
CUPS
----
Printing to CUPS requires installing the gtk+2-cups package.
Used by (154 dependency relationships)
Includes library, runtime, build and test dependencies.