1. Irv's GTK library
- Posted by Chris Burch <chriscrylex at aol.com> Nov 21, 2002
- 533 views
--part1_fb.30953767.2b0ec929_boundary Hi Irv, No stupid question today. Just to say I've just manage to get my SuSE 6.2 (P133, 16Mb ram) machine at home running your GTK library. Runs a bit dog like, but runs once its interpreted everyrhing. Had to do some library updates, you might want to put the requirements on your web site. Snaffled all of the updates from the SuSE 7.2 DVD, networked into my XP machine. Here they are. libgtk-1.2.so.0.5.3 (1.2.8) (libgdk-1.2.so.0.5.3) glib 1.2.8 glibc 2.2 imlib 1.9.5 I do have a stupid question for you actually. Can't remember the details, because the files at work, so from memory - I created a table, 2 by 10, ried to insert a frame(/box/panel), and it wouldn't position correctly until I had set the row and cols to something like 30,640,0,100 - anything else just gave a tiny little widget. Oh, sorry, heres another one pack(widget,{widgets to pack}, 0,0,5) - what do the last three digits do? Thanks Chris --part1_fb.30953767.2b0ec929_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit <HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Hi<BR> <BR> Irv,<BR> <BR> No stupid question today.<BR> <BR> Just to say I've just manage to get my SuSE 6.2 (P133, 16Mb ram) machine at home running your GTK library. Runs a bit dog like, but runs once its interpreted everyrhing.<BR> <BR> Had to do some library updates, you might want to put the requirements on your web site. Snaffled all of the updates from the SuSE 7.2 DVD, networked into my XP machine.<BR> <BR> Here they are.<BR> <BR> libgtk-1.2.so.0.5.3 (1.2.8)<BR> (libgdk-1.2.so.0.5.3) <BR> glib 1.2.8<BR> glibc 2.2<BR> imlib 1.9.5<BR> <BR> I do have a stupid question for you actually. Can't remember the details, because the files at work, so from memory - I created a table, 2 by 10, ried to insert a frame(/box/panel), and it wouldn't position correctly until I had set the row and cols to something like 30,640,0,100 - anything else just gave a tiny little widget.<BR> <BR> Oh, sorry, heres another one<BR> pack(widget,{widgets to pack}, 0,0,5) - what do the last three digits do?<BR> <BR> Thanks<BR> <BR> --part1_fb.30953767.2b0ec929_boundary--
2. Re: Irv's GTK library
- Posted by Irv Mullins <irv at take.maxleft.com> Nov 22, 2002
- 522 views
On Thursday 21 November 2002 06:41 pm, Chris wrote: > Just to say I've just manage to get my SuSE 6.2 (P133, 16Mb ram) machine at > home running your GTK library. Runs a bit dog like, but runs once its > interpreted everyrhing. That's pretty minimal hardware to be running x. I'm surprised it runs at all. I developed the initial EuGTK on a 133 mhz box, but with 128 megs of memory, it ran pretty fast. > Had to do some library updates, you might want to put the requirements on > your web site. Snaffled all of the updates from the SuSE 7.2 DVD, networked > into my XP machine. > > Here they are. > > libgtk-1.2.so.0.5.3 (1.2.8) > (libgdk-1.2.so.0.5.3) > glib 1.2.8 > glibc 2.2 > imlib 1.9.5 Thanks. > I do have a stupid question for you actually. Can't remember the details, > because the files at work, so from memory - I created a table, 2 by 10, > ried to insert a frame(/box/panel), and it wouldn't position correctly > until I had set the row and cols to something like 30,640,0,100 - anything > else just gave a tiny little widget. Can't say what to do without seeing the source. Drop it into the e-mail, and I'll take a look. > Oh, sorry, heres another one > pack(widget,{widgets to pack}, 0,0,5) - what do the last three digits do? Mostly, support and encourage my laziness Typing 0 is easier than "FALSE".:) The first two are boolean values called "expand" and "fill". The third is an integer value for "spacing" - how many pixels between adjoining controls. Only "spacing" means what you think it does. The best I can do to explain what the first two do is to encourage you to run the following program, and resize the window with the mouse. Change "expand" ,"fill", or both to TRUE or 1 and see what happens. include gtk/wrapper.e widget win, panel, btn1, btn2 init(0,0) win = window("Pack test") panel = hbox() addto(win,panel) btn1 = button("OK") btn2 = button("Click me for a treat") pack(panel,{btn1,btn2},0,0,0) show(win) main() Regards, Irv
3. Irv's GTK library
- Posted by Chris Burch <chriscrylex at aol.com> Oct 28, 2002
- 477 views
Hi I downloaded Irv's GTK library - its really great. A point - do you use Gnome Irv? I use KDE, and my installation of gtk didn't seem to include imlib, so I downloaded and installed ver 1.9 i386, and that works fine now. There is one example I can't seem to get working, I'm at home so I'm working from memory, I think its the drawing one. I haven't looked at it too hard, and it doesn't worry me too much. (imlib is about to be succeeded by something - and I can't remember that name either! - apparently - is this likely to be a problem for future linux distributions - maybe include imlib in your package to ref it locally?) Great work, I'll actually start doing useful things with it soon - once I have the time Chris