]> icculus.org git repositories - duncan/yast2-web-wt.git/blob - examples/example-1.ycp
examples
[duncan/yast2-web-wt.git] / examples / example-1.ycp
1 {
2     // Build a dialog with one button.
3     // Wait until that button is clicked,
4     // then close the dialog and terminate.
5
6     UI::OpenDialog(
7                `PushButton( "&OK" )
8                );
9
10     UI::UserInput();
11     UI::CloseDialog();
12 }
13