Re: How to use GUI



Bob Walton wrote:

> V S Rawat wrote:
>
> > It is in continuation of my Hindi to Unicode font
> > transliteration program that is successfully working in perl.
> >
> > The program runs from msdos prompt. It reads a input file and
> > converts the contents to give an output file in utf8
> > encoding.
> >
> > However, now I want to do away with dos part, and want it to
> > work under winxpsp2.
> >
> > I want it to have a input text box in which I would paste the
> > contents from clipboard (text copied to clipboard from some
> > other software).
> >
> > I will press a key to convert, and it should give me the
> > converted rtf8/unicode text in another text box which I
> > should be able to copy to clipboard to take to another
> > software and paste there.
> >
> > I am totally nil in perl's GUI. I have used GUI in Java so I
> > guess I know some concepts.
> >
> > Could someone guide me step by step as to which part of
> > perldoc to read, which sites to visit for samples/ source
> > codes/ tutorials on GUI, etc?
> >
> > Have activeperl 5.8.
>
> It should be pretty easy to do this in Perl/Tk. Tk is a truly
> marvelous GUI package. If Perl/Tk isn't already installed on
> your system (I think it comes with current ActiveState
> distributions, but I'm not certain of that), use PPM to
> install it.
>
> perldoc tk
>
> Also see the book "Learning Perl/Tk" by Nancy Walsh, O'Reilly.

Thanks for both the replies.

perldoc tk did present the help in dos mode on my box. Does it
mean that tk is already installed?

Could someone please jot down one or two line perl program for
me just to run to test whether tk is installed or not.

--
Rawat
.



Relevant Pages

  • Re: BSD Questions.
    ... You are probably more used to doing things via a GUI. ... Whilst BSD does ... more suited to running a GUI and some install one as the default. ... I would suggest that you try some to the Linux distributions - you can ...
    (freebsd-questions)
  • Re: Installation question
    ... I am strung between two worlds, gui ala Mac and command line Unix. ... using dpkg to actually install each package. ... eventually I want to do some GUI type programming. ... Debian is very powerful _and_ very flexible. ...
    (Debian-User)
  • Re: Ubuntu on old machine
    ... that would be fun to run as CNC on Emc. ... Will Ubuntu 8.04 install and run on such a machine? ... I do not know wether EMC is able to run from terminal, ... If the GUI is killed there is some more memory ...
    (Ubuntu)
  • Re: Linux server help
    ... Mandrake does quite well with no GUI. ... They also give the option to install other desktops. ... I opened a window and su-ed to root, typed "urpmi fvwm2" ... So run FVWM2 on Linux. ...
    (comp.os.linux.misc)
  • Re: Tkinter--does anyone use it for sophisticated GUI development?
    ... It also can be a pain to install.. ... (but then I believe apple should buy borland). ... giving a xml description of a window and its cross platform. ... XRC makes the GUI development difficult and the program ...
    (comp.lang.python)