[linux-audio-dev] libcui - design-question

Mario Lang mlang at delysid.org
Mon Sep 19 08:46:26 UTC 2005


Magnus Hjorth <magnus.hjorth at home.se> writes:

> On Thu, 15 Sep 2005 16:13:15 +0200
> Alfons Adriaensen <fons.adriaensen at alcatel.be> wrote:
>
>> When thinking MVC, you do just the opposite: when you touch something
>> on the GUI, all it does is send a event ('user has clicked on button
>> #123') to the 'model' part. This does the thinking, takes actions, and
>> may send a command back to the GUI ('set the state of button #123 to
>> RED'). The GUI has become just a dumb translation between commands or
>> events and visual objects. 
>
> The model shouldn't know about which buttons etc exist in the GUI and how to display things, so the event should be more like ('user wants to perform action #123') and the response should be more like ('the model state changed to RED') IMO.
>
> About the original question, maybe it would be a good idea to integrate with or at least support the ATK library that's part of GTK/GNOME? It allows you to "announce" your widgets and accept input in a generic way from input devices... 

ATK is for GUIs, the original poster proposed to create
a library for console programs.  Using ATK there is simply
overkill and unnecessary, if it is possible at all.  I've got a vague
recollection that a ATK client somehow needs an associated X display,
but that might be false info...

I've feared this effect of half-hearted accessibility support
for graphical desktops under Linux, and it seems my fears have come
true: Just because there *is* an attempt to make GUIs accessible
doesnt necessarily mean that all people needing accessibility
support should immediately be forced to use the new shiny (crashing)
stuff.  There is a reason why we blind people prefer text mode
UIs, and that is because they are way more efficient than every
Accessible GUI can ever be.  That has been true when 99% of
the user base had to switch from DOS to Windows 10 years
ago, and it will continue to be true under Linux.  I know
blind Windows users who still complain in 2005 about slow scrolling speeds.
They say windows with accessibility never got as fast as DOS with
accessiblity was in 1994 already.  Now, think about this, and
evaluate for yourself if you as a user who is forced to
use accessibility would really love the whole GUI movement and
people round you yelling at you "Yes, but it works, didnt you know?"
Bah

-- 
CYa,
  Mario




More information about the Linux-audio-dev mailing list