WideStudio/MWT Logo
WideStudio/MWT
Programming Guide
WideStudio/MWT Index
Table of contents


»ùÇÃ1 (Hello World)

¿©±â¼­´Â ¸Ç ¸ÕÀú ½ÇÇàÇÏ¿©¾ßÇÒ ÇÁ·ÎÁ§Æ®ÀÇ ÀÛ¼º, ÀÀ¿ëÇÁ·Î±×·¥ À©µµ¿ì ÀÇ ÀÛ¼º, À̺¥Æ® ÇÁ·Î½ÃÀúÀÇ ÀÛ¼ºÀ» ÇÕ´Ï´Ù. À©µµ¿ì¿¡ Ç¥½Ã µÇ´Â ´ÜÃ߸¦ ´©¸£¸ç´Â hello ¶ó Ç¥½ÃµÇ´Â Ãʺ¸ÀûÀÎ »ùÇÃÀÔ´Ï´Ù.

»ùÇÃÀÇ ¼Ò½ºÄÚµå´Â ws/samples/Ruby/hello/newproject.prj ÀÔ´Ï´Ù. ¾ÖÇø®ÄÉÀÌ¼Ç ºô´õ·Î ÀûÀçÇÏ°í ÄÄÆÄÀÏÇØ º¸¾ÆÁÖ¼¼¿ä.



[ÀÀ¿ëÇÁ·Î±×·¥ À©µµ¿ìÀÇ ¸ð½À]

(*----------------------------------------------------------*)
(*Function for the event procedure                          *)
(*----------------------------------------------------------*)
open Swig
open Mwt
open Mwtlib
let btn_proc obj =
  obj -> setProperty("labelString","hello");
  ()
let _ = Callback.register "btn_proc" btn_proc



[ÀÀ¿ëÇÁ·Î±×·¥ ½ÇÇàÀÇ ¸ð½À]


Document Release 3.90 for WideStudio/MWT ver 3.90, Jul 2005


WideStudio/MWT documents index | Table of contents

Copyright(C) WideStudio/MWT Development Team, 1999-2005 Last modified: Jul 31, 2005