Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

Replies are listed 'Best First'.
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
    • 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, 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 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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-05-28 16:11 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (99 votes). Check out past polls.