Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: DynaTab Hide error

by merrymonk (Hermit)
on Oct 07, 2021 at 20:00 UTC ( [id://11137313]=note: print w/replies, xml ) Need Help??


in reply to Re^3: DynaTab Hide error
in thread DynaTab Hide error

Fair enough and thank you. The links took me to the site which I quoted in my question - that is the one which said:
-hidden
When set to a true value, causes the resulting tab to be hidden from view; can later be set to a false value to force the tab to be visible again."
However when try to use -hidden as next
$tabbed_frame{$dynatab_name}->configure(-hidden => 1);
I got the error
Tk::Error: Can't set -hidden to `1' for Tk::Frame=HASH(0x20f90157e48): + unknown option "-hidden" at C:....
I would love to know what to do so stop getting this error.

Replies are listed 'Best First'.
Re^5: DynaTab Hide error
by choroba (Cardinal) on Oct 07, 2021 at 20:18 UTC
    The documentation lists -hidden among the options to add, it's not an option of the widget itself, so it can't be used in configure.

    Update: Note that pagecget and pageconfigure take the same options as add (and one more).

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-25 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found