gtk에는 프로그램에서 활용할 수 있는 선 정의 이벤트 모음이 있습니다.
Declare HelloWorld
as a new class.
constructor
is called when a new instance is created. Create a
GtkApplication
, then connect activate
to the
existing Gtk event _onActivate
and startup
to
_onStartup
:
프로그램을 활성화하는 동안 창을 표시하십시오: