• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Web links with PyObjC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Web links with PyObjC (From: Aaron <email@hidden>)

  • Prev by Date: Re: including a cocoa bundle in a carbon app
  • Next by Date: Re: Lazy Loading of images
  • Previous by thread: Web links with PyObjC
  • Next by thread: Re: Web links with PyObjC
  • Index(es):
    • Date
    • Thread