blob: 427812465903bc051dcca37fa3108ab76236884a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
Ruby/Tk widget-demo
version 1.2 ( 2000/04/08 )
æ°¸äºï¼ ç¥è½ï¼ä¹å·¥å¤§ (nagai@ai.kyutech.ac.jp)
æ¨æºé
å¸ã® Tcl/Tk æ¡å¼µããã±ã¼ã¸ãåãè¾¼ãã Ruby (ä»¥ä¸ Ruby/Tk ã¨å¼ã³ã¾ã)
ã§ã¯ï¼Tk widget ãç¨ãã GUI ã®ä½æãè¡ããã¨ãã§ãã¾ãï¼å®éã« GUI ãä½æ
ãã¦ããå ´åã«ã¯æ§ã
ãªå®ä¾ããµã³ãã«ã¨ãã¦åå¨ããã¨ä¾¿å©ãªã®ã§ããï¼Ruby/Tk
ã«ã¯ãã®ãããªé©å½ãªãµã³ãã«ã¹ã¯ãªããéåã¯åå¨ãã¾ããã§ããï¼ããã«å¯¾ãï¼
æ¡å¼µããã±ã¼ã¸ã®å
ã§ãã Tcl/Tk ã«ã¯ï¼Tk widget ãç¨ãã¦ã©ã®ãããªãã¨ãã§
ãããã示ããã®ã¨ã㦠widget-demo ãåå¨ãããï¼Tcl/Tk ãç¨ãã GUI ã®ä½æ
ãç¿å¾ããéã®ä»£è¡¨çãµã³ãã«ã¨ãªã£ã¦ãã¾ãï¼æ¬ã¢ã¼ã«ã¤ãã¯ï¼Ruby/Tk ã®ç¿å¾ã®
ããã®ä»£è¡¨çãªãµã³ãã«ã¹ã¯ãªããã¨ãã¹ãï¼Tcl/Tk ã® widget-demo ã移æ¤ããã
ã®ã§ãï¼
ä»åã®ãã¼ã¸ã§ã³ã¯ ruby-1.4.x ã«å¯¾å¿ã¨ãã¦ããã¾ããï¼æ§ãã¼ã¸ã§ã³ã«æ¯ã¹ã¦ï¼
ã»ã¨ãã©å¤æ´ã¯ããã¾ããï¼ruby-1.1c2 以ä¸ãªãåãã¨æãã¾ãï¼ruby-1.5.x ã«ã¤
ãã¦ã¯ãã¹ããã¦ãã¾ããï¼ãã®ããï¼éäºæã®å½±é¿ãåºããã¨ãããããããã¾ã
ããï¼ãã®å ´åã§ãå°ãã®ä¿®æ£ã§åãããã¨æãã¾ãï¼çµã¿è¾¼ã Tk ã®ãã¼ã¸ã§ã³ã¯ï¼
4.2 ã§ã 8.0 ã§ãä¿®æ£ãªãåãããã¯ãã§ãï¼ãã ãï¼æ¥æ¬èªçã§ã®ç§»æ¤ã¨ãªã£ã¦
ããããï¼æ¥æ¬èªåããã Tk ããå©ç¨ãã ããï¼ã¹ã¯ãªããã®ãã¹ãã¯ï¼æ§ãã¼ã¸ã§
ã³ã®éã« Tk4.2jp 㨠Tk8.0jp ã®ä¸ã§è¡ã£ã¦ãã¾ã (å®ç§ã«ã§ã¯ãªãã§ãã)ï¼ä»å
ã®ãã¼ã¸ã§ã³ã§ã¯ ruby-1.4.x + Tk8.0jp ä¸ã§ã®ç°¡åãªãã¹ãããè¡ã£ã¦ãã¾ãããï¼
ä¿®æ£ã¨ããã»ã©ã®ä¿®æ£ã¯ãã¦ãã¾ããã®ã§åé¡ã¯ãªãã¨èãã¦ãã¾ãï¼
æ¬ã¢ã¼ã«ã¤ãã«å«ã¾ããã¹ã¯ãªããã®å¤ãã¯ï¼å
ã¨ãªã£ã¦ãã Tcl/Tk çã«æ¯è¼çè¿
ãã¹ã¯ãªããè¨è¿°ã¨ãªãããã«ãã¦ãã¾ãï¼ãã®ããï¼Ruby/Tk ã®ãµã³ãã«ã¨è¨ãã«
ã¯ï¼ãã¾ã Ruby ããããªãã¨ãè¨ããã§ãããï¼ã«ããããããï¼ãã®ãããªè¨è¿°
ãåã£ã¦ããçç±ã¯ï¼Ruby/Tk ã®ããã¥ã¡ã³ãä¸è¶³ã«ããã¾ãï¼
Tcl/Tk ã«ã¯é©å½ãªåèæ¸ãä½åãåå¨ãã¦ãã¾ãããï¼Ruby/Tk ã¹ã¯ãªãããä½æ
ããéã¯ï¼ãã®ãã㪠Tcl/Tk ã®åèæ¸ã§æ
å ±ãè£ããªããä½æãããã¨ã«ãªãã¨æ
ãã¾ãï¼å widget ã®ä½¿ç¨ä¾ã¨ãã¦ï¼Tcl/Tk ã® widget-demo ãåç
§ãããã¨ããã
ã§ãããï¼Ruby/Tk çã®è¨è¿°ã widget-demo ã Tcl/Tk çã®è¨è¿°ã«è¿ããã®ã«ãã¦
ããã°ï¼ãã®å¯¾æ¯ã«ãã£ã¦ï¼Ruby/Tk ã®ç解ãæ©ãããã¨ãã§ããã¨èãããã¾ãï¼
ä¸æ¦ Ruby/Tk ã§ã® å widget ã®ä½¿ç¨æ¹æ³ãç¿å¾ãã¦ãã¾ãã°ï¼Ruby ãããã¹ã¯ãª
ãããä½æãããã¨ã¯é£ãããªãã§ãããï¼æ¬ã¢ã¼ã«ã¤ãã®ã¹ã¯ãªããã¯ï¼Ruby/Tk
ãæåã«ç¿å¾ããã¾ã§ã®è¸å°ã¨ãã¦å©ç¨ãã¦ããã ããã°å¹¸ãã§ãï¼
widget-demo ã®ç§»æ¤ã«ããã£ã¦ã¯ï¼æ¬¡ã®æ¹ã«ã移æ¤ããã¹ã¯ãªãããæä¾ãã¦ããã
ãã¾ããï¼ããã«æè¬ã®æã表ãã¾ãï¼
ç«ç³ï¼ JAIST (ttate@jaist.ac.jp) ãã
å¹³æ¾ç¥¥å² (hiramatu@cdrom.co.jp) ãã
å¹³æ¾ããã«ãã Ruby/Tk å
¥éã® Web page (http://www.cdrom.co.jp/~hiramatu/)
ã Ruby/Tk ã®ç¿å¾ã«æç¨ã¨æãã¾ãã®ã§ï¼ãã²ãåç
§ãã ããï¼
ã¾ãï¼åæ© (maebashi@iij.ad.jp) ãããã¯ããã¨ãã¦ï¼widget-demo ã®ç§»æ¤ã«éã
ã¦å¿
è¦ã¨ãªã£ã Ruby ã® Tk é¢é£ã©ã¤ãã©ãªä¿®æ£ã«ã¤ãã¦ï¼åé¡ç¹ï¼ãã°ã®ææãã
ã¦ããã ããæ¹ã
ã«ãæè¬è´ãã¾ãï¼
ããã¦æå¾ã«æ大ã®æè¬ã Ruby è¨è¨è
ã® ã¾ã¤ã㨠ããã²ã (matz@netlab.co.jp)
ããã«æ§ãããã¨æãã¾ãï¼
|