CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
displaying image in perl gui

 



aerris
Novice

Jun 13, 2008, 6:12 AM

Post #1 of 1 (647 views)
displaying image in perl gui Can't Post

Hello,

I have made a GUI for a small perl script I wrote that reads in user inputs and then creates an XML document based on the user inputs. It all works fine, I just want to display a logo in the top left of my GUI. I've put Labels and Entry widgets in without a problem, i just can't figure out how to show an image above them all! The image i want to show is in either .jpg or .gif format and is saved in the same directory as the file.pl that outputs the XML.

I've tried doing it like I did the entry widget:

Code
my $image = $frm_name->Photo(-file => "logo.gif");

But it does not work.
Can anyone help?

Thanks very much!

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives