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

24
eugtk/examples/test139.ex Normal file
View File

@@ -0,0 +1,24 @@
-------------------------------------------------------------------------
--# GtkSeparator
-------------------------------------------------------------------------
include GtkEngine.e
constant txt = "<b><u>GtkSeparator</u></b>"
constant win = create(GtkWindow,"size=200x100,border=10,position=1,$destroy=Quit")
constant panel = add(win,create(GtkBox,"orientation=VERTICAL,spacing=10"))
add(panel,{
create(GtkLabel,{{"markup",txt}}),
create(GtkLabel,"This is some text"),
create(GtkSeparator),
create(GtkLabel,"Separator is above.")})
pack_end(panel,create(GtkButton,"gtk-quit","Quit"))
show_all(win)
main()