Kdialog User Dialogue
Kdialog provides a dialogue window with an identical
API to the standard tk_dialog.
The syntax is;
Kdialog top-level title dialog-text type default button0 ...
where the parameters are as follows;
- top-level
- widget pathname for the dialogue window
- title
- title text for the dialogue window
- dialog-text
- main text for the dialogue
- type
- type of the dialogue. Kdialog support four types; info question
problem error. Example screen-shots of each of these is included
below
- default
- number of the button to become the default (0=first button)
- button0
- text for the first button. The option is repeated for each button
of the dialogue
info: for informational messages
Kdialog .d "kdialog: info" "This is an information dialogue" info 0 OK
question: for choices
Kdialog .d "Kdialog: question" "This is for questions" question 0 accept cancel
problem: for non-fatal problems
Kdialog .d "Kdialog: problem" "This is for non-fatal problems" problem 0 OK
error: for fatal problems
Kdialog .d "Kdialog: error" "This is for fatal errors" error 0 OK
Ktk is maintained by
Andrew F. Lack
This page was last updated on 5th March 1999