Le Friday 24 March 2006 16:03, Youness Alaoui a écrit :
> 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!
Why do you want to rewrite things already written ? Anyway, Tile has a tile-qt 
theme and I think it would be better to rewrite the Tk's GUI part to make it 
use GTK. Not a huge work but not a work for aMsn... ;)
Anyway, I think that it could be merged after in Tcl/Tk core...
Phil
>
> 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&kid0944&bid$1720&dat1642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to