comp.lang.ada
 help / color / mirror / Atom feed
From: Vadim Godunko <vgodunko@gmail.com>
Subject: Re: Thickening Ada GTK or Vala Binding ?
Date: Thu, 27 Dec 2012 21:22:20 -0800 (PST)
Date: 2012-12-27T21:22:20-08:00	[thread overview]
Message-ID: <978bd22c-57bf-416c-a142-14b221047cdd@googlegroups.com> (raw)
In-Reply-To: <0c94b952-2bdf-4f25-98a3-91a67ed2355d@googlegroups.com>

On Thursday, December 27, 2012 9:45:40 PM UTC+4, Patrick wrote:
> I have done some experiments. QT has a method called QApplication::processEvents that was designed to be called from long running callbacks to avoid locking up the gui. I wrapped it and called it from a loop inside Ada and avoided the normal QT main loop all together. I would then be able to call tasks and use Ada’s multi-threading. I would however have to wrap each C++ callback in C in order to bind to Ada and that looked painful.
> 
Your life will be much more simple if you will use QtAda: it do all low level stuff for you. You don't need to write any C/C++ at all.



  parent reply	other threads:[~2012-12-28  5:22 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
2012-12-28  1:41   ` Patrick
2012-12-28  2:03     ` Robert Matthews
2012-12-28  5:22 ` Vadim Godunko [this message]
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