Re: Create window? How?
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 04, 2004
- 442 views
irv mullins wrote: > > gunnar wrote: > > > > How do I create a window whith buttons scrollers and so on? > > > If you're using EuGTK, it's easy: > > atom win, btn > > win = window("Title goes here") > btn = button("Push me!") > addto(win,btn) > show(win) > main() > > If you're using Win32Lib, without the IDE the above could be coded ... <code> include win32lib.ew createForm({"Window, Title goes here", "Button, Push me!"}) include w32start.ew </eucode> {{{ >then get Judith's IDE, and drop a button > where you want it on the window. > > Both Win32Lib and EuGTK come with short example programs using each of the > controls, > > including scrolled windows, sliders, etc. > > Without a library such as Win32Lib or EuGTK, creating a Windows window > takes about 100 lines of code. And there are a few other libraries in the archive that help coders write Windows programs. -- Derek Parnell Melbourne, Australia