Results 1 to 4 of 4

Thread: How to create a widget in MAC

  1. #1
    Join Date
    Nov 2009

    How to create a widget in MAC

    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.

  2. #2
    Join Date
    May 2008

    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.

  3. #3
    Join Date
    May 2008

    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.

  4. #4
    Join Date
    Apr 2008

    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.

Similar Threads

  1. How to create a simple widget for Android Devices
    By Jits in forum Software Development
    Replies: 7
    Last Post: 30-03-2013, 06:56 PM
  2. How to create a flash weather widget
    By Ilampirai in forum Windows Software
    Replies: 6
    Last Post: 06-07-2011, 08:33 PM
  3. How to create Battery Status widget on Samsung Wave
    By Glinda in forum Portable Devices
    Replies: 3
    Last Post: 23-04-2011, 01:03 AM
  4. Best widget for nokia N8
    By fARUQ aHMED in forum Portable Devices
    Replies: 2
    Last Post: 08-01-2011, 06:43 PM
  5. Widget to see CPU temperature?
    By Farley in forum Windows Software
    Replies: 2
    Last Post: 03-02-2009, 11:18 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,719,051,208.98116 seconds with 17 queries