[Y-devel] GUI design docs

Maurice van der Pot griffon26 at kfk4ever.com
Wed Feb 25 21:24:59 GMT 2004


On Wed, Feb 25, 2004 at 09:48:22PM +0100, Peter Prohaska wrote:
> 
> That is why i would really like to see an easy way to select "windows"
> or "readline" style for the "dangerous" shortcuts.
> I would not not mind if the program does no copy and paste after my
> changes at all as long as it stops to do things that may lead to
> loss of my precious data.

How about defining a large list of common user interface actions in Y
itself? You could keep the bindings of keys to these actions within Y
and provide an interface for the applications to use them.

Then at least for copy/paste/save/close window/close application/... 
all applications would be using the same key combination.

Of course there would be way more key combinations than keys, so a 
selection would have to be made. If the user assigns ctrl-c both to 
copying a selection and interrupting some output and the application
uses only one of these actions, there is no problem. If the application
uses both actions, the {first key binding|first action|least dangerous
option} would be chosen. We'll have to think about a sensible choice here.
Also the application should have the opportunity to bind some other 
key to the action for which it does not use the default key.

I don't have solutions for these last two issues, but I think the
general idea of system-wide key-action bindings is very useful.

Maurice.




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved