From: Florian Weimer <fw@deneb.enyo.de>
Subject: Modal dialogs with GtkAda
Date: 02 Jan 2001 12:40:42 +0100
Date: 2001-01-02T12:40:42+01:00 [thread overview]
Message-ID: <87ofxqqj0l.fsf@deneb.enyo.de> (raw)
How can I create modal dialogs with GtkAda? Okay, I can use
Set_Modal, but this doesn't result in the convenient programming
interface modal dialogs have with some other widget sets. More
precisely, I want to do the following:
declare
Result : Dialog_Result;
Name : Unbounded_String;
Quantity : Long_Float;
begin
Query_User_With_Dialog (Result, Name, Quantity);
case Result is
when Ok =>
Add_To_Database (Name, Quantity);
...
end case;
end;
Query_User_With_Dialog should not return while the dialog is
visible on the screen. Is there are simple way to implement
Query_User_With_Dialog?
(Another question: Is there any documentation on memory management and
GtkAda, e.g. do I have free components of a window, entries in a Clist,
etc.?)
next reply other threads:[~2001-01-02 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-02 11:40 Florian Weimer [this message]
2001-01-02 13:41 ` Modal dialogs with GtkAda Emmanuel Briot
2001-01-02 21:47 ` Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox