dotnet:gestalt

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
dotnet:gestalt [2011/09/24 09:21] ともやんdotnet:gestalt [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 1: 行 1:
-<html>+====== Gestalt開発環境 ====== 
 +  - HTMLに以下のscriptタグを記述する。<code>
 <script src="http://gestalt.ironpython.net/dlr-latest.js" <script src="http://gestalt.ironpython.net/dlr-latest.js"
         type="text/javascript"></script>         type="text/javascript"></script>
-</html> +</code><html> 
-====== Gestalt開発環境 ====== +<script type="text/javascript"> 
-HTMLに以下のscriptタグを記述する。 +    //window.DLR {settings:{console:true, debug:true}} 
-<code>+</script>
 <script src="http://gestalt.ironpython.net/dlr-latest.js" <script src="http://gestalt.ironpython.net/dlr-latest.js"
         type="text/javascript"></script>         type="text/javascript"></script>
-</code> +<script src="http://www.tomoyan.net/dokuwiki/_media/dotnet/repl.py" 
 +        type="text/python"></script> 
 +</html> 
 +  - buttonタグとpythonスクリプトタグを記述する。<code> 
 +<input id="button" type="button" value="Say, Hello!" /> 
 +<script type="text/python"> 
 +  def button_onclick(s, e): 
 +      window.Alert("Hello from Python!"
 +  document.button.events.onclick += button_onclick 
 +</script> 
 +</code>実行例: <html> 
 +<input id="button" type="button" value="Say, Hello!" /> 
 +<script type="text/python"> 
 +  def button_onclick(s, e): 
 +      window.Alert("Hello from Python!"
 +  document.button.events.onclick += button_onclick 
 +</script> 
 +</html>
  • dotnet/gestalt.1316823708.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)