Re: Win4Eu update
- Posted by irv mullins <irvm at ellijay.com> Oct 26, 2004
- 660 views
Matt Lewis wrote: > And for completeness, here it is in wxEuphoria: > }}} <eucode> > include wxEuphoria.e > constant win = create( wxWindow, {0, -1, 10, 10, 300, 200}) > > wxMain( win ) > </eucode> {{{ > > Ok, Irv's turn... Well, since you asked :)
include wrapper.e win = window("title") show(win) main()
GTK is smart enough to size and place its own windows, and to me, it seems easier to do away with the 'new' or 'create' keywords, and just use the name of the control you want a new instance of. IOW, 'button()' returns a new button instance, 'window()' returns a new window instance... etc. Irv