Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
3
Task/Window-creation/Sidef/window-creation-1.sidef
Normal file
3
Task/Window-creation/Sidef/window-creation-1.sidef
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
var tk = require('Tk');
|
||||
%s'MainWindow'.new;
|
||||
tk.MainLoop;
|
||||
5
Task/Window-creation/Sidef/window-creation-2.sidef
Normal file
5
Task/Window-creation/Sidef/window-creation-2.sidef
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
var gtk2 = require('Gtk2') -> init;
|
||||
var window = %s'Gtk2::Window'.new;
|
||||
window.signal_connect(destroy => func(*_) { gtk2.main_quit });
|
||||
window.show_all;
|
||||
gtk2.main;
|
||||
Loading…
Add table
Add a link
Reference in a new issue