gtk2.0-examples software package provides example files for GTK+ 2.0, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gtk2.0-examples
gtk2.0-examples is installed in your system.
Make ensure the gtk2.0-examples package were installed using the commands given below,
$ sudo dpkg-query -l | grep gtk2.0-examples *
You will get with gtk2.0-examples package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | X Window System software |
| Package | gtk2.0-examples |
| Version | 2.24.23-0ubuntu1.4 [amd64, i38 |
| Description | example files for GTK+ 2.0 |
| Sub Section | x11 |