[squeak-dev] Preference #swapMouseButtons in Cuis?
juan at jvuletich.org
Thu Jul 16 00:47:50 UTC 2009
Bert Freudenberg wrote:
> On 13.07.2009, at 04:41, Juan Vuletich wrote:
>> Bernhard Pieber wrote:
>>> Am 11.07.2009 um 23:51 schrieb Juan Vuletich:
>>>> Yes. You need to do InputSensor swapMouseButtons: true . Please
>>>> look at this method to see why. Some preferences are a bit
>>>> "special" and setting the value in the Preferences dictionary is
>>>> not enough.
>>> Thanks. Now I see. Hmm, doesn't that make the Preferences inspector
>>> quite useless for these preferences?
>> Yes... :(
> Err, you can register a method to be called whenever a preference is
> - Bert -
Right! In this case instead of setting the 'value' instance variable in
the preference, you'd do 'self preferenceValue: true'.
More information about the Squeak-dev