1. Llama/GTK updates
- Posted by jbrown105 at speedymail.org Apr 02, 2002
- 511 views
I have updated Llama/GTK again, this time I will try to keep it on my web site permanently. (It was because I was having trouble with ftp uploading of file to the geocities server, but I have switched browsers from lynx to w3m so now I can use the Easy Upload feature instead, which seems to work fine, just in case your interested.) I have updated the sample editor, the inputbox() function now works correctly, file name is shown in the titlebar, size of window is larger. Also, I found this weird bug while I was trying to get the editor to work, it seems that qMy[self][qHandle] does not store the correct handle, so I now use eu_gtk_widgets instead. (I dont know why the original way of storing handles is broken, if someone can figure out why that would be greatly appreciated.) (... All the silly little bugs I've had to fix, no wonder David Cuny gave up on Llama ...) I would also like to mention that I have altered Llama/GTK so it no longer has or needs a Canvas widget. (It does use the GTK/GDK version, but the canvas calls are done internally by the Window widget, a Llama/GTK program should never see them or use canvases directly.) Of course, unlike David, I plan on turning Llama/GTK into a functional library with MINIMAL compatibility with Win32Lib. It would be quite difficult to create a fully functional clone of Win32Lib with all of its Win32 API functions on Linux, but, unlike Irv's EuGTK, I want some compatibility, so Win32 programmers dont have to throw away their skills and relearn a whole new widget library when they write a program for Linux (not that EuGTK is hard, I just want to add more options for Linux GUI programmers). I have also planned to port ezDesign.exw by Jacques Deschenes to Llama/GTK, but I have not really started yet, I will try as soon as I have some more free time. The file is under the name of ide.exu, by the way. (If anyone else wants to take a try at writing an IDE for Llama, please do. It would be greatly appreciated ;) Llama/GTK can be downloaded from my site: http://www.geocities.com/jbrown1050 Just follow the links. jbrown
2. Re: Llama/GTK updates
- Posted by David Cuny <dcuny at LANSET.COM> Apr 02, 2002
- 510 views
jbrown wrote: > I have updated Llama/GTK again, this time I will try to keep it > on my web site permanently. I'm glad to see that someone's playing with it. I don't consider it one of my great successes, but there are quite a number of interesting ideas involved, and it uses OOP and inheritance on a grand scale. Despite all it's flaws, "Llama" remains one of the best named projects I've written. > (... All the silly little bugs I've had to fix, no wonder David Cuny > gave up on Llama ...) Who do you think put all the silly little bugs there in the first place? > David, I plan on turning Llama/GTK into a functional library > with MINIMAL compatibility with Win32Lib. It would be quite > difficult to create a fully functional clone of Win32Lib with all > of its Win32 API functions on Linux ... It's impossible to be 100% anyway. Just maintaining a similar API is enough. The cool bit is being able to take the same code and run it under multiple platforms. Good luck! -- David Cuny
3. Re: Llama/GTK updates
- Posted by rforno at tutopia.com Apr 04, 2002
- 492 views
I am quite ignorant about this project. What is Llama good for? TIA ----- Original Message ----- From: "David Cuny" <dcuny at LANSET.COM> To: "EUforum" <EUforum at topica.com> Subject: Re: Llama/GTK updates jbrown wrote: > I have updated Llama/GTK again, this time I will try to keep it > on my web site permanently. I'm glad to see that someone's playing with it. I don't consider it one of my great successes, but there are quite a number of interesting ideas involved, and it uses OOP and inheritance on a grand scale. Despite all it's flaws, "Llama" remains one of the best named projects I've written. > (... All the silly little bugs I've had to fix, no wonder David Cuny > gave up on Llama ...) Who do you think put all the silly little bugs there in the first place? > David, I plan on turning Llama/GTK into a functional library > with MINIMAL compatibility with Win32Lib. It would be quite > difficult to create a fully functional clone of Win32Lib with all > of its Win32 API functions on Linux ... It's impossible to be 100% anyway. Just maintaining a similar API is enough. The cool bit is being able to take the same code and run it under multiple platforms. Good luck! -- David Cuny
4. Re: Llama/GTK updates
- Posted by jbrown105 at speedymail.org Apr 04, 2002
- 527 views
Its a widget set designed to be similar (and originally to replace) Win32Lib. It uses GTK. (There is also a Llama/Win32 version, but I'm not sure why you would want to use it.) I chose to try to finish off where David Cuny left off because I wanted Linux and Win32 Eu programmers to be able to be able write a GUI app which could contain the code for both OSes in one program (although you would have to change one include file, and you would need seperate code for the system-dependant stuff (GUI and low-level). Also, if Llama becomes up to par with Win32Lib, then newbies to Euphoria will be able to write simple GUI apps which will run under either platform. Should have mentioned this earlier in the above paragraph: David wanted Llama to a a cross-platform object-oriented version of Win32Lib. (BTW, originally there was also a Dos32Lib, and there is also a Gtklib.) BTW, David, thanks for all the good words and for wishing me luck. And, of course, giving me a place to start. I doubt I could have written Llama/GTK from scratch if I had had to. jbrown On 0, rforno at tutopia.com wrote: > > I am quite ignorant about this project. What is Llama good for? > TIA > ----- Original Message ----- > From: "David Cuny" <dcuny at LANSET.COM> > To: "EUforum" <EUforum at topica.com> > Sent: Wednesday, April 03, 2002 3:46 AM > Subject: Re: Llama/GTK updates > > > jbrown wrote: > > > I have updated Llama/GTK again, this time I will try to keep it > > on my web site permanently. > > I'm glad to see that someone's playing with it. I don't consider it one of > my > great successes, but there are quite a number of interesting ideas involved, > and it uses OOP and inheritance on a grand scale. > > Despite all it's flaws, "Llama" remains one of the best named projects I've > written. > > > (... All the silly little bugs I've had to fix, no wonder David Cuny > > gave up on Llama ...) > > Who do you think put all the silly little bugs there in the first place? > > > David, I plan on turning Llama/GTK into a functional library > > with MINIMAL compatibility with Win32Lib. It would be quite > > difficult to create a fully functional clone of Win32Lib with all > > of its Win32 API functions on Linux ... > > It's impossible to be 100% anyway. Just maintaining a similar API is enough. > The cool bit is being able to take the same code and run it under multiple > platforms. > > Good luck! > > -- David Cuny >
5. Re: Llama/GTK updates
- Posted by David Cuny <dcuny at LANSET.COM> Apr 05, 2002
- 489 views
rforno wrote: > I am quite ignorant about this project. What is Llama good for? Llama was an attempt to write a cross-platform GUI toolkit. It's based on an object-oriented framework. This made it relatively painless to add new components to the library, as opposed to the monolithic approach that Win32Lib took. There is a Windows, Linux, and DOS version of Llama. The Windows used the Windows API - basically rewriting Win32Lib from scratch. The Linux version was built around the GTK toolkit. The DOS version implemented it's own controls. Various shortcomings in the design, along with a realization of exactly how much effort it would take to maintain three separate platforms of code, convinced me to abandon Llama. -- David Cuny
6. Llama/GTK updates
- Posted by jbrown105 at speedymail.org Sep 23, 2002
- 505 views
I've made many changes to Llama/GTK. Its now slowly becoming Win32Lib compliant, right now I'm trying to add the basic control commands to Llama. After that's done I'll begin coding new controls. Happy to announce that Llama/GTK almost works on Win32, with the execption of Pixmaps/Bitmaps and Lists. (The Win32 tester, Juergen, used gtkdlls-1.3, but the Linux GTK libraries I have are version 1.2, does anyone have a port of the GTK 1.2 libraries to Windows? Or at least can anyone tell me were to look?) Llama has moved from pre-alpha to the alpha stage, and I expect it to move to beta quite rapidly, as long as I get more testers and co-deveopers (all 3 plaforms, Linux, FreeBSD, and Windows, are welcome). Previous experience with GTK or Win32Lib is a plus, however its not required as I've included the documentation for both. (It'd probably help if you can speed-read, but again, not required.) Derek, I have a question to ask of you. The setHandler() routine, is it meant to replace the old syntax, 'onSomeEvent[SomeControl] = routine_id("SomeProc")', or merely as an extention to it? I'm willing to add this syntax to Llama/GTK, but I'd like to know if you plan to make it obsolete before I do. (I suppose it'd be too much trouble for you to add the Llama connect() procedure to Win32Lib. *grumbles a bit suggestively*) I've uploaded the new version to my site, http://www.geocities.com/jbrown1050/llamagtk_tar_gz.html jbrown --