Re: Help replacing GtkDrawingArea with GtkLayout




From: Jo?l Kr?hemann <joel weedlight ch>
To: gtk-app-devel-list gnome org
Subject: Re: Help replacing GtkDrawingArea with GtkLayout
Message-ID: <1394327737 3369 3 camel debian>
Content-Type: text/plain; charset="us-ascii"

Hi,

Didn't before but may be check the following:

g_object_set(G_OBJECT(layout),
  "app-paintable\0", TRUE, 
  NULL);

Hmm, I hadn't noticed that property. It is presumably set ok since I can
draw and place widgets on the GtkLayout. It was the configure and scroll
events that I didn't receive.
BTW why do you have two NULL bytes at the end of the property name
(AFAIK only one is needed)?

Richard




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