comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: Where do I get my Cairo context from (in GTK3)?
Date: Thu, 28 Apr 2016 00:49:47 -0700 (PDT)
Date: 2016-04-28T00:49:47-07:00	[thread overview]
Message-ID: <6d655bd6-1123-48f5-884c-4c9d7599f0af@googlegroups.com> (raw)
In-Reply-To: <nfqfb9$ma5$1@gioia.aioe.org>

> I used another approach. Instead of asking the user to draw anything, I 
> let him create an object, e.g. a line, which will knows how to draw 
> itself. The object is put into a list of objects.

I use a similar approach indeed, and ended up creating GtkAda.Canvas_View
with exactly that design ( and a model-view-controller approach too). This
might be what the original poster was looking for.


  reply	other threads:[~2016-04-28  7:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-24 20:44 Where do I get my Cairo context from (in GTK3)? hreba
2016-04-25  7:40 ` Dmitry A. Kazakov
2016-04-25 10:03   ` hreba
2016-04-25 11:58     ` Dmitry A. Kazakov
2016-04-26  7:22       ` briot.emmanuel
2016-04-26  7:34         ` hreba
2016-04-27  7:47           ` briot.emmanuel
2016-04-27  8:08             ` Dmitry A. Kazakov
2016-04-28  7:48               ` briot.emmanuel
2016-04-27 13:15             ` hreba
2016-04-27 13:37               ` Dmitry A. Kazakov
2016-04-28  7:49                 ` briot.emmanuel [this message]
2016-08-05 15:56 ` borisgaertner56
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox