Re: Widget name is 0x0 after GtkWidget key-press-event
- From: John Stebbins <stebbins jetheaddev com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Widget name is 0x0 after GtkWidget key-press-event
- Date: Fri, 13 Aug 2010 13:50:04 -0700
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]