Re: Lin32Lib?
- Posted by David Cuny <dcuny at LANSET.COM> Apr 21, 2001
- 452 views
----- Original Message ----- From: <jbrown105 at HotPOP.com> Subject: Re: Lin32Lib? > > > David wrote: > > Actually, the reason I dropped it had little to do with being able to wrap > > GTK. It was more that I ran into conceptual difficulties with resolving > > paint issues between Win32Lib and GTK. I'll give more details on that if > > people are interested. The gist is that Windows lets you draw anywhere on > > the window that you want, while GTK doesn't - you are only really allowed > > to draw on canvas objects, or you end up resorting to writing directly in > > XLib. > > So? Why not have Win32Lib fake a canvas? > > > While GTKLib is a great idea, I don't think that it will ever be more than > > 50% compatible with Win32Lib. There's just too much Win32 specific stuff in > > Win32Lib for that to happen. Still, I think that the general Win32Lib > > framework (since it's based on VB) is fairly platform independant, and > > would serve you well. > > I though that's why you were working on Llama, which wouldn't have all that > extra Win32 specific stuff, but still support the general Win32Lib framework. > > P.S. When I tried to work on Llama/GTK, most of my changes were ineffective. > For example, I couldn't figure out how to pass a char array to gtk_init, or > why gtk_entry_set_text keeped saying it's parameter wasn't a GTK_ENTRY type. > Is this because of Euphoria's inability to use structures and such, GTK's > assumtion of interfacing with C code (I assume), or because of an improperly > wrapped GTK? > > TIA, > jbrown > > > > >