summaryrefslogtreecommitdiffstats
path: root/kommander/examples/tutorial/README
blob: 658503e0b6cf1db15fbc336cad7342b7bc2f72e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Those example illustrate various Kommander features.

In the future they would be used together with Kommander tutorials. 
For now, only brief information is available


* GLOBALS.KMDR
Shows using global and setGlobal DCOP calls to provide global
variables for script.
Functions/concepts:
- global
- setGlobal
- changeWidgetText

* DCOP.KMDR
Shows how to use both local and external DCOP calls to communicate 
with external application (here: KMail). 
Functions/concepts:
- external DCOP
- addListItem
- enableWidget
- @selectedWidgetText
- @widgetText

* SLOTS.KMDR
Shows how to use connections/slots to handle events. Both population and
standard slots are used.
- slots/connections
- populate()

* SETTINGS.KMDR
Shows how to use @readSetting and @writeSetting functions to write/restore
widget content. Also, shows how to use populate() slot to initialize widget
content.
Functions/concepts:
- @readSetting
- @writeSetting
- populate()
- slots/connections
- destroy

* APPEND.KMDR
Shows how you can append text to TextEdit, and how you can use it to display
formatted text.
Functions/concepts:
- changeWidetText
- RichTextEdit

* CMDLINE.KMDR
Shows how you can pass parameters to Kommander dialog via command-line.
Also, shows how to change list content and button text.
Functions/concepts:
- command-line arguments
- global
- changeWidgetText
- addListItem
- clearList

* INITIALIZE.KMDR
Shows how you can use 'initialization' and 'destroy' scripts of main
dialog to initialize and store some settings.
Functions/concepts:
- initialization
- destroy
- readSetting
- writeSetting

* ARRAY.KMDR
Shows how to use assocative arrays to store and restore information
associated with container items.
Functions/concepts:
- @Array functions

* STRINGS.KMDR
Shows how to use string-handling functions
Functions/concepts:
- @String functions
- rich text editor

* TREE.KMDR
Shows how to use tree widget
- tree widget
- FileSelector
- initialization
- env

* WIDGETS.KMDR
Shows how to get widget information
- type method
- children method

* STATUSBAR.KMDR
Shows how to use statusbar widget
- statusbar widget
- populate

* LOOP.KMDR
Shows how to use internal loops
- for
- forEach

* CALC.KMDR
Shows how to use @expr function to do some calculations
- expr
- String.replace

* PICVIEW.KMDR
Shows how to use PixmapLabel widget using populate() function
- PixmapLabel
- populate
- FileSelector
- slots/connections

* TABLE.KMDR
Shows how to use Table widget
- insertRow
- insertColumn
- currentRow
- currentColumn
- setColumnCaption
- setRowCaption
- removeRow
- removeColumn