Blob Blame History Raw
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="tour-application" xml:lang="ko">

  <info>
    <link type="next" xref="tour-summary"/>
    <revision version="0.1" date="2013-06-17" status="stub"/>

    <credit type="author copyright">
      <name>Ekaterina Gerasimova</name>
      <email its:translate="no">kittykat3756@gmail.com</email>
      <years>2013</years>
    </credit>
    <credit type="author copyright">
      <name>Gordon Hill</name>
      <email its:translate="no">caseyweederman@gmail.com</email>
      <years>2013</years>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>

    <desc>프로그램을 끝내고 스크립트를 실행합니다.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>조성호</mal:name>
      <mal:email>shcho@gnome.org</mal:email>
      <mal:years>2016, 2017.</mal:years>
    </mal:credit>
  </info>

  <title>프로그램 실행</title>
  <links type="prevnext" style="top"/>
  <links type="series" style="floatend">
    <title>그놈 시작하기</title>
  </links>

  <example>
    <p>새 <code>app</code> 객체를 만들고 <code>run</code> 메서드를 호출하여 프로그램을 실행하십시오:</p>
    <code>
let app = new HelloWorld();
app.application.run(ARGV);
</code>

    <p>스크립트를 <file>helloworld.js</file> 파일 이름을 저장하고, <cmd>chmod +x helloworld.js</cmd> 명령으로 실행할 수 있게 만든 후 <cmd>./helloworld.js</cmd> 명령으로 실행하십시오.</p>
  </example>

  <media type="image" src="media/glade-result.png">
    <p>기본 창의 스크린샷입니다.</p>
  </media>
  <p>이 창은 <app>글레이트</app> 파일로 만들었으며 <app>gtk</app> 이벤트에 연결했습니다. 이제 완전한 기능을 갖춘 gtk 프로그램을 만들었습니다!</p>

  <links type="prevnext"/>
</page>