词条 | Dashboard (macOS) |
释义 |
| name = Dashboard | logo = Dashboard OS X.svg | logo_size = x64px | screenshot = Dashboard Widgets OS X El Capitan.png | screenshot_size = 300px | caption = Dashboard widgets running under OS X 10.11 El Capitan | operating system = Mac OS X 10.4 Tiger and later | genre = Widget engine }}{{macOS topics}} Dashboard is an application for Apple Inc.'s macOS operating systems, used as a secondary desktop for hosting mini-applications known as widgets. These are intended to be simple applications that do not take time to launch. Dashboard applications supplied with macOS include a stock ticker, weather report, calculator and notepad; users can create or download their own. Before Mac OS X 10.7 Lion, when Dashboard is activated, the user's desktop is dimmed and widgets appear in the foreground. Like application windows, they can be moved around, rearranged, deleted, and recreated (so that more than one of the same Widget is open at the same time, possibly with different settings). New widgets can be opened, via an icon bar on the bottom of the layer, loading a list of available apps similar to the iOS homescreen or the macOS Launchpad. After loading, the widget is ready for use. Dashboard was first introduced in Mac OS X 10.4 Tiger.[1][2][3] It can be activated as an application, from the Dock, Launchpad or Spotlight. It can also be accessed by a dashboard key.[4] Alternatively, the user can choose to make Dashboard open on moving the cursor into a preassigned hot corner or keyboard shortcut. Starting with Mac OS X 10.7 Lion, the Dashboard can be configured as a space, accessed by swiping four fingers to the right from the Desktops either side of it. In OS X 10.10 Yosemite, the Dashboard is disabled by default, as the Notification Center is now the primary method of displaying widgets. Widget functions and capabilitiesDashboard widgets, like web pages, are capable of many different things, including to perform tasks that would be complicated for the user to access manually.[5] One example is the Google Search widget, which simply opens up the user's web browser and performs a Google search. Other widgets, like Wikipedia, grab the contents of web pages and display them within Dashboard. Some widgets can also serve as games, using Adobe Flash (or another multimedia authoring program) to create games just as if they were in a web browser. It is also possible for Mac users to create their own widgets using built-in software. GraphicsDashboard uses a variety of graphical effects for displaying, opening, and using widgets. For instance, a 3-D flip effect is used to simulate the widget flipping around, by clicking on a small i icon in the right bottom corner, the user can change the preferences on the reverse side; other effects include crossfading and scaling from icon to body (when opening widgets), a "spin-cycle effect" when a widget is focused and the user presses Command-R or a suck-in effect when they are closed. On sufficiently powered Macs, widgets will produce a ripple effect when they are opened, like a leaf falling onto water. These effects consume considerable processing power and are arguably merely cosmetic, but with the help of macOS’s Quartz Extreme and Core Image graphics architectures, sufficient computing power to render them in real time is available. As with Exposé, Front Row and the minimise effect, holding shift down while calling the Dashboard or opening the Dashboard menu bar will display the effect in slow motion. Creation of widgetsDashboard widgets are created using Hypertext Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript.[6] Because the same languages are used for creating websites, many web developers can already build them. Widgets themselves are, at the core, simply HTML files that are displayed within the Dashboard layer; they use the WebKit application framework that is also used in Apple's Safari web browser, meaning even users running earlier versions of macOS — where Dashboard is unavailable — can build them. There is widget API allows the widgets to use Mac-specific interface elements such as the Apple Slider.[3] When a Dashboard widget is built, it usually consists of six files:
Once all of these files are in the root of a directory, it is given a name and the extension ".wdgt", and then it can be opened up in Dashboard as a widget. More complex widgets may also include a Cocoa widget plugin (for platform-specific functionality), one or more JavaScript files (for text scrolling, preferences, etc.) or multiple images (for personalized select menus or buttons). Mac OS X 10.5 Leopard includes an application called Dashcode, which is a more user-friendly way of creating widgets. Another new feature of Leopard is called "Web Clip" which lets users easily create widgets from parts of a webpage.[7] For example, during the WWDC 2007 keynote, Steve Jobs made widgets out of the following: the featured news headlines on Yahoo.com, the top ten most searched terms on Google, the Photo of the Day on National Geographic, the Dilbert comic strip, and the box office information from Rotten Tomatoes. The user can also customize the border to further personalize the widgets. Comparison with KonfabulatorMany people have made comparisons between Konfabulator and Apple's Dashboard, especially after Apple announced the feature while Mac OS X 10.4 Tiger was in development. It was a subject of debate in the online community following the few months before Tiger's official release. One school of thought came to the conclusion that Dashboard was a "rip-off" of Konfabulator. It points out the visual and functional similarities between Dashboard has been widely compared to Konfabulator (later Yahoo! Widget Engine) and sometimes called a copy of it, due to the similarities between their graphical aspects and the fact that they both use the term “widgets” to describe the objects in their environments.[8] Konfabulator may in turn have been based on Apple’s Desk Accessories, first released in 1984 with the original Macintosh. Desk Accessories, similar to widgets, were small mini-applications that operated on a user’s desktop. After the introduction of System 7 and cooperative multitasking, the necessity of creating Desk Accessories was removed and developers were encouraged to create applications instead. The OS continued to support them, for backward compatibility, until the switch to Mac OS X (In fact, the Calculator desk accessory remained in the Mac OS through version 9, 17 years without a significant update).[9][10] The code bases for Konfabulator and Dashboard are also different: Konfabulator uses XML and JavaScript to generate Widgets, whereas Dashboard uses HTML, CSS, JavaScript, and Objective-C.[11] Included widgetsIn the first version of Dashboard released with Mac OS X 10.4 Tiger update 10.4.3. Apple included 14 widgets. They consisted of:
After the Macworld 2006 keynote, Steve Jobs also announced four new widgets (Ski Report, People Finder, Google Search, and ESPN), as well as significant updates to the Phone Book and Calendar widgets. All of these are available through the Mac OS X 10.4.4 Tiger update. In addition, Mac OS X 10.5 Leopard released in late 2007, includes new widgets. One of these is Web Clip, which allows any user to turn a rectangular section of any webpage into a widget (This, however, only works with the Safari Web Browser). The widget updates as the website does, and all links and other interactive material in the widget's selection of the webpage works as if the website is being accessed from the Safari Web Browser. Another new widget is Movies, which allows users to find currently playing movies at local theaters, view trailers, and purchase tickets directly from Dashboard. Widgets on iOSApple has not, as of Autumn 2018, announced support for the installation of Dashboard widgets on iOS. Even though, in June 2008, an unannounced update of Dashcode that was packaged with the iPhone SDK allowed for the creation of iPhone-oriented web widgets, it is unknown if this most recent version of Dashcode would support the creation of AJAX-driven mobile widgets that could be installed natively on iOS. It has been demonstrated that installing Dashboard widgets on a jailbroken iOS device is possible in theory, but most desktop-oriented widgets are not oriented to usage or interaction on iOS's multi-touch screen-oriented interface or rely on DashboardClient's widget JavaScript object, which is not part of iOS. On June 2, 2014, as part of their announcement of iOS 8, Apple announced that in the 'Today' view (which is accessible by swiping down the status bar) will be able to have downloadable widgets from the App Store.[12] While not the same desktop-oriented widgets that are found in the Dashboard, this is the first time that widgets became available officially (i.e., without jailbreaking) on iOS. See also
References1. ^{{Cite news|url=https://www.maketecheasier.com/create-dashboard-widgets-from-safari/|title=How to create your own OS X Dashboard Widgets from Safari - Make Tech Easier|date=2010-07-26|newspaper=Make Tech Easier|language=en-US|access-date=2017-01-08}} 2. ^{{Cite news|url=http://www.macworld.co.uk/review/mac-software/mac-os-x-yosemite-review-3516686/|title=Yosemite review: Continuity and WiFi problems mar an otherwise pleasing update|last=Haslam|first=Karen|newspaper=Macworld UK|language=en-GB|access-date=2017-01-10}} 3. ^1 {{Cite book|url=https://books.google.com/books?id=BBwwJuVfLg0C&pg=PA186&lpg=PA186&dq=os+x+dashboard+widgets+api&source=bl&ots=mmMs-0jl7u&sig=5fXat7kqXHVvtBFaUiG0SqZWW3w&hl=en&sa=X&ved=0ahUKEwjLjcu6_73RAhXCilQKHbl7DpcQ6AEIMTAE#v=onepage&q=os%20x%20dashboard%20widgets%20api&f=false|title=Pro Web Gadgets for Mobile and Desktop|last=Udell|first=Sterling|date=2010-04-06|publisher=Apress|isbn=9781430225522|language=en}} 4. ^{{Cite news|url=http://www.macworld.co.uk/how-to/mac-software/how-make-mac-dashboard-useful-3517197/|title=3 ways to Mac Dashboard useful again: games, entertainment and fresh new productivity widgets|last=Hattersley|first=Lucy|newspaper=Macworld UK|language=en-GB|access-date=2017-01-13}} 5. ^{{Cite news|url=https://www.computerworld.com/article/3178623/apple-mac/how-the-macos-dashboard-can-actually-help-you-be-productive.html|title=How the macOS Dashboard can actually help you be productive|last=Evans|first=Jonny|work=Computerworld|access-date=2018-10-04|language=en}} 6. ^{{Cite book|url=https://books.google.com/books?id=CxY3lNQTATQC&pg=PA3&lpg=PA3&dq=Dashboard+widgets+are+created+using+Hypertext+Markup+Language+(HTML),+Cascading+Style+Sheets+(CSS),+and+JavaScript&source=bl&ots=E392acI5ep&sig=hYRfjrvGEG-XB7C5bqR6PA83gVo&hl=en&sa=X&ved=2ahUKEwjDuc2y_ezdAhXRrVkKHWYLBlUQ6AEwCnoECAYQAQ#v=snippet&q=Dashboard%20widgets&f=false|title=JavaScript: The Missing Manual: The Missing Manual|last=McFarland|first=David Sawyer|date=2008-07-21|publisher="O'Reilly Media, Inc."|isbn=9780596555306|language=en}} 7. ^{{Cite book|url=https://books.google.com/books?id=S0AnCgAAQBAJ&pg=PA72&lpg=PA72&dq=Mac+OS+X+Leopard+%22web+clip%22&source=bl&ots=XwbiBH4lyg&sig=qurLAz0FXzptOLdgd8zkzVAaHCI&hl=en&sa=X&ved=0ahUKEwiJ7cDVy7PRAhUI9GMKHbS8D4cQ6AEIWDAJ#v=onepage&q=Mac%20OS%20X%20Leopard%20%22web%20clip%22&f=false|title=Getting StartED with Mac OS X Leopard|last=Williams|first=Justin|date=2008-03-11|publisher=Apress|isbn=9781430205197|language=en}} 8. ^Where Apple Went Wrong With Widgets, a blog post claiming Dashboard was a Konfabulator rip off. 9. ^Much Ado About Dashboard More debate, cites other references. 10. ^Special Patrol: Arlo Rose on Tiger’s Dashboard, an interview with one of Konfabulators authors. Includes his opinions about Dashboard. Includes a response to the "Desk Accessories argument". 11. ^Dashboard vs. Konfabulator, a blog post claiming Dashboard was not a rip off of Konfabulator. Includes history and technical details. 12. ^{{cite web|url=https://www.apple.com/ios/ios8/developer/|title=Apple Developer|first=Apple|last=Inc.|website=Apple.com|accessdate=December 17, 2017}}
External links
3 : MacOS user interface|Widget engines|Software based on WebKit |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。