%general-entities; ]> $LastChangedBy$ $Date$ GTK+->k3-version; GTK+3 Introduction to GTK+ 3 The GTK+ 3 package contains the libraries used for creating graphical user interfaces for applications. &lfs76_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: >k3-md5sum; Download size: >k3-size; Estimated disk space required: >k3-buildsize; Estimated build time: >k3-time; GTK+ 3 Dependencies Required , , and Recommended and Optional (Required if building GNOME) Optional , , , , , and User Notes: Installation of GTK+ 3 GTK+ 3 will overwrite gtk-update-icon-cache from if it is installed. There is nothing wrong about that assuming that both programs provide same functionality. If you wish to keep one from GTK+ 2 you can add to the configure command. Install GTK+ 3 by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-broadway-backend \ --enable-wayland-backend \ --enable-x11-backend && make Some tests fail if /usr/share/glib-2.0/schemas/gschemas.compiled is not found. If you wish to run the test suite, create (or update) the file using the following command as the root user: glib-compile-schemas /usr/share/glib-2.0/schemas To test the results, issue make check. Now, as the root user: make install If you installed the package on to your system using a DESTDIR method, an important file was not installed and must be copied and/or generated. Generate it using the following command as the root user: gtk-query-immodules-3.0 --update-cache Command Explanations --enable-broadway-backend: This switch enables the Broadway HTML5 GDK backend. --enable-wayland-backend: This switch enables the Wayland GDK backend which is required for GNOME Wayland support. Remove it if you have not installed the recommended dependencies. --enable-x11-backend: This switch enables the X11 GDK backend. Configuring GTK+ 3 Config Files ~/.config/gtk-3.0/settings.ini and /etc/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini /etc/gtk-3.0/settings.ini Configuration Information GTK+ 3 themes change the way a GTK+ 3 application looks. An icon theme can be used to change the icons that appear on the application's toolbar. If you have installed a GTK+ 3 theme (eg or an icon theme (such as ) you can set your prefences in ~/.config/gtk-3.0/settings.ini. Eg: mkdir -p ~/.config/gtk-3.0 && cat > ~/.config/gtk-3.0/settings.ini << "EOF" [Settings] gtk-theme-name = Adwaita gtk-icon-theme-name = gnome EOF There are many more themes available at and other places. Once you've settled on themes you like, you can (as the root user) make them the default system wide: cat > /etc/gtk-3.0/settings.ini << "EOF" [Settings] gtk-theme-name = Clearwaita gtk-fallback-icon-theme = elementary EOF Contents Installed Programs Installed Libraries Installed Directories broadwayd, gtk-launch, gtk-query-immodules-3.0, gtk-update-icon-cache, gtk3-demo, gtk3-demo-application, and gtk3-widget-factory libgailutil-3.so, libgdk-3.so, and libgtk-3.so, and several under /usr/lib/gtk-3.0/3.0.0/{immodules,printbackends} /etc/gtk-3.0, /usr/include/gail-3.0, /usr/include/gtk-3.0, /usr/lib/gtk-3.0, /usr/share/gtk-3.0, /usr/share/gtk-doc/html/{gail-libgail-util3,gdk3,gtk3}, and /usr/share/themes/{Default,Emacs}/gtk-3.0 Short Descriptions broadwayd provides support for displaying GTK+ 3 applications in a web browser, using HTML5 and web sockets. broadwayd gtk-launch launches an application using the given name. The name should match application desktop file name, as residing in /usr/share/application, with or without the '.desktop' suffix. gtk-launch gtk-query-immodules-3.0 collects information about loadable input method modules for GTK+ 3 and writes it to the default cache file location, or to standard output. gtk-query-immodules-3.0 gtk-update-icon-cache is an icon theme caching utility that creates mmap()able cache files for icon themes. gtk-update-icon-cache gtk3-demo is a simple program that demonstrates some of the things that can be done with GTK+ 3 gtk3-demo gtk3-demo-application is a simple GTK+ 3 application. gtk3-demo-application gtk3-widget-factory is a program to view GTK+ 3 themes and widgets. gtk3-widget-factory libgailutil-3.so contains functions that implements the accessibility interfaces defined by the GNOME Accessibility Toolkit. libgailutil-3.so libgdk-3.so contains functions that act as a wrapper around the low-level drawing and windowing functions provided by the underlying graphics system. libgdk-3.so libgtk-3.so contains functions that provide an API to implement graphical user interfaces. libgtk-3.so