- 代碼: 選擇全部
You can now attach commands/actions to sensors (so you don't have to check when something is clicked manually in widgetClicked). Also, there is a new callback that is called whenever one of this attached images or text is clicked on. (willfried huss)
SuperKaramba now supports Unicode display to display text from other languages! See third screenshot! (willfried huss)
SuperKaramba now supports rich text objects in addition to plain text. Rich text objects can display formatted html! See third screenshot! (willfried huss)
Widgets can now be displayed in a regular window with a title bar and everything by adding MANAGED=1 to the KARAMBA line in the .theme file. This makes it possible to write regular programs in SuperKaramba (adam geitgey)
Now widgets have a background layer. If you are using a large semi-transparent background image that changes rarely, create it with createBackgroundImage() instead of createImage(). Then it will be saved into the background and only redrawn when the background changes or redrawWidgetBackground() is called. This should make widgets run just as fast with or without large complex backgrounds. Previously, large backgrounds caused large slowdowns.
Willfried Huss added more python examples to the source code distribution (rich text example, unicode example)
我已經包好 for sid 的 package 在 http://www.freenix-info.server/~moto sid/
apt-get update;apt-get install superkaramba 即可..