[Glade-users] widgets problems : the widgets is with gtk 2.16 but your project point to 2.12


The GTK+ 2.x line is generally called GTK+ 2.0 so its impossible to know what
exact version that is.

gtkmm, the C++ binding, generally (I think) follows the GTK+ versions, so
gtkmm 2.4 should be the C++ gtkmm wrapper that covers the GTK+ 2.4 api.

you can type 'pkg-config --modversion gtk+-2.0' to find out what exact
version of GTK+ you have installed.

But I suspect that your Anjuta might be an old version to have come
up with a GTK+ 2.12 dependency... not really sure, as I said you should
ask the Anjuta folks about why you ended up with the 2.12 version, perhaps
they will point you to a newer version...

On Tue, Sep 13, 2011 at 2:05 PM, Fox Fossati <fox.fossati.it at gmail.com> wrote:
I tried to modify the file .ui with gedit (changing gtk 2.12 to gtk
2.24) and all function good or maybe i can do this with glade
standalone and the effect is the same.
When i create a new project with anjuta, there is a particular menu,
it's in italian but i try to translate:
Add internationaliz....
Add shared libraries support
Add gtk-doc system
Configure external packages

If i click the last option (Configure external packages) i have a list
of packages.
If i loock for all packages names with the string "gtk" i find:
gtk 2.0

I have to click these?
I didn't find gtk 2.4 :-(
I think gtkmm isn't the last version of gtk (it's the 2,24) but only a
binding between C++ and gtk

2011/9/13 Tristan Van Berkom <tristan.van.berkom at gmail.com>:
On Tue, Sep 13, 2011 at 4:33 AM, Fox Fossati <fox.fossati.it at gmail.com> wrote:
Hi to all! I have Anjuta (italian version) with Ubuntu. I
have a little problem. I have some wigets that the software tell me
(when i pass the mouse) that the widget is with gtk 2.16 and my
project point to gtk 2.12. Is there a method to solve this
problem?Other widgets similar problem: the widget is with gtk 2.20 but
your project point to 2.12
I'm new not only with anjuta but with linux too.
I click project property and i see i have:

? I'm sorry but I'm not sure how anjuta exposes Glade's project
properties in the UI.

With the Glade stand-alone tool you have a project properties dialog
that lets you set the target GTK+ version for you project, perhaps as
a hack you can edit the Glade file by hand, one of the first lines
should be:
? <requires lib="gtk+" version="2.12"/>

You can change the version to a later version that you know will be
supported on your machine, and then startup anjuta again after
modifying the Glade file.

If the gtkmm versions follow the GTK+ versions (which I suspect
they do), then your Anjuta setup is targeting a very old version of
GTK+ (2.4 ?! we've now reached a final version 2.24) and you should
probably fix that (maybe by changing some setting in Anjuta to target
a more recent GTK+, or it's possible you have a very old installation
and need to upgrade Anjuta).

Probably you better ask the Anjuta folks about this.

? ? ? ? -Tristan

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]