[Y-devel] Widget set progress
Thorsten Wilms t_w_ at freenet.de
Fri Apr 16 07:20:25 BST 2004
On Fri, Apr 16, 2004 at 10:19:03AM -0400, Casey Winans wrote:
> Widget
> ================================================
> Events: FocusRequested, MouseEntered, MouseExitted, MouseMoved,
> MousePressed (all passing the x,y coordinates [relative to the Widget
> not the Desktop] as well as the button state)
> Properties: Enabled (boolean), Focussed (boolean), Parent (Widget),
> Visible (boolean)
> Methods: RequestFocus
Well, shouldn't there be a little more abstraction? The mouse
is not the only pointing device ...
However, (Mouse)Pressed is not enough, there should be (Mouse)Down
and Up. Then you usualy have three mouse buttons, but it might
be nice for left handed people to switch roles of R and L button,
so it might be better to deal with them in terms of 'roles'.
Standard modifier keys could be defined for simulating the missing
buttons on those mice (click with modifier key directly translated
to the 'role').
Maybe support an arbitrary number of buttons on pointing devices.
And don't forget the mouse wheel.
---
Thorsten Wilms
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved