GTK+

GTK, which stands for the Gimp ToolKit, is a library for creating graphical user interfaces. It is designed to be small and efficient, but still flexible enough to allow the programmer freedom in the interfaces created. GTK provides some unique features over standard widget libraries.

Tags Desktop Environment Software Development Libraries Application Frameworks Widget Sets
Licenses LGPL
Operating Systems POSIX
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  02 Jul 2009 10:24
  • Rrelease-after

Changes: A side-effect introduced by a recent bugfix that caused all stock buttons to lose their mnemonics was now fixed.

  • Rrelease-mid
  •  29 Jun 2009 14:20
  • Rrelease-after

Changes: Several minor bugs were fixed. Translations were updated.

Changes: GtkInfoBar was added. GtkButtonBox now implements the GtkOrientable interface. GtkFileChooser's behavior was improved. Printing now supports an application-defined page range selection. Many bugs were fixed.

Changes: A print backend that works with the PAPI printing service is now included. The traditional behaviour of GtkAdjustment with regard to page size was reinstated after having been lost to 2.16. Many minor bugs were fixed. Translations were updated.

Changes: GtkLabel can show embedded URLs. A print backend that works with the PAPI printing service is now included. Many bugs were fixed. Translations were updated.

Rss Recent comments

Rcomment-before 01 Dec 2006 10:29 Rcomment-trans tdowd Rcomment-after

Re: ARgh...
>>our problem probably still has to do with the /usr vs /usr/
local/ business. you might want to install gtk (et.al.) with
'configure --prefix=/usr'

i've been trying to install GImageViewer on Suse 10.1 for
more than a day now... this advice was all I needed. Thank
you so much!

Rcomment-before 10 Mar 2004 06:05 Rcomment-trans muppet Rcomment-after

Re: Where is gtk-config?

> What wrong? Where is gtk-config?

gtk-config was part of gtk+-1.x. gtk+-2.x uses pkg-
config instead. if your app wants gtk-config, it wants
gtk+-1.x and its devel packages.

Rcomment-before 07 Feb 2004 00:14 Rcomment-trans unsynchronous Rcomment-after

Re: Can't get programs to recognize GTK+-1.2.0

> Hi Rob, you seem to know what you're
> doing so I'm hoping you can help me out.
> I've installed gtk+-2.2.4 from source
> and removed my old gtk-config
> beforehand, but now I can't find
> gtk-config anywhere on my system. Have
> I done something wrong? I used all the
> default options when installing
> i.e ./configure
> make
> su
> make install
>
> and gtk was installed in /usr/local
>
> no sign of gtk-config though!
>
> I'm tearing my hair out over this one!
> (I'm trying to get gimp2.0pre2 installed
> without much success!)

the directions above are outdated wrt gtk2.0
which now uses pkg-config (a generalization of gtk-config). you therefore don't need to mess with
the gtk-config stuff.

your problem probably still has to do with the /usr vs /usr/local/ business. you might want to install gtk (et.al.) with 'configure --prefix=/usr' or you might want to mess with your pkg-config path...perhaps 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig'

good luck.

Rcomment-before 05 Feb 2004 14:09 Rcomment-trans dhracer Rcomment-after

Re: Can't get programs to recognize GTK+-1.2.0
Hi Rob, you seem to know what you're doing so I'm hoping you can help me out. I've installed gtk+-2.2.4 from source and removed my old gtk-config beforehand, but now I can't find gtk-config anywhere on my system. Have I done something wrong? I used all the default options when installing
i.e ./configure
make
su
make install

and gtk was installed in /usr/local

no sign of gtk-config though!

I'm tearing my hair out over this one! (I'm trying to get gimp2.0pre2 installed without much success!)

>
> % I resently d/l the Enlightenment WM
> % v0.15.5 and I wanted the e-conf
> program,
> % but it needs gnome-libs so i d/l that
> % when I tried to compile it, it said
> that
> % i needed gtk+-1.2.0, which i have.
> It
> % gave me an error about the libraries
> not
> % matching the header files. Headers=
> % v1.0.2 and Libraries=v1.2.0
> %
> % What should I do to resolve the
> % problem?
> %
> % Thanks
>
>
>
> a couple of things :
> the tarballs generally install to
> /usr/local/
> whereas (for example) redhat installs
> stuff under
> /usr. configure is probably still
> looking at the
> one in /usr.
>
> to fix this: rm /usr/bin/gtk-config
> make sure /usr/local/bin
> is on your
> path
> and /usr/local/lib is in
> /etc/ld.so.conf
>
> before running configure you should be
> able to
> type `gtk-config --version` and it
> should return
> with the version number you just
> installed.
>
> alternately, you can reinstall the gtk
> pacakges
> and glib under /usr by doing
> 'configure --prefix=/usr' but you have
> to
> remember to do that for all the pacakges
> and it
> seems like most packages want to go
> under /usr/local/.
>
> hope it helps
> rob

Rcomment-before 16 Nov 2003 10:58 Rcomment-trans AndrewGuly Rcomment-after

Where is gtk-config?
I have installed (from sources) GTK-2.2.4 in /usr/local/lib/gtk-2.0, but some programs can't find it. For exemple, while configuring XMMS:
checking for gtk-config... (cached) /usr/local/lib/gtk-2.0/bin/gtk-config
checking for GTK - version >= 1.2.2... ./configure: /usr/local/lib/gtk-2.0/bin/gtk-config: No such file or directory
./configure: /usr/local/lib/gtk-2.0/bin/gtk-config: No such file or directory
./configure: /usr/local/lib/gtk-2.0/bin/gtk-config: No such file or directory
./configure: /usr/local/lib/gtk-2.0/bin/gtk-config: No such file or directory
./configure: /usr/local/lib/gtk-2.0/bin/gtk-config: No such file or directory
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/local/lib/gtk-2.0/bin/gtk-config
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

What wrong? Where is gtk-config?
Sorry, if my English scare you...

No-screenshot

Project Spotlight

webERP

An ERP Web-based integrated accounting system.

No-screenshot

Project Spotlight

The LibMsgque Project

An infrastructure for linking tools together to act like a single application.