简体   繁体   中英

Creating widgets with C++/Obj-C?

I want to create a widget in Mac OS X that exists on the desktop background rather than the dashboard. The widget will be interactive (the widget will be able talk through text boxes when the user clicks on it, similar to Clippy) and I need it to be floating (always been on top of all windows). The widget should also be able to be flexible- by this I mean it can change shapes (ie how Clippy always moves). It should almost be like a character from a game on the desktop.

I have absolutely not idea how to do this, nor do I could I find any resources that instructed me how to.

Does anyone know how I could create an interactive widget on the desktop background on all major versions of Mac OS X (ie Snow Leopard, Lion) that floats using either C++ or Obj-C? (C++ is much more preferable)

Borderless Windows, and HUDs can be used to simulate a widget by creating a transparent, floating window.

For more info, refer to: How to create transparent notification window?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM