blob: 68caf8b14d6ea9ee9579f73a7b46fd6eab2900b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
ãã®ãã£ã¬ã¯ããªã«ã¯ Ruby/Tk ã®ãã¢ã¹ã¯ãªãããåãããã¦ãã¾ãï¼
'.rb' ã¨ããæ¡å¼µåãæã£ã¦ãããã¡ã¤ã«ã¯ï¼ã©ã³ãã£âã¹ã¯ãªããã§
ãã 'widget' ããå¼ã³åºããããµãã¹ã¯ãªããã§ãï¼ããããç¬ç«ã«
ã¯åãã¾ããï¼'widget' ã¹ã¯ãªããããå¼ã³åºãã¦ãã ããï¼
ããã©ã³ãã£âã¹ã¯ãªãã 'widget' ã®èµ·åã¨åæã«ããã¤ãã®ãµãã¹
ã¯ãªãããèµ·åããããã°ï¼ãã®ãµãã¹ã¯ãªããã®ååãå¼æ°ã¨ãã¦ä¸
ãã¦ãã ããï¼
( ä¾: /usr/local/bin/ruby widget button.rb entry1.rb text.rb )
ãµãã¹ã¯ãªããã®æ¡å¼µå '.rb' ã¯çç¥ãããã¨ãã§ãã¾ãï¼
( ä¾: /usr/local/bin/ruby widget button entry1 text )
ããã©ã³ãã£âã¹ã¯ãªããã®ã¦ã£ã³ãã¦ãå¿
è¦ãªãå ´åã«ã¯ï¼'-n' ãª
ãã·ã§ã³ãä¸ãã¦ãã ããï¼
( ä¾: /usr/local/bin/ruby widget -n button.rb entry1.rb text.rb )
ä»ã®ãã¡ã¤ã« (browse1 ã hello ãªã©) ã¯åç¬ã§åãããã¨ãå¯è½ã§ãï¼
2004/04/14 Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|