all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
7
Task/Window-creation/IDL/window-creation-1.idl
Normal file
7
Task/Window-creation/IDL/window-creation-1.idl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
link graphics
|
||||
|
||||
procedure main(arglist)
|
||||
|
||||
WOpen("size=300, 300", "fg=blue", "bg=light gray")
|
||||
WDone()
|
||||
end
|
||||
17
Task/Window-creation/IDL/window-creation-2.idl
Normal file
17
Task/Window-creation/IDL/window-creation-2.idl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import gui
|
||||
$include "guih.icn"
|
||||
|
||||
class WindowApp : Dialog ()
|
||||
|
||||
# -- automatically called when the dialog is created
|
||||
method component_setup ()
|
||||
# make sure we respond to close event
|
||||
connect(self, "dispose", CLOSE_BUTTON_EVENT)
|
||||
end
|
||||
end
|
||||
|
||||
# create and show the window
|
||||
procedure main ()
|
||||
w := WindowApp ()
|
||||
w.show_modal ()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue