[Glade-users] widgets problems : the widgets is with gtk 2.16 but your project point to 2.12
Tristan Van Berkom
tristan.van.berkom at gmail.com
Wed Sep 14 06:34:50 EDT 2011
Hi,
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:
> Destination
> License
> 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
> gtkmm-2.4
>
> 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 2.32.1.1 (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:
>>> gtkmm-2.4
>>> gdk-pixbuf-2.0
>>> gdk-2.0
>>> gdk-x11-2.0
>>> gdkmm-2.4
>>
>> Hi,
>> 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.
>>
>> Cheers,
>> -Tristan
>>
>
More information about the Glade-users
mailing list