[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: gtk 2.20, glade and "name" object property
From:       Tristan Van Berkom <tvb () gnome ! org>
Date:       2010-05-20 19:14:34
Message-ID: AANLkTilo6LfmRNK0ErNhPfsdC2FxGil8mvWvAv9O4hTg () mail ! gmail ! com
[Download RAW message or body]

On Thu, May 20, 2010 at 8:53 AM, Alexander Ivanenko <kitovyj@mail.ru> wrote:
> Hi,
> I''ve encountered a problem with glade-generated xml files(GtkBuilder format) and \
> gtk 2.20(have used 2.18 before). I've developed ui application usng gtkmm and \
> glade. All was ok until I've upgraded to gtk 2.20. My application uses pixmap \
> engine to draw images on top of some widgets using gtkrc configuration file. 
[...]
> 
> Is it a gtk bug since it makes existing gtkbuilder xml incompatible with gtkrc \
> files? Is it a glade incompatibility and glade has to be modified to auto-generate \
> "name" property in GtkBuilder xmls?

Hmm seems I answered a reply to this on glade-users list and missed
part of the question.

The answer is yes and yes

 a.) If you had a builder file with the name set to use a particular
style and it was working prior to 2.20,
      but then ungraciously broke (missed the style) when upgrading to
2.20, without modifying your builder
      file, well that is a bug in GTK+.

      That being said when we discussed it we we're trying to "bring
the feature back" so you could use
      non-unique names in your interface, we probably made the bad
assumption that since that feature
      was already broken, it wouldnt matter if we broke it further by
fixing the issue (the issue being you
      cant properly use the name<-->style associations pre 2.20
anyway, because builder limits you to
      unique names).

 b.) Yes its also kindof a bug in Glade that we dont let you edit it
yet, but you should generally expect
       around 1 years lag of Glade behind GTK+ features/development
(feel free to shorten that lag
       by popping into irc and helping us out ;-))

Regards,
           -Tristan


> 
> Any help is appreciated.
> Alexander Ivanenko
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic