Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-13 Thread Joël Krähemann
On Wed, 2014-03-12 at 09:15 +, Richard Shann wrote: > On Tue, 2014-03-11 at 21:43 +0100, Joël Krähemann wrote: > [...] > > > Please consider the documentation of gtk_widget_set_app_paintable() > > > don't believe GtkLayout can do your job. You could try id with a > > > GtkDrawingArea with a cai

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-12 Thread Richard Shann
On Tue, 2014-03-11 at 21:43 +0100, Joël Krähemann wrote: [...] > > Please consider the documentation of gtk_widget_set_app_paintable() > > don't believe GtkLayout can do your job. You could try id with a > > GtkDrawingArea with a cairo surface. I do some drawing in C take a look > > at http://sourc

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-11 Thread Joël Krähemann
hemann wrote: > > > > > > > > On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote: > > > > > > > > > > From: Jo?l Kr?hemann > > > > > > > > > > To: gtk-app-devel-list@gnome.org > > > > > > > >

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-11 Thread Joël Krähemann
gt; > > > > > > > From: Jo?l Kr?hemann > > > > > > > > > To: gtk-app-devel-list@gnome.org > > > > > > > > > Subject: Re: Help replacing GtkDrawingArea with GtkLayout > > > > > > > > > Message-ID:

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-11 Thread Richard Shann
at 09:29 +0100, Joël Krähemann wrote: > > > > > On Mon, 2014-03-10 at 09:26 +0100, Joël Krähemann wrote: > > > > > > On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote: > > > > > > > > From: Jo?l Kr?hemann > > > > > > >

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-10 Thread Richard Shann
On Mon, 2014-03-10 at 09:29 +0100, Joël Krähemann wrote: > On Mon, 2014-03-10 at 09:26 +0100, Joël Krähemann wrote: > > On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote: > > > > From: Jo?l Kr?hemann > > > > To: gtk-app-devel-list@gnome.org > > > &g

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-10 Thread Joël Krähemann
On Mon, 2014-03-10 at 09:26 +0100, Joël Krähemann wrote: > On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote: > > > From: Jo?l Kr?hemann > > > To: gtk-app-devel-list@gnome.org > > > Subject: Re: Help replacing GtkDrawingArea with GtkLayout > > > Mess

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-10 Thread Joël Krähemann
On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote: > > From: Jo?l Kr?hemann > > To: gtk-app-devel-list@gnome.org > > Subject: Re: Help replacing GtkDrawingArea with GtkLayout > > Message-ID: <1394327737.3369.3.camel@debian> > > Content-Type: text/p

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-09 Thread Richard Shann
> From: Jo?l Kr?hemann > 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 b

Re: Help replacing GtkDrawingArea with GtkLayout

2014-03-08 Thread Joël Krähemann
Hi, Didn't before but may be check the following: g_object_set(G_OBJECT(layout), "app-paintable\0", TRUE, NULL); gtk_widget_set_events (GTK_WIDGET (layout), GDK_EXPOSURE_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK