Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to create a widget in MAC

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-11-2009
Member
 
Join Date: Nov 2009
Posts: 564
How to create a widget in MAC
  

Hi,
Is it possible to create my own Widget in MAC. I want to create a small tool that will show up my messages record on the Desktop. I have MAC system. I have downloaded some third party software's for the same but they offers a full widget. It does not include the feature which I want. Is there a proper tool available for doing this job better. Thanks.

Reply With Quote
  #2  
Old 19-11-2009
Member
 
Join Date: May 2008
Posts: 4,343
Re: How to crate a widget in MAC

Dashboard is one of the most important new features of Tiger for Mac OS X, along with Spotlight and Automator. This is a runtime environment for mini applications called widgets, available at any time in a virtual space that can be accessed with a keystroke. If you have Tiger, then you can view the Dashboard and its widgets by pressing the F12 key. A very interesting feature of these widgets is that they are not real applications, but Web pages run outside a browser. Whatever the widget you use, you interact with HTML and JavaScript. So here if you have some knowledge about them then you can definitely create one for yourself.
Reply With Quote
  #3  
Old 19-11-2009
Member
 
Join Date: May 2008
Posts: 4,829
Re: How to crate a widget in MAC

The Dashboard widgets have a similar structure to regular applications. They appear as a file with the extension. Wdgt in the Finder, but are actually directories containing four files: Info.plist describing a widget, an HTML document and two PNG images. Most widgets also use a CSS stylesheet. To create the Info.plist file, launch the Property List Editor application, create a new root element and add the five elements presented in Listing 2. These properties give the name of the widget to display its unique identifier, name bundle, its version and name of the main HTML file. Some optional parameters are also available.
Reply With Quote
  #4  
Old 19-11-2009
Member
 
Join Date: Apr 2008
Posts: 4,097
Re: How to crate a widget in MAC

To simplify the development, all properties are presented in the style sheet Library.css, imported in the header of the document. The script contains Library.js to share any application logic. Besides a more clear, this separation allows for an HTML document very simple and easy to maintain. Each widget uses WebKit, the rendering engine of Safari. If you have Tiger 2.0 then the same you can do more easily because that offers you some help features about the same.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create a widget in MAC"
Thread Thread Starter Forum Replies Last Post
How to create a simple widget for Android Devices Jits Software Development 7 30-03-2013 06:56 PM
How to create a flash weather widget Ilampirai Windows Software 6 06-07-2011 08:33 PM
How to create Battery Status widget on Samsung Wave Glinda Portable Devices 3 23-04-2011 01:03 AM
Best widget for nokia N8 fARUQ aHMED Portable Devices 4 10-01-2011 05:14 PM
Widget to see CPU temperature? Farley Windows Software 2 03-02-2009 10:18 PM


All times are GMT +5.5. The time now is 08:19 PM.