You can copy the classes into your project and add a special Info.plist key
so that it will find the ones on the system first if they exists and if not
back down to the copies in your widget.
We will be posting an example of this very soon.
Thanks,
jl
> What happens when this class (or another new class) is used then
> someone runs the widget on 10.4.2 or earlier?
>
> Chuck
>
>
> At 1:13 PM -0800 11/4/05, John Louch wrote:
>> There is a class for you to use now that does just that.
>>
>> AppleButton in /System/Library/WidgetResources/AppleClasses/
>>
>> AppleGlassButton is a subclass of AppleButton.
>>
>> Thanks,
>> jl
>>
>>
>>> Ludwig,
>>>
>>> Generally, the most common way is to create two graphics for the
>>> button, one representing the unclicked state and one representing the
>>> clicked state. You can switch between the states using onmousedown
>>> and onmouseup handlers on the image.
>>>
>>> Let me know if you need more detail (or if I'm totally
>>> misunderstanding you).
>>>
>>> Ben
>>> --
>>> Ben Kazez
>>> http://www.benkazez.com
>>>
>>> On Nov 4, 2005, at 2:48 PM, Ludwig Villiger wrote:
>>>
>>>> Is there a easy way to show to the user, that the button was
>>>> clicked? I think of something like the genericButton from Apple,
>>>> but not so complicated. It should only change the color or become
>>>> darker when you click the button.
>>>>
>>>> Greetings,
>>>> Ludwig _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Dashboard-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/dashboard-dev/kazezb%
>>>> 40carleton.edu
>>>>
>>>> This email sent to email@hidden
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Dashboard-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
>>>
>>> This email sent to email@hidden
>>
>> --------------------------------------------------
>> John Louch Internet #: email@hidden
>> (805) 541 2965
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Dashboard-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
>>
>> This email sent to email@hidden
>
--------------------------------------------------
John Louch Internet #: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden