/src/wrappers/gtk/examples/windows/plain_window_example.e

http://github.com/tybor/Liberty · Specman e · 32 lines · 22 code · 9 blank · 1 comment · 0 complexity · 3e35f33fa4229525cb4cf4398e88b08b MD5 · raw file

  1. indexing
  2. copyright: "(C) 2005 Paolo Redaelli "
  3. license: "LGPL v2 or later"
  4. date: "$Date:$"
  5. revision "$REvision:$"
  6. class PLAIN_WINDOW_EXAMPLE
  7. inherit
  8. GTK_MAIN
  9. creation
  10. make
  11. feature {} -- creation
  12. make is
  13. do
  14. initialize_gtk
  15. create window.make
  16. window.set_title ("Wow my first Eiffel window!")
  17. window.show
  18. run_gtk_main_loop
  19. end
  20. feature -- foo
  21. window: GTK_WINDOW
  22. -- the window
  23. end