- Posted by jbrown105 at HotPOP.com Jun 03, 2001
- 1816 views
From: jbrown105 at hotpop.com Subject: Re: Confidence On Sat, May 05, 2001 at 11:40:43AM -0700, David Cuny wrote: > > > jbrown wrote: > > > and the GTK.E file is improperly wrapped, > > I believe, and thus unuseable, except > > for simple programs. > > It depends what you mean by 'improperly'. It worked for the version that it > was created for, but since then, it appears that the library has changed. > That's possible. > > P.P.S. 2 examples: llama/gtk's MLE's set > > method fails, and it's menubar is at the > > bottom, and not the top. > > Sounds like some constant values were added to an enum list - so much for > being 'constant'. > Any suggestions, then? > > On this list, Irv once asked how David managed > > to get GTK.E to work, I believe he opened a dll > > that the gtk main so file was dependant on. > > Yes, it's dynamically linked. One of the problems with this is that if the > library underneath changes (such as constants or structs), code breaks. but > since we can't statically link the GTK library to Euphoria, it's the only > way to do it. > > > Anyone have info on wrapping Xlib > > I've done a bit of it; you can find the start of an XLib wrapper at: > > http://www.lanset.com/dcuny/mwin.htm > > > > or wrapping something like Qt for Eu? > > There is no pre-built wrapper for Qt available. You'll also have to create a > DLL; Qt is builds static library *after* running through the MOC > pre-processor. Keep in mind that Qt has some serious license restrictions > attached to it. > > That said, there's a Qt wrapper for Perl that you might want to look at. > Where? > -- David Cuny > TIA, jbrown105 > > > -- Linux User:190064 Linux Machine:84163 http://jbrown105.1avenue.com