On Sun, Aug 10, 2008 at 12:26 AM, Aaron <[EMAIL PROTECTED]> wrote:
> I hope I've posted in the right list. I'm a student  developer (first-time
> for the Mac), and I've been toying around with PyObjC, and I would like to
> know how to make an NSimage (arrow) open a link in the default browser. The
> code is all in Python.

NSImage has nothing to do with user interface.  Did you mean
NSImageView?  Since you're describing the semantics of a button, you
should probably be using NSButton instead.  Perhaps make it
borderless.  Then set target/action as normal.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to