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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,64d5f5037bcca019 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!q36g2000vbi.googlegroups.com!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: Title in Main Window with GtkAda Date: Fri, 12 Nov 2010 08:06:29 -0800 (PST) Organization: http://groups.google.com Message-ID: <083482db-f5f3-461d-96ef-d794c032ed96@q36g2000vbi.googlegroups.com> References: <4cdd4d36$0$8929$703f8584@textnews.kpn.nl> <9MedneAM2sBj_kDRnZ2dnUVZ8gmdnZ2d@brightview.co.uk> NNTP-Posting-Host: 88.97.49.112 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1289577989 13912 127.0.0.1 (12 Nov 2010 16:06:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 Nov 2010 16:06:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q36g2000vbi.googlegroups.com; posting-host=88.97.49.112; posting-account=Fz1-yAoAAACc1SDCr-Py2qBj8xQ-qC2q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:15444 Date: 2010-11-12T08:06:29-08:00 List-Id: On Nov 12, 3:57=A0pm, Robert Matthews wrote: > ldries46 wrote: > > I just want to change the Title in the main window of a Gtk ADA > > application at the moment of some action, like adding a File name as is > > done in Fi Word. Is that possible. IF so how can do I do it? > > Call Set_Title in Gtk.Window, should do the trick. That works for me too (MS Windows XP and 7). But the GtkAda RM says: "Change the title of the window, as it appears in the title bar. Note that on some systems you might not be able to change it. " So it isn't guaranteed to work. Cheers, Phil