Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Tk Video Widget with Perl

by beretboy (Chaplain)
on Jul 13, 2005 at 16:52 UTC ( #474613=perlquestion: print w/ replies, xml ) Need Help??
beretboy has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to embed video in a PerlTk App of mine and have found this wonderful Tk widget. Sadly, I could find no perl module to provide an interface with this widget so I figured I would resort to the Tcl::Tk module. I'm on a windows box with ActiveState, and have used the ActiveState Perl Package manager to install the Tk modules. I have no idea how to install this widget nor any clue what else I might need. Do I need to install Tcl? Please Advise.


"Sanity is the playground of the unimaginative" -Unknown

Comment on Tk Video Widget with Perl
Re: Tk Video Widget with Perl
by Courage (Parson) on Jul 13, 2005 at 17:26 UTC
    Yes, you need to install:
    • Tcl/Tk, probably best fit could be binaries ActiveTCL from www.activestate.com
    • CPAN module Tcl; it will connect to Tcl/Tk; this module requires compiling (its not pure-perl), I can assist you on this
    • CPAN module Tcl::Tk; it will provide a syntax very similar to perl/Tk; this module is pure-perl

    All in all, once you'll solve installation task, you'll get much more flexible and larger widget set (compared to perl/Tk)

    Also, Tcl::Tk has user's mailing list (tcltk at perl.org), so feel free to write there...

      Okay, once I've installed those, how do I install a particular widget?


      "Sanity is the playground of the unimaginative" -Unknown
        if you'll have Tcl::Tk up and running, using Tcl widgets isn't hard (those developed in Tcl or for Tcl).

        To give an idea, look for example at http://vkonovalov.ru/cgi-bin/perl-tcltk-wiki.cgi/40 or other examples at that wiki.
        Note that at that example BLTNoteBook is a widget within Tcl/Tk, and initially it is completely unknown to Tcl::Tk perl module. It is a single line of perl code to introduce BLTNoteBook widget to Tcl::Tk
        Tk Video could be very similar, and I will get you an example of concrete code, once you'll get far enough :)

Re: Tk Video Widget with Perl
by zentara (Archbishop) on Jul 13, 2005 at 18:01 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://474613]
Approved by gri6507
Front-paged by Courage
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-27 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls