From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM, PDS_FROM_2_EMAILS autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:7fd0:0:b0:2f3:fda4:6ddf with SMTP id b16-20020ac87fd0000000b002f3fda46ddfmr12458278qtk.323.1653192045460; Sat, 21 May 2022 21:00:45 -0700 (PDT) X-Received: by 2002:a25:6c4:0:b0:64f:af7f:8599 with SMTP id 187-20020a2506c4000000b0064faf7f8599mr2274346ybg.275.1653192045262; Sat, 21 May 2022 21:00:45 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 21 May 2022 21:00:44 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2601:18f:900:7300:ec07:4fd:41ba:94ea; posting-account=3pYsyQoAAACcI-ym7XtMOI2PDU8gRZS5 NNTP-Posting-Host: 2601:18f:900:7300:ec07:4fd:41ba:94ea References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <738d9401-84e6-4615-8640-e48298a6ae9cn@googlegroups.com> Subject: Re: How to associate a simple menu with a window in GtkAda From: "andrew...@gmail.com" Injection-Date: Sun, 22 May 2022 04:00:45 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1986 Xref: reader02.eternal-september.org comp.lang.ada:63866 List-Id: About point #2, why not? On Sunday, May 1, 2022 at 4:58:52 AM UTC-4, Dmitry A. Kazakov wrote: > On 2022-05-01 07:37, @gmail.com wrote:=20 > > I'm trying to create a small menu that will show up at the top of a win= dow. The problem that I'm encountering is that I'm not clear on how to make= that association and have had a hard time trying to find this specific exa= mple. This is the code that I have so far:=20 > >=20 > > https://codeshare.io/loqWOm > 1. Always post complete code.=20 >=20 > 2. Never call Initialize on objects created Gtk_New or equivalent.=20 >=20 > 3. GtkAda examples contains a sample code for menus.=20 >=20 > --=20 > Regards,=20 > Dmitry A. Kazakov=20 > http://www.dmitry-kazakov.de