Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Extending Perl/Tk

by dhable (Monk)
on Jan 03, 2002 at 02:04 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-14 16:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found