comp.lang.ada
 help / color / mirror / Atom feed
From: Gavin McCord <gavind.mccord@gmail.com>
Subject: Re: GEntry with autocomplete
Date: Tue, 8 Mar 2022 23:46:35 -0000 (UTC)	[thread overview]
Message-ID: <t08psr$re8$1@dont-email.me> (raw)
In-Reply-To: t04bjg$d4q$1@gioia.aioe.org

On Mon, 7 Mar 2022 08:18:07 +0100, Dmitry A. Kazakov wrote:

> On 2022-03-07 01:06, Gavin McCord wrote:
> 
>> Compilation fails at line 40 "Completion_1.Set_Model (List_1)"
>> with the error
>> 
>> test.adb:40:28: error: expected private type "Gtk_Tree_Model" defined
>> at gtk-tree_model.ads:195 test.adb:40:28: error: found type
>> "Gtk_List_Store" defined at gtk-list_store.ads:139
>> 
>> Presumably, I've missed something in translation.
> 
> See To_Interface function that does the conversion.
> 
> [GTK interfaces are tagged Ada types. Since full MI is unfortunately not
> supported in Ada, explicit conversion are are needed]

Yes, that did the trick. Thank you.

      reply	other threads:[~2022-03-08 23:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07  0:06 GEntry with autocomplete Gavin McCord
2022-03-07  7:18 ` Dmitry A. Kazakov
2022-03-08 23:46   ` Gavin McCord [this message]
replies disabled

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