comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Gtk Ada Message box example
Date: Sat, 29 Dec 2018 17:09:40 +0100
Date: 2018-12-29T17:09:40+01:00	[thread overview]
Message-ID: <q08683$ol5$1@gioia.aioe.org> (raw)
In-Reply-To: 5c2793ed$0$19300$e4fe514c@news.kpn.nl

On 2018-12-29 16:34, ldries46 wrote:
> I am searching for an example of showing a message box in Gtk.
> I have been programming in VC++ earlier and there it was simple tocreate 
> a message box because you only have to show it.
> I just want a message box with a title, a message and one button "OK". 
> If possble an Icon "Warning"
> both text items can be either in string format or in.
> I do not want to use glade anymore since it cannot present ada 
> programming language anymore.
> I just am glad with a link ho an example in Ada

    http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm

Package Gtk.Missed, procedure Message_Dialog.

Note it cannot be called from any Ada task other than the one running 
the GTK messages loop.

For a procedure callable from any task see the package Gtk.Main.Router, 
procedure Say.

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


  reply	other threads:[~2018-12-29 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-29 15:34 Gtk Ada Message box example ldries46
2018-12-29 16:09 ` Dmitry A. Kazakov [this message]
2018-12-31  7:31   ` ldries46
replies disabled

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