[Glade-users] Modal Screens
- From: bdrs compuserve com (Bas Driessen)
- Subject: [Glade-users] Modal Screens
- Date: Thu, 13 Feb 2003 17:25:05 +1000
This is a multi-part message in MIME format.
------=_NextPart_000_0002_01C2D384.DAE01EA0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
G'Day,
Question regarding "modal" screens in Glade. My understanding is that
when you display a "modal" screen, your application basically should
freeze, until this "modal" screen has been processed by the user
(pressing OK or Cancel button for instance). So how can I cater for
this in my code. The structure I need is the following:
Function:
1 Statement
2 Statement
3 CALL Modal_Screen1
4 Statement
5 Statement
So Statement 4 and further should only be processed AFTER the "modal"
screen has been destroyed. Only modeless screens should process
statement 4 regardless of the state of the screen. Callback functions
attached to the "modal" screen should be processed as normal.
I have tried making infinte For/While loops, but that causes the
application to hang.
Any help is appreciated.
Thanks,
Bas.
------=_NextPart_000_0002_01C2D384.DAE01EA0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D990191507-13022003>G'Day,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D990191507-13022003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D990191507-13022003>Question regarding=20
"modal" screens in Glade. My understanding is that when you display a =
"modal"=20
screen, your application basically should freeze, until this "modal" =
screen has=20
been processed by the user (pressing OK or Cancel button for =
instance). So=20
how can I cater for this in my code. The structure I need is the=20
following:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D990191507-13022003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D990191507-13022003>Function:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D990191507-13022003></SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN =
class=3D990191507-13022003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003>1=20
Statement</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003>2 Statement</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003>3 CALL =
Modal_Screen1</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003>4 Statement</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN class=3D990191507-13022003>5=20
Statement</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN class=3D990191507-13022003>So Statement =
4 and=20
further should only be processed AFTER the "modal" screen has been =
destroyed.=20
Only modeless screens should process statement 4 regardless of the state =
of the=20
screen. Callback functions attached to the "modal" screen should be =
processed as=20
normal.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN class=3D990191507-13022003>I have tried =
making=20
infinte For/While loops, but that causes the application to=20
hang.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN class=3D990191507-13022003>Any help is=20
appreciated.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003>Thanks,</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003>Bas.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003><SPAN=20
class=3D990191507-13022003></SPAN></SPAN></SPAN></FONT> </DIV></BODY=
</HTML>
------=_NextPart_000_0002_01C2D384.DAE01EA0--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]