From: Robert Matthews <ignore@ramatthews.free-online.co.uk>
Subject: Re: Thickening Ada GTK or Vala Binding ?
Date: Fri, 28 Dec 2012 00:53:22 +0000
Date: 2012-12-28T00:53:22+00:00 [thread overview]
Message-ID: <F9udndfn9cQ_cEHNnZ2dnUVZ8hWdnZ2d@brightview.co.uk> (raw)
In-Reply-To: 0c94b952-2bdf-4f25-98a3-91a67ed2355d@googlegroups.com
Patrick wrote:
> If I was going to write c functions to hide away the GTK ugliness why
> don’t just write them in Ada and help the community.
>
> Does anyone have some small code examples that might help with this ? Or
> tips on how I could make another wrapper around Ada GTK ?
>
> that being said, this does not have to end up being a full reusable
> wrapper around GTK, it could be codes samples that other people could use.
> I think it is very hard to write reusable code as everyone’s needs are
> different.
I encountered a similar problem with GtkAda - rather low level
and the marshalling stuff needed careful study each time I came
back to the package.
So I started writing "Simple_Gtk", code available here:
http://www.ramatthews.free-online.co.uk/
I haven't worked on it for a few months so have not tried
it with the latest GNAT - and so have not used the latest
Ada way of interfacing to C code. However it worked (it
includes test code) and covers a number of the widgets.
Perhaps it will give you some ideas.
Robert.
next prev parent reply other threads:[~2012-12-28 0:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-27 17:45 Thickening Ada GTK or Vala Binding ? Patrick
2012-12-27 19:07 ` Dmitry A. Kazakov
2012-12-27 21:53 ` Patrick
2012-12-28 7:57 ` Dmitry A. Kazakov
2012-12-28 23:51 ` Randy Brukardt
2013-01-13 6:24 ` gautier_niouzes
2013-01-15 0:34 ` Randy Brukardt
2012-12-27 22:58 ` Brian Drummond
2012-12-27 23:06 ` Patrick
2012-12-28 9:53 ` Brian Drummond
2012-12-28 0:53 ` Robert Matthews [this message]
2012-12-28 1:41 ` Patrick
2012-12-28 2:03 ` Robert Matthews
2012-12-28 5:22 ` Vadim Godunko
2012-12-28 7:38 ` Vadim Godunko
2013-02-07 9:34 ` Gour
2013-02-08 6:49 ` Gour
2012-12-28 11:34 ` Justin Time
2012-12-28 23:56 ` Randy Brukardt
2013-01-11 1:40 ` Saulo
2013-01-11 12:02 ` Jacob Sparre Andersen
2013-01-11 20:14 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox