Idd, it's not doable to wrap gnocl, but as teh GUI code abstracts from
out protocol layer, it could be a good idea to use gnocl for a gui.  I
very much like Tom's work, but using a 'real' modern toolkit would be
all that's needed to have a great UI which isn't slow (gnocl isn't
slow!).

I already tried out to make a CL widget with Gnocl long ago and now
Tjikkun PM'ed me a way to have it not crash (by changing the ENV vars).
I already knew about it being a problem with the env vars, and discussed
it with the gnocl author ... but I think my problem was I changed the
vars inside my plugin and not in the beginning of amsn loading .. so it
still crashed then ....?!?  
Tjikkun, the thiong you sent me .. can we have it upstream ?  
# ensure that "." is the decimal point
unset -nocomplain env(LC_ALL)
set ::env(LC_NUMERIC) "C"

or are we "not allowed" to change this var ?

Ifso, can I commit it if it works fine this way ?  as I don't think we
can do it in a plugin (loads later) ...

I might check out my gtkmsn plugin again ... but I have already so much
stuff on myhands these days so I don't know if I'll manage to

Karel.



Op vr, 24-03-2006 te 16:58 +0100, schreef Harry Vennik:
> Indeed, wrapping gnocl to make it work like tk is not the right thing to do. 
> It will take a lot of time for developers to make the wrappers, and running 
> it will probably take a lot of CPU time... so its a big waste of time. ;-)
> 
> The way I thought of wishgtk is like taking tclsh to have the interpreter, 
> and 
> then making it into a 'wish' by adding the tk commands, implemented using 
> gtk.
> 
> Op vrijdag 24 maart 2006 16:03, schreef Youness Alaoui:
> > Haha! Gnocl would be one hell of an extension to wrap, trust me! I've done
> > the wrapping for chameleon which "looks like tk" in terms of functionning,
> > but gnocl, nope, you can't.. you'd need to wrap almost everything! you
> > can't use grid, you can't use pack... we'll need to rewrite the whole
> > packing algorithm, because you don't pack widgets, you instead have to put
> > them in vertical/horizontal boxes... also, I think it doesn't support the
> > .toplevel.child path system for windows.. but anyways, from a quick look it
> > seems to be unfeasible, or a 1 year project :P About having a different
> > executable, it's a good idea.. but you know what it means ? it actually
> > means that you need to write an interpreter!!! not only you need to
> > interpret the code, do syntax checking, make sure all the syntax is correct
> > (uplevels, subst, upvars, {$whatever} vs. [list $whatever], etc...) but
> > also implement the event loop (although gtk's could be used) and implement
> > the system for loading extensions, etc.. all this, without decreasing the
> > performance of the already well optimized tcl/tk's code... I guess you
> > could use Tk_Init and Tcl_init which will make your program into a 'wish'
> > program (with 2 lines of code, you get a custom interpreter!) but then
> > you'll have to override all tk widgets, which makes it simply the same as
> > creating an extension, doing a load, and a namespace import ::gtk::*
> > I think it would be a great idea from a concept view, but a reallly bad
> > idea from a development point of view!
> >
> > Take care
> > KaKaRoTo
> >
> > On Fri, Mar 24, 2006 at 12:47:25PM +0100, Karel Demeyer wrote:
> > > If someone wants to do it anyway, what about wrapping gnocl
> > > ( http://www.dr-baum.net/gnocl/ ) in an amsn plugin so it renames tk
> > > calls to gnocl calls ?  I think it won't be such a big thing anyway ...
> > > But gnocl doesn't work for me, I cann compile it but it crashes on me
> > > every time.  If it doesn't for otehr poeple it could be worth the work.
> > >
> > > Op vr, 24-03-2006 te 12:11 +0100, schreef NoWhereMan:
> > > > ----- Original Message -----
> > > > From: "Harry Vennik" <[EMAIL PROTECTED]>
> > > >
> > > > [...]
> > > >
> > > > > I'd really like a wishgtk and (even more) a wishqt, and I'd like to
> > > > > contribute
> > > > > to its development, if such is started!
> > > >
> > > > there is a "gtk-qt" project providing qt look to gtk apps, while the
> > > > opposite doesn't exist; also gtk under windows looks good; so I'd tend
> > > > to vote for gtk. Anyway I think such a project would be just too
> > > > complex :) And... wasn't there a faq for this? ;)
> > > >
> > > > --
> > > > _____/\/o\/\/here/\/\an_____
> > > > NoWhereBlog: www.nowhereland.it
> > > > deviantArt: http://nowhereland.deviantart.com
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > > > language that extends applications into web and mobile media. Attend
> > > > the live webcast and join the prime developer group breaking into this
> > > > new coding territory!
> > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164
> > > >2 _______________________________________________
> > > > Amsn-devel mailing list
> > > > Amsn-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > > language that extends applications into web and mobile media. Attend the
> > > live webcast and join the prime developer group breaking into this new
> > > coding territory!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > > _______________________________________________
> > > Amsn-devel mailing list
> > > Amsn-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> > that extends applications into web and mobile media. Attend the live
> > webcast and join the prime developer group breaking into this new coding
> > territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Amsn-devel mailing list
> > Amsn-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to