comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to associate a simple menu with a window in GtkAda
Date: Sun, 22 May 2022 08:29:24 +0200	[thread overview]
Message-ID: <t6cl84$110q$1@gioia.aioe.org> (raw)
In-Reply-To: 738d9401-84e6-4615-8640-e48298a6ae9cn@googlegroups.com

On 2022-05-22 06:00, andrew...@gmail.com wrote:
> 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:
>>> I'm trying to create a small menu that will show up at the top of a window. 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 example. This is the code that I have so far:
>>>
>>> https://codeshare.io/loqWOm
>> 1. Always post complete code.
>>
>> 2. Never call Initialize on objects created Gtk_New or equivalent.

Because Gtk_New calls to Initialize internally. Basically

    Gtk_New = allocator new + Initialize

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2022-05-22  6:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-01  5:37 How to associate a simple menu with a window in GtkAda andrew...@gmail.com
2022-05-01  8:58 ` Dmitry A. Kazakov
2022-05-22  4:00   ` andrew...@gmail.com
2022-05-22  6:29     ` Dmitry A. Kazakov [this message]
2022-05-02  6:15 ` Stephen Merrony
replies disabled

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