Re: Spinning progress indicator
Re: Spinning progress indicator
- Subject: Re: Spinning progress indicator
- From: Prachi Gauriar <email@hidden>
- Date: Tue, 27 Jan 2004 02:00:06 -0600
On Jan 27, 2004, at 12:42 AM, Steve Palmer wrote:
I'm trying to find the control, if any, which implements the spinning
progress indicator that appears to the right of Safari tab names or on
the right of the Mail information bar below the toolbar. The one with
the black sticks that spin round like a clock. Is this a standard
Cocoa class or an animation that I need to implement myself?
Your subject almost answers your own question. In Mac OS X 10.2+, use
NSProgressIndicator with the NSProgressIndicatorSpinningStyle style.
-Prachi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
- Prev by Date:
Re: Spinning progress indicator
- Next by Date:
Re: NSURLDownload step by step
- Previous by thread:
Re: Spinning progress indicator
- Next by thread:
Rép : [APP IDEA] Desktop Background Scripting Hello, GeekTool does the four points youare exposing :-) (http://projects.tynsoe.org/geektool/) You can use shell script to replace applescripts you talked about, and you can use osascript command in shell script to execute applescripts. By the way, I don't know if this is the right place to discuss those kind of things :-) Le 25 janv. 04, à 05:19, Nebagakid a écrit : I have posted this in many places: The App would be a way to script the background picture to show information: 1. Display a stock price with a background color to correspond if the stock went up (green) or down (red). 2. Show the current iTunes song with album artwork. 3. Maybe change the desktop picture (or color) depending on the time of day. 4. Download images from a gallery and show them on the desktop. It is sort of like Konfabulator for just the Desktop Background. It is easier, though, because there would be no need to design a GUI. Maybe it could use CSS and XML to arrange stuff? I am not a programmer, but I am an idea person, and I would love to see this idea come to life. So, now, I guess I have some more ideas, graphically. Because, right now, you have another app coming that would compete against Konfabulator, by Panic named Stattoo. So, you could script it to do some basic transitions for when information changes. Like, you could have it do a wipe or a dissolve. You can have objects spin. The text would be anti-aliased, so it would look really great. There would be universal variables that would be standard, such as background (color or transparent), and the name of the "scriptlet." You would start out by writing a script. The most basic thing would be a simple applescript that would be like "set thisVariable to "hello" and then you would have specify some CSS code to say where you would want it. So "#thisVariable" would be made to be centered along the desktop, of course you would say what font-family, font-size, and color you want. then write "set desktop to rgb(0,0,0) And then, when the thing is run, you will see "hello" on a desktop centered. From there, the limits are endless, just like the number of konfabulator widgets. But (BUT!) this program is free for any developer who makes a good script. Is anyone else interested in this? I would like to get this made :) -DCohen < http://dco1.com/ > _______________________________________________ cocoa-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev Do not post admin requests to the list. They will be ignored. -- Yann Bizeul - yann at tynsoe.org http://projects.tynsoe.org/
- Index(es):