BRT
02-20-2001, 11:54 PM
I've been learning Perl, but was wondering where graphics tie into it. So far, everything is text based. To get graphics, do you code them and can you take graphics made by GIMP do things? Any response is appriciated.
|
Click to See Complete Forum and Search --> : programming graphics BRT 02-20-2001, 11:54 PM I've been learning Perl, but was wondering where graphics tie into it. So far, everything is text based. To get graphics, do you code them and can you take graphics made by GIMP do things? Any response is appriciated. kmj 02-21-2001, 04:52 PM Hmm. I think there's some way to tie Tk into perl; also there should be wrappers for Qt and GTK. I'd say do a websearch and see what you come up with BRT 02-21-2001, 06:44 PM Thanx for your response. What exactly are Qt and GTK? I've heard of them, but have no idea what they're used for. kmj 02-21-2001, 07:17 PM They're widget sets used to make graphical programming easier. Qt is actually (supposedly) cross-platform, so programs can use it for both windows and X; I think GTK (stands for Gimp Toolkit, I believe) is only usable with X. Doing a search at google should give you plenty of links. TaeShadow 02-21-2001, 11:12 PM Actually, I think I heard that they have versions of Gtk for Windows and BeOS and maybe some other OSes. I know I've used the GIMP on Windows. error27 02-22-2001, 01:56 AM perl is not a good language to program GUI aplications. It uses a lot of memory and is not fast. But I think there might be perl bindings for gtk. There are python bindings. Do a google search on Perl and gtk. C++ is better for gui stuff. Glade is a cool program for doing gui stuff with gtk. Of course you still need to know c/c++ gtk has shoddy windows support. qt has windows support but you have to pay $1000 per developer. gtk 2.0 is going to have better windows support I think. error27 02-22-2001, 01:58 AM actually you can use glade with perl. that might be fun to play around with. BRT 02-22-2001, 11:49 AM Thanx so much. That cleared up a bunch. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |