added eugtk examples
This commit is contained in:
15
eugtk/examples/glade/about.e
Normal file
15
eugtk/examples/glade/about.e
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace about
|
||||
|
||||
include GtkEngine.e
|
||||
|
||||
add(builder,canonical_path("~/demos/glade/about.glade"))
|
||||
|
||||
constant dlg = pointer("about:aboutdialog1")
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
global function on_help_about_activate()
|
||||
-----------------------------------------------------------------------
|
||||
if get(dlg,"run") then end if
|
||||
set(dlg,"hide")
|
||||
return 1
|
||||
end function
|
||||
Reference in New Issue
Block a user