gtk+3

multi-platform graphical toolkit

WWW CVSWeb GITHub
  1. Package version
    gtk+3-3.24.41
  2. Maintainer
    Antoine 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
+-----------------------------------------------------------------------

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 "evince-previewer" command from the evince 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 = 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+3-cups package.

  • wayland/wayland-protocols
  • wayland/libinput-openbsd
  • devel/glib2
  • STEM->=1.3.2v0:devel/meson
  • 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/hicolor-icon-theme
  • x11/gnome/adwaita-icon-theme