added eugtk examples
This commit is contained in:
17
eugtk/examples/resources/b.e
Normal file
17
eugtk/examples/resources/b.e
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace b
|
||||
|
||||
include GtkEngine.e
|
||||
|
||||
export constant color = "green"
|
||||
|
||||
constant win = create(GtkWindow,{ -- not this window is NOT exported.
|
||||
{"name","b:window"}, -- you must include the namespace as part of name
|
||||
{"move",400,700},
|
||||
{"title","Window B"}})
|
||||
|
||||
show_all(win)
|
||||
|
||||
export function clear()
|
||||
set(win,"background",#dddddd)
|
||||
return 1
|
||||
end function
|
||||
Reference in New Issue
Block a user