KDE TechBase
  • Page
  • Discussion
  • View source
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

Development/Tutorials/Plasma

< Development | Tutorials

Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenščina | српски | Tiếng Việt | Українська | 简体中文 | 繁體中文

Contents

  • 1 Plasma Programming with C++
  • 2 Plasma Programming with JavaScript
  • 3 Plasma Programming with Python
  • 4 Plasma Programming with Ruby
  • 5 Plasma Programming with Web Technologies (HTML/JS/CSS etc)
  • 6 Theme development
  • 7 Resources

Plasma Programming with C++

Getting Started With Plasmoids
Creating your first plasmoid in C++ with SVG background, icon and text
Writing a DataEngine
DataEngines provide a standardized interface to various data sources for visualizations to use. Learn what a DataEngine is and how to write one of your own.
Video tutorial
Video and slides from a presentation on libplasma (link to Slides below)
Link To Slides For The Above Video
Slides For The Presentation Creating User Interfaces With Plasma by Aaron Seigo
How to use extenders in your Plasmoid
A simple example that shows how to use extenders in a Plasmoid.
Creating Runners
Runners are plugins that provide action-based search functionality in the Plasma workspace "run command" dialog. These plugins can be used by any application that links again libplasma.
Creating Comic Plugins
This guide shows you how to create a comic plugin for the comic plasmoid.
Wallpaper Tutorial 1
This tutorial shows you how to make a simple Hello World plasma wallpaper plugin.

Plasma Programming with JavaScript

Plasma has built-in JavaScript (also known as ECMAScript, and often referred to as QtScript in the context of Qt) scripting support without requiring any external dependencies.

Getting Started
Creating and running your first plasmoid in JavaScript
Getting Data
How to retreive data from a data engine
Now Playing
Slightly more advanced data engine usage: displaying what's currently playing
System Monitor
How to access systemmonitor data engine
Cheat Sheet
A cheat sheet, rather than a tutorial, of things to remember and watch out for when developing JavaScript plasmoids
API Reference
The Simplified JavaScript Plasmoid API. Useful for referencing what is available in the runtime and as a study aid for the tutorials above.
plasma-desktop Scripting
The KDE Plasma Desktop provides means to manage the desktop shell (desktop, panels, widget) via scripts written in JavaScript. This article describes how to take advantage of this feature set as well as documents the full API. This is primarily a system administration tool, but may also be of interest to power users.

Plasma Programming with Python

Getting Started
Creating and running your first plasmoid in Python
Using widgets
Introduction to using Plasma widgets
Using DataEngines
How to use DataEngines from a plasmoid
Writing DataEngines
How to write your own Plasma DataEngine
Writing a Plasmoid in Python
Writing a simple battery graph in python

Plasma Programming with Ruby

Getting Started
Creating and running your first plasmoid in Ruby
Using widgets
Introduction to using Plasma widgets
Writing a simple paste applet
A tutorial explaining how to set up a plasmoid, create a simple paste applet using widgets and add Plasma features seen elsewhere. Complete with tips for those who have never programmed before.

Plasma Programming with Web Technologies (HTML/JS/CSS etc)

Getting Started
Creating and running your first plasmoid in HTML

Theme development

Creating a Plasma Theme
Guide to creating your first Plasma theme

Resources

  • Projects: Plasma
  • Plasma api documentation
  • Plasma Eclipse Integration
  • The plasma-devel mailing list and #plasma on IRC (irc.freenode.org).
Retrieved from "http://techbase.kde.org/Development/Tutorials/Plasma"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal