Hmm, I thought I had already solved this. The solution is that popup boxes that
contain one or more widget that accept keyboard events are constrained to the
non-toolbar area. 

To demonstrate this, start up a pgserver at 320x240, and run pgboard and
dialogdemo. If you start the 'open file' dialog, it will take up the whole
screen. The 'save file' dialog will be constrained to the area above pgboard,
and pgboard will still be usable. If you run the string input dialog, its size
will not be affected by pgboard but pgboard should still be usable.

You may be having problems with this if you started the input dialog while
another dialog or popup menu is on the screen. Popup menus usually overlap
toolbars, and most dialogs are at least allowed to. For this to work, all
dialogs in use have to be constrained to the non-toolbar area.

Quoting Sean Barnes <[EMAIL PROTECTED]>:

> I haven't messed with this, but I thought Micah had a solution. The idea
> was
> that toolbars would remain usable even when displaying a modal dialog.
> One
> thing that might have been forgotten was what happens when a modal
> dialog
> box is bigger than the space between toolbars.
> 
> -Sean
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Alain
> > Paschoud
> > Sent: Tuesday, October 23, 2001 8:32 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Pgui-devel] keyboard and modal windows
> >
> >
> > Hello,
> >
> > I need to send back a simple string given by the user. So I decided to
> use
> > the virtual keyboard and a modal dialog with the function
> > "pgInputDialog(...)".
> >
> > The problem is that the virtual keyboard is on the same layout that
> the
> > applications, and the popup window appear over the applications and
> the
> > toolbar-applications.
> > So the keybord is no more active when the popup appear, and I
> > cant enter any
> > text in my input field...
> >
> > How could I use the virtual keyboard with a modal dialog ?
> >
> > Thank you for any proposition.
> >
> > --
> > Alain Paschoud                      SMARTDATA SA
> > [EMAIL PROTECTED]         PSE-A
> > http://www.smartdata.ch             1015 Lausanne
> > Phone +41-21-693'84'98
> > Fax   +41-27-693'84'91
> >
> > _______________________________________________
> > Pgui-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/pgui-devel
> 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel
> 



--
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to