/tutorial/plugin/mini_gtk/example.e

http://github.com/tybor/Liberty · Specman e · 20 lines · 16 code · 4 blank · 0 comment · 0 complexity · f4744f13ee6b009f023bedc6faaec9c0 MD5 · raw file

  1. class EXAMPLE
  2. insert
  3. GTK
  4. create {ANY}
  5. make
  6. feature {}
  7. make
  8. local
  9. w: GTK_WINDOW
  10. do
  11. create w.make
  12. w.signal_connect("destroy", agent gtk_main_quit)
  13. w.show
  14. gtk_main
  15. end
  16. end -- class EXAMPLE