added eugtk examples

This commit is contained in:
2016-11-25 00:33:18 -07:00
parent 87a821e3da
commit c0b98b619e
877 changed files with 96872 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
--# Test a few controls built with Glade
include GtkEngine.e
include GtkFileSelector.e
add(builder,canonical_path("~/demos/glade/gladetest1.glade"))
main()
-----------------------------------------------------------------------
global function help_me()
-----------------------------------------------------------------------
Info(,,"About","My fine program!")
return 1
end function
-----------------------------------------------------------------------
global function open_file()
-----------------------------------------------------------------------
fileselector:filters = {"image"}
object newfile = fileselector:Open("*")
if sequence(newfile) then
set("image1","from file",newfile)
end if
return 1
end function