Projects / GTK+

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
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  13 May 2012 01:40

Release Notes: The sizing and layout of GtkIconView has been rewritten. Various minor bugs have been fixed.

Release Notes: The Wayland backend can now be used without cairo-gl. GdkWaylandDisplayManager is now exposed for runtime checks. Theming support has been improved. Various minor bugs have been fixed.

  •  04 May 2012 20:45

Release Notes: Various minor bugs were fixed.

  •  16 Apr 2012 20:09

Release Notes: This release fixes various minor bugs and updates translations.

Release Notes: Major new features include menu support in GtkApplication, a new color chooser, support for touch devices and corresponding events and signals, GtkScrolledWindow with kinetic scrolling on touch devices, and support for smooth scrolling. Spin buttons have a new look. The treeview accessible support has been rewritten and works much better now. Theming support has been expanded. OS X support has been improved. Windows support now finally works well. The Wayland and Broadway backends have been updated. Minor bugs have been fixed.

RSS Recent comments

06 May 2010 07:37 paroberts

Hi,

I've spent hours on this and can't seem to search out the right answer. I'd like to install the latest version of WireShark on CentOS 5.4 and I've cleared all the other hurdles (like having devel packages installed) to get GTK+-2.8.20 compiled. It seems the only remaining obstacle is that the WireShark ./configure refuses to believe that GTK+ >= 2.4.0 is installed. The GTK+ compile, make, make install all went smooth with no errors so I believe it is there. Here is the error:

checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... 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+ is incorrectly installed.
configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compiled

So...GTK+ 2.8 is installed, I've tried throwing different paths in /etc/ld.so.conf and the configure variables, etc. with no luck.

Can someone tell me what I'm missing? I looked for a 'devel' package for GTK+ but it didn't look like there was one.

Thanks for any help!

01 Dec 2006 10:29 tdowd

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!

10 Mar 2004 06:05 muppet

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.

07 Feb 2004 00:14 unsynchronous

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.

05 Feb 2004 14:09 dhracer

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

Screenshot

Project Spotlight

Snippetory

A general Java template engine based on passive templates.

Screenshot

Project Spotlight

Blitz templates for PHP

A fast PHP template engine written in C and compiled as a PHP module.