Re: Confidence

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

> 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'. sad

> 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.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu