comp.lang.ada
 help / color / mirror / Atom feed
From: Philipp Riegger <news@anderedomain.de>
Subject: Re: Documentation or examples wanted for the File_Chooser_Dialog
Date: Mon, 11 May 2009 12:50:26 +0200
Date: 2009-05-11T12:50:26+02:00	[thread overview]
Message-ID: <20090511125026.2d072bf9@troy.s.riegger.name> (raw)
In-Reply-To: 4a06e454$0$1649$703f8584@textnews.kpn.nl

Hi Bertus,

On Sun, 10 May 2009 16:27:41 +0200
"ldries46" <bertus.dries@planet.nl> wrote:

>       Set_Name(Header, "C/C++ header files");
>       Add_Pattern(Header, "*.h");

You can write

   Header.Set_Name("C/C++ header files");
   Header.Add_Pattern("*.h");

here, I think. I personally don't use the "use" statement, so the above
modification makes my code much nicer. But that's a philosophical
question.

>       Add_Filter(+File_Dialog, Header);

What does the "+" do in this context?

Philipp



  reply	other threads:[~2009-05-11 10:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 16:01 Documentation or examples wanted for the File_Chooser_Dialog ldries46
2009-05-08 16:25 ` Dmitry A. Kazakov
2009-05-08 20:43   ` ldries46
2009-05-09  7:00     ` Dmitry A. Kazakov
2009-05-10 14:27       ` ldries46
2009-05-11 10:50         ` Philipp Riegger [this message]
2009-05-14  7:34           ` ldries46
replies disabled

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