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!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!feed.xsnews.nl!border-2.ams.xsnews.nl!news.astraweb.com!border1.a.newsrouter.astraweb.com!pfeed09.wxs.nl!newsfeed.kpn.net!pfeed14.wxs.nl!pfeed15.wxs.nl!not-for-mail From: "ldries46" Newsgroups: comp.lang.ada 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> <20090511125026.2d072bf9@troy.s.riegger.name> Subject: Re: Documentation or examples wanted for the File_Chooser_Dialog Date: Thu, 14 May 2009 09:34:49 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Message-ID: <4a0bc988$0$6684$703f8584@textnews.kpn.nl> NNTP-Posting-Host: 86.88.17.1 X-Trace: 1242286472 textnews.kpn.nl 6684 86.88.17.1:50500 X-Complaints-To: abuse@direct-adsl.nl Xref: g2news2.google.com comp.lang.ada:5836 Date: 2009-05-14T09:34:49+02:00 List-Id: In +File_Dialog the + is a function in the File_Chooser_Dialog to get the associated File_Chooser with the File_Dialog of the type File_Chooser_Dialog. I just presented the example of what I did as I found little or no examples where I could see how to create a File_Chooser_Dialog. "Philipp Riegger" schreef in bericht news:20090511125026.2d072bf9@troy.s.riegger.name... > 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