Re: Widget name is 0x0 after GtkWidget key-press-event



On 08/13/2010 04:50 PM, John Stebbins wrote:
On 08/13/2010 06:22 AM, Tadej BorovÅak wrote:
Hi.

Your problems are caused by the fact that GtkBuilder since GTK+-2.20
doesn't set widget's "name" property to "id" field anymore. API
docs[1] warn about this change (see the first "Note" section in
description).

Tadej

[1] http://library.gnome.org/devel/gtk/stable/GtkBuilder.html#GtkBuilder.description

  
use gtk_buildable_get_name(GTK_BUILDABLE(widget)) instead.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Thanks all, that looks exactly like what happened.  It really messed
things up especially after being away from it for a while.

Thanks again



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