Author: sh-sh-sh Date: Thu Aug 21 19:08:27 2008 New Revision: 50295 URL: http://svn.opensuse.org/viewcvs/yast?rev=50295&view=rev Log: new example Added: trunk/ycp-ui-bindings/examples/ButtonBox1.ycp Added: trunk/ycp-ui-bindings/examples/ButtonBox1.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/examples/ButtonBox1.ycp?rev=50295&view=auto ============================================================================== --- trunk/ycp-ui-bindings/examples/ButtonBox1.ycp (added) +++ trunk/ycp-ui-bindings/examples/ButtonBox1.ycp Thu Aug 21 19:08:27 2008 @@ -0,0 +1,18 @@ +// Example for ButtonBox +{ + UI::OpenDialog(`VBox( + `HVCenter( + `Label( "Hello, world!" ) + ), + `ButtonBox( + `PushButton(`id(`doit1), "Do &Something Very Cool" ), + `PushButton(`id(`doit2), "Do &More" ), + `PushButton(`id(`ok), "&OK" ), + `PushButton(`id(`cancel), "&Cancel" ), + `PushButton(`id(`apply), "&Apply" ) + ) + ) + ); + UI::UserInput(); + UI::CloseDialog(); +} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org