Author: dmacvicar Date: Tue Nov 13 14:13:06 2007 New Revision: 42010 URL: http://svn.opensuse.org/viewcvs/yast?rev=42010&view=rev Log: commit some examples Added: branches/tmp/sh/mod-ui/web-wt/examples/ branches/tmp/sh/mod-ui/web-wt/examples/example-1.ycp branches/tmp/sh/mod-ui/web-wt/examples/example-2.ycp branches/tmp/sh/mod-ui/web-wt/examples/example-3.ycp Added: branches/tmp/sh/mod-ui/web-wt/examples/example-1.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/examples/example-1.ycp?rev=42010&view=auto ============================================================================== --- branches/tmp/sh/mod-ui/web-wt/examples/example-1.ycp (added) +++ branches/tmp/sh/mod-ui/web-wt/examples/example-1.ycp Tue Nov 13 14:13:06 2007 @@ -0,0 +1,13 @@ +{ + // Build a dialog with one button. + // Wait until that button is clicked, + // then close the dialog and terminate. + + UI::OpenDialog( + `Label( "&OK" ) + ); + + UI::UserInput(); + UI::CloseDialog(); +} + Added: branches/tmp/sh/mod-ui/web-wt/examples/example-2.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/examples/example-2.ycp?rev=42010&view=auto ============================================================================== --- branches/tmp/sh/mod-ui/web-wt/examples/example-2.ycp (added) +++ branches/tmp/sh/mod-ui/web-wt/examples/example-2.ycp Tue Nov 13 14:13:06 2007 @@ -0,0 +1 @@ +{ y2security ("%1", UI::GetDisplayInfo() );} \ No newline at end of file Added: branches/tmp/sh/mod-ui/web-wt/examples/example-3.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/examples/example-3.ycp?rev=42010&view=auto ============================================================================== --- branches/tmp/sh/mod-ui/web-wt/examples/example-3.ycp (added) +++ branches/tmp/sh/mod-ui/web-wt/examples/example-3.ycp Tue Nov 13 14:13:06 2007 @@ -0,0 +1 @@ +{ y2security ("hello there");} \ No newline at end of file -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org