in reply to Re: Re: Re: Re: How do I put Widgets/Information onto TK::NoteBook pages
in thread How do I put Widgets/Information onto TK::NoteBook pages
page_widget is not (yet) documented, but it is listed in the "public" part of Tk/NoteBook.pm, so it's probably safe to use it.use Tk; $mw = tkinit; $nb = $mw->NoteBook->pack; $nb->add("page$_", -label => "page$_") for 1..5; for my $page ($nb->pages) { my $f= $nb->page_widget($page); $f->Label(-text => $page)->pack; } MainLoop;
|
|---|