Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Extending Perl/Tk

by dhable (Monk)
on Jan 03, 2002 at 02:04 UTC ( #135816=perlquestion: print w/replies, xml ) Need Help??

dhable has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know of documentation about extending the Perl/Tk framework? I have a class that I would like to make a Toplevel control out of. I havn't been able to find anything.

Replies are listed 'Best First'.
Re: Extending Perl/Tk
by ariels (Curate) on Jan 03, 2002 at 13:20 UTC

    Try the documentation for Tk::mega and Tk::composite. The first is probably more helpful.

    Tk supports both derived widget types ("make me a widget that's just like Text, only can also do...", e.g. <samp>Tk::LabEntry</samp>) and composite widget types ("make me a new type of widget, that is implemented in terms of sub-widgets", e.g. <samp>Tk::FileSelect</samp>). The Tk::mega documentation covers both, which might be a bit confusing.

Re: Extending Perl/Tk
by dhable (Monk) on Jan 04, 2002 at 02:40 UTC
    Someone posted the suggestion of the TK::mega class. This is what I was looking for.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-05-24 03:18 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.