comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Easiest way to build Qt/Gtk interfaces for Ada programs
Date: Fri, 4 Jan 2013 23:39:58 +0000 (UTC)
Date: 2013-01-04T23:39:58+00:00	[thread overview]
Message-ID: <kc7p8e$noq$2@dont-email.me> (raw)
In-Reply-To: 50e14823$0$32188$703f8584@news.kpn.nl

On Mon, 31 Dec 2012 09:07:38 +0100, ldries46 wrote:

> The biggest problem I have with Glade 3 is the complete lack of good
> tutorials or user guides for using the glade files with Ada.

Amen! There are tutorials that cover little parts of the problem but 
nothing about putting the components together to form a coherent 
application.

> The link to http://wiki.ada-dk.org/building_gui_with_glade_3 just
> presents a simple ada program which even lacks a simple extension is how
> to link a filechooser dialog or link a Gtk_Textview to my program. Are
> there such tutorials and where can I find them.
> I tried to create a filechooser to my program by only using code but I
> cannot find some explanation how to get the link to the parent.

Filechooser stumped me too for a couple of days.

As John Matthews says, there is a lot of good stuff in TestGTK, including 
a FileChooser button and a completely diffrent (and IMO ugly) style of 
file selection widget - but even then, they opened a window but didn't 
give a clue how to actually get a filename out of it!

I finally managed it to my satisfaction - still mean to write it (and 
others) up as a tutorial, but have another project on the go at the 
moment.

I also put together a little harness that lets me take any one component 
out of TestGTK and run it standalone, to see how it works in isolation 
until I can make it do my bidding. 

I keep meaning to put that up somewhere too...

- Brian



  parent reply	other threads:[~2013-01-04 23:39 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 14:51 Easiest way to build Qt/Gtk interfaces for Ada programs alb348
2012-12-28 15:32 ` Dmitry A. Kazakov
2012-12-28 17:30   ` alb348
2012-12-28 17:57     ` Dmitry A. Kazakov
2012-12-29  0:18   ` Yannick Duchêne (Hibou57)
2012-12-29  9:26     ` Dmitry A. Kazakov
2012-12-29 10:39       ` Yannick Duchêne (Hibou57)
2012-12-29 12:27         ` Dmitry A. Kazakov
2012-12-29 13:07           ` Georg Bauhaus
2012-12-29 13:26             ` Yannick Duchêne (Hibou57)
2012-12-29 13:09           ` Yannick Duchêne (Hibou57)
2012-12-29  0:27   ` Randy Brukardt
2012-12-29  1:02     ` Georg Bauhaus
2012-12-29  2:10       ` Yannick Duchêne (Hibou57)
2012-12-29  8:55       ` Dmitry A. Kazakov
2012-12-28 16:20 ` Vadim Godunko
2012-12-28 19:56   ` alb348
2012-12-28 20:38     ` Justin Time
2012-12-28 20:52       ` alb348
2012-12-29  0:48         ` Randy Brukardt
2012-12-29 10:23           ` Blady
2012-12-29 10:51             ` Yannick Duchêne (Hibou57)
2012-12-29 15:24           ` Justin Time
2012-12-31 21:49             ` Randy Brukardt
2013-01-01 10:46               ` Justin Time
2013-01-01 12:24                 ` Dmitry A. Kazakov
2013-01-01 16:55                   ` Justin Time
2013-01-02 10:00                     ` Dmitry A. Kazakov
2012-12-28 17:58 ` Justin Time
2012-12-31  8:07   ` ldries46
2012-12-31 20:58     ` John B. Matthews
2013-01-04 23:39     ` Brian Drummond [this message]
2012-12-29 16:40 ` leonid.dulman
2012-12-29 18:12   ` alb348
2012-12-30 17:27 ` leonid.dulman
2013-01-04 13:53   ` Patrick
2013-01-04 23:31     ` Brian Drummond
2013-01-05  8:57       ` 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