Re: Web links with PyObjC
Re: Web links with PyObjC
- Subject: Re: Web links with PyObjC
- From: "Kyle Sluder" <email@hidden>
- Date: Sun, 10 Aug 2008 13:49:52 -0400
On Sun, Aug 10, 2008 at 12:26 AM, Aaron <email@hidden> 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@hidden)
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:
This email sent to email@hidden