[Y-devel] Will Y enforce uniformity? Or just allow it?
Kris Van Hees aedil-y-devel at alchar.org
Tue Mar 9 21:15:20 GMT 2004
On Tue, Mar 09, 2004 at 09:00:44PM +0000, Mark Thomas wrote:
> The idea is not to disallow people to write client-side widgets, but to
> make them think carefully about doing it. Do you *really* need to write
> your own whizzbangbutton when you can use:
>
> Y::Button *button = new Y::Button ();
>
> and that will be faster, and more consistent with the user's experience.
> Programmers are generally lazy (it's a form of efficiency) so I think they
> are likely to opt for the standard toolkit when it is obviously superior
> to use it.
>
> Of course, people can still be morons and implement their own whizzbangTk
> using lots of Y canvases. I wouldn't be surprised if people laughed at
> them and didn't use their application, though.
I agree, but there are definitely cases where no standard widget set will ever
be 'sufficient' for all purposes. E.g. XGospel (a graphical Go client) uses a
custom widget to handle the Go board. It could be constructed using many very
tiny default widgets, but that would hardly be efficient. Being able to do
this as a client-side widget definitely would be good, and if the Y server
implementation provides support for that (so that e.g. a screen reader that
would typically be running on the machine with the Y server could pick up on
events and handle those appropriately - the same as if it were a server-side
widget)... well, that would definitely be a powerful tool.
I definitely do not argue that programmers aren't typically lazy (we all know
that, being programmers ourselves), and that most will use the standard widgets
in 99% of all cases. But I wanted to throw the notion out on the list that it
is definitely not true that a standard widget set can cover all needs, and that
therefore a solid support for client-side widgets is also needed, and that it
should preferably be done in a transparent way so that add-ons like the
accessibility agents I am researching do not need to care what kind of widget
theyare dealing with.
Kris
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved