Hi,
when double clicking on an item the action method is not being called
in 10.4.11.
While the Apple docs say it is "Available in Mac OS X v10.0 and later."
Is there something I may be missing.
Its working fine on Leopard.
Thanks,
Nick
___
Cocoa-
Hello,
I am trying to programmatically create an NSOpenGLView and have it
layer-backed. I would use CAOpenGLLayer except that I am using a
subclass of NSOpenGLView and I don't have the time to rewrite it.
Now, for some reason I can not get the NSOpenGLView to show up. If I
use the same
On 2008 Nov, 15, at 2:54, Nick Rogers wrote:
when double clicking on an item the action method is not being
called in 10.4.11.
Its working fine on Leopard.
The behavior was indeed changed in Leopard:
http://developer.apple.com/releasenotes/Cocoa/AppKit.html
"NSTableView/NSOutlineView - Si
Ken Tozier wrote:
I've been trying off and on for a couple of days to run a script that
requires parameters. [...]
My code is running as a Quark XTension so I may be setting up the
"targetAddress" incorrectly.
If you're constructing Apple events to pass to -
executeAppleEvent:error:, the add
I'll find a reference when I get a chance, but I recall reading
somewhere that what you're trying to do won't work. You will need to
use CAOpenGLLayer if you want to add sub-layers to it.
Just to test it, don't add the sub-layer and see if it shows up then.
If it doesn't then you may have o
Thanks for the reply. I just tried it, but no luck. Still getting a
"event not handled" error. The script runs fine from the Script editor
so all I can think of is that the subroutine option is broken in both
NSAppleScript and OSAScript. Is this a known bug in Apple's script
frameworks? I'v
On Nov 14, 2008, at 12:18 PM, Joel Norvell wrote:
> > > I want to modify the PDF Annotation Editor so that it will tab from
> > > annotation-to-annotation in "edit mode," just like it does in "test
> > > mode."
> > >
> > > And since PDFAnnotation isn't an NSView subclass, I'll have to
> > >
Hi list,
is there a way to obtain the background color of Finder's sidebar
programmatically? In active (i.e. frontmost) and inactive state? I've
searched the documentation and looked up NSColorList to no avail.
Of course it it rather easy to "steal" the colors from Finder and set
them to
On Sat, Nov 15, 2008 at 3:58 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote:
> is there a way to obtain the background color of Finder's sidebar
> programmatically?
If you're trying to create a sidebar, set its selection highlight
style to NSTableViewSelectionHighlightStyleSourceList. If you're not
On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote:
is there a way to obtain the background color of Finder's sidebar
programmatically?
Yes, if you have an NSOutlineView instance in SourceList display mode
you can just use its -backgroundColor is to get the correct color.
Refreshing whateve
Am 15.11.2008 um 22:04 schrieb Kyle Sluder:
On Sat, Nov 15, 2008 at 3:58 PM, Knut Lorenzen <[EMAIL PROTECTED]>
wrote:
is there a way to obtain the background color of Finder's sidebar
programmatically?
If you're trying to create a sidebar, set its selection highlight
style to NSTableViewSel
Am 15.11.2008 um 22:10 schrieb Markus Spoettl:
On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote:
is there a way to obtain the background color of Finder's sidebar
programmatically?
Yes, if you have an NSOutlineView instance in SourceList display mode
you can just use its -backgroundColor is
On Nov 15, 2008, at 1:41 PM, Knut Lorenzen wrote:
Am 15.11.2008 um 22:10 schrieb Markus Spoettl:
On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote:
is there a way to obtain the background color of Finder's sidebar
programmatically?
Yes, if you have an NSOutlineView instance in SourceList d
Am 15.11.2008 um 22:45 schrieb Andrew Merenbach:
Just out of curiosity: if you're trying to mimic the Finder, iTunes,
etc., what would you be using besides an outline view? A normal table
view wouldn't allow you to have groupings of subitems that are
viewable with disclosure triangles.
Hell
On Sat, Nov 15, 2008 at 5:06 PM, Knut Lorenzen <[EMAIL PROTECTED]> wrote:
> I am afraid I was unclear, mimicing Finder (and it's ilk) only color-wise.
I'm still a bit confused... where will you be using this color? This
is the color for source lists. You should have a *very* good reason
for usin
Hi all,
I'd like to have an app/daemon/something detect when the computer
becomes active after a period of inactivity, much like iChat does when
it says "Welcome back! Would you like to change your status from ...".
Does anyone have any insight as to the best way to do that?
Thanks in adv
Am 15.11.2008 um 23:30 schrieb Kyle Sluder:
On Sat, Nov 15, 2008 at 5:06 PM, Knut Lorenzen <[EMAIL PROTECTED]>
wrote:
I am afraid I was unclear, mimicing Finder (and it's ilk) only
color-wise.
I'm still a bit confused... where will you be using this color? This
is the color for source lis
So far, nobody that I've seen has pointed out the specific error in
the code:
On Nov 10, 2008, at 9:00 PM, Michael wrote:
Fraction *myFraction;
myFraction= [Fraction alloc];
myFraction= [Fraction init]; /* ??? */
You are calling init on the class Fraction, not on
On Sat, Nov 15, 2008 at 5:43 PM, Jacob Bandes-Storch <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'd like to have an app/daemon/something detect when the computer becomes
> active after a period of inactivity, much like iChat does when it says
> "Welcome back! Would you like to change your status from
I have since written and tested a 'peer' program in addition to the
client/server pair I previously described. I run serveral instances of this
peer program. Each peer is a server in the sense that it vends an object as
the root of an NSConnection and runs several threads to accept remote cal
Is there an NSString function that would remove all of the '\n' chars from an
NSString?
I'm trying to concatenate all of the lines in a string into one gigantic line
(about 5 unicode chars).
Jordon
___
Cocoa-dev mailing list (Cocoa-de
Am a quite a newbie to Cocoa programming.
Adding and configuring a button in IB is straightforward. I understand
the process of setting action and target in IB and the connection to
Xcode (IBOutlet and IBAction).
But what is the approach when creating a button in IB that I then want
to confi
Something like [string stringByReplacingOccurrencesOfString:@"\n"
withString:@" "] should do the trick
Adios!
Steven Riggs
On Nov 14, 2008, at 6:18 PM, Jordon Hirshon wrote:
Is there an NSString function that would remove all of the '\n'
chars from an NSString?
I'm trying to concaten
To do it from code, add something like..
IBOutlet NSButton *theButton;
...to your .h
Instanitate your class in interface builder and then connect theButton
to your button my control dragging from your class to the button.
and then use the documentation here:
http://developer.apple.com/docume
Hey everyone,
I've been playing around with Brandon's new BWToolKit, and I was
wondering if there's any way to hook the ToolbarItems up through
code. I've got a window with four different sections, and I want to
have some NSMenuItems that, when selected, will open the window to the
appro
In my program I have nested NSMutableArrays, i.e., each element in a
root NSMutableArray is a NSMutableArray.
When I try to grab one of the element NSMutableArrays ..
NSMutableArray *copyOfCurrent = (NSMutableArray *) [[walkerArray
objectAtIndex:lastNodeInCurrent] copy];//walkerArray is a
On Nov 15, 2008, at 10:56 PM, Randy wrote:
In my program I have nested NSMutableArrays, i.e., each element in a
root NSMutableArray is a NSMutableArray.
When I try to grab one of the element NSMutableArrays ..
NSMutableArray *copyOfCurrent = (NSMutableArray *) [[walkerArray
objectAtInde
27 matches
Mail list logo