From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ceece7f1155f2cf6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.musoftware.de!wum.musoftware.de!news.karotte.org!news.bawue.net!not-for-mail From: Philipp Riegger Newsgroups: comp.lang.ada Subject: Re: Documentation or examples wanted for the File_Chooser_Dialog Date: Mon, 11 May 2009 12:50:26 +0200 Organization: bawue.net - http://www.bawue.net Message-ID: <20090511125026.2d072bf9@troy.s.riegger.name> References: <4a04575c$0$1646$703f8584@textnews.kpn.nl> <3il2h6knjn6e$.1d81alwet09tw$.dlg@40tude.net> <4a049979$0$6677$703f8584@textnews.kpn.nl> <11bbcsfmckzik$.1kok2zp59s132$.dlg@40tude.net> <4a06e454$0$1649$703f8584@textnews.kpn.nl> NNTP-Posting-Host: s_riegger_name.tunnel.bawue.de Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.bawue.net 1242039091 5665 86.111.250.18 (11 May 2009 10:51:31 GMT) X-Complaints-To: abuse@news.bawue.net NNTP-Posting-Date: Mon, 11 May 2009 10:51:31 +0000 (UTC) X-Newsreader: Claws Mail 3.7.1 (GTK+ 2.16.1; i686-pc-linux-gnu) Xref: g2news2.google.com comp.lang.ada:5755 Date: 2009-05-11T12:50:26+02:00 List-Id: Hi Bertus, On Sun, 10 May 2009 16:27:41 +0200 "ldries46" 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