Window creation/X11: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,078: | Line 1,078: | ||
</lang> |
</lang> |
||
=={{header|Forth}}== |
=={{header|Forth}}== |
||
Running Ubuntu 20.04 64-bit |
|||
Using : Gforth 0.7.9_20211014 |
|||
<lang Forth> |
<lang Forth> |
||
warnings off |
warnings off |
||
require xlib.fs |
require xlib.fs |
||
0 value X11-D |
0 value X11-D \ Display |
||
0 value X11-S |
0 value X11-S \ Screen |
||
0 value X11-root |
0 value X11-root |
||
0 value X11-GC |
0 value X11-GC |
||
0 value X11-W |
0 value X11-W \ Window |
||
0 value X11-Black |
0 value X11-Black |
||
0 value X11-White |
0 value X11-White |
||
Line 1,139: | Line 1,142: | ||
endcase |
endcase |
||
again ; |
again ; |
||
\ #### Test ##### |
|||
0 open-X11 |
0 open-X11 |
||
ev-loop |
ev-loop |
||
bye |
bye |
||
⚫ | |||
⚫ | |||
=={{header|Go}}== |
=={{header|Go}}== |
||
{{trans|C}} |
{{trans|C}} |