The Kommander Handbook
Next

The Kommander Handbook

Marc Britton

Tamara King

Eric Laffoon

András Manţia

Revision 3.2.95 (2008-02-12)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

These docs have been partially complete for years, but not always available or easy to find. Since around 2002 little spurts of effort on Kommander have produced dramtic results. Kommander is a new approach to development and there have been modifications in approach and features. Consequently much of this documentation is out of date, however still useful due to legacy support. Please refer to our web site at http://kommander.kdewebdev.org for up to date information, news on KDE4 development, new tools, plugins, tips and tutorials.

Kommander is a set of tools that allow you to create dynamic GUI windows that has been used as a front end for command line programs, database front ends, simple program extentions and much more. The best part of it all? You aren't required to write a single line of code! Okay, that was old text... You can actually use the function browser and even with the new parser write almost none of the code. The inherent difference between Kommander and other GUI scripting tools is that Kommander doesn't care about how the window gets drawn. Kommander was designed from the GUI down to the language elements and can embrace multiple languages. Kommander does not use scripting to draw a window on the screen like other GUI scripting tools. As Kommander matures it will expose all it's internals to any scripting language people want to enable. We welcome anyone wishing to enhance support for any scripting language.


Table of Contents

1. Introduction
2. Kommander Basics
Concepts
The Editor
Main Window
The File Menu
The Edit Menu
The Tools Menu
The Layout Menu
The Run Menu
The Window Menu
The Settings Menu
The Help Menu
The Executor
Executor for Programmers
Creating a Dialog
Executable bit - new in 1.3
3. Command Reference
Widgets
Specials and Built-in Global Variables
Array Function Group
File Function Group
String Function Group
Built-in Globals
DCOP Functions
DCOP for Global Variables
DCOP for all Widgets
DCOP for ListBox and ComboBox Widgets
DCOP for CheckBox and RadioButton Widgets
DCOP for TabWidget Widgets
4. Kommander New Parser
Old parser
Old parser
New parser
Invoking new parser
New Parser Features
Types
Expressions
Variables
Comments
Built in Globals
Passing arguments in Kommander
Commands
if
while
for
foreach
Functions
String functions
Kommander functions
Array functions
File functions
Input functions
Message functions
5. Extending Kommander
Creating Kommander Widgets
Create the widget class
Create the Kommander plugin
Configure the installed plugins
Add the widget directly to Kommander
6. Translating Kommander dialogs
Translating Kommander dialogs
7. Tips and Tutorials
Using the Editor
Editor Tools
Adding Custom Tools
Included custom tools
Using Layout
Signals and Slots
Slot Functions
Basic Tutorials
Globals
DCOP
Slots
Settings
Append
Command Line
Initialize
Array
Strings
Tree
Widgets
StatusBar
Loop
Calc
Picview
Table
Current Examples
editor-poc.kmdr
kevaluecombo.kmdr
Kpart demo
passvariables.kmdr
tableselect.kmdr
8. Questions and Answers
9. Credits and License
A. Installation
How to obtain Kommander
Requirements
Compilation and Installation
Glossary
Next
 


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team