Butch has asked for the wisdom of the Perl Monks concerning the following question:
#! /usr/bin/perl use strict; use warnings; use Tk; use Tk::DynaTabFrame; my $mw = MainWindow->new(); my $TabbedFrame = $mw->DynaTabFrame ( ); my $frame = $TabbedFrame->add ( -caption => 'Tab 1', -tabcolor => 'yellow', -hidden => 0 ); my $button = $frame->Button( -text => 'Button 1 on Tab 1' ); my $frame2 = $TabbedFrame->add ( -caption => 'Tab 2', -tabcolor => 'red', -hidden => 0 ); my $button2 = $frame->Button( -text => 'Button 1 on Tab 2' ); MainLoop();
2006-03-14 Retitled by planetscape, as per Monastery guidelines
Original title: 'TK GUI problem - can't make tabs visible with DynaTabFrame'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Examples for Tk::DynaTabFrame?
by zentara (Cardinal) on Mar 13, 2006 at 17:36 UTC | |
by Butch (Novice) on Mar 14, 2006 at 09:45 UTC |