Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 71903
Status: new
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tk::Mwm mwmDecorations return value
Date: Tue, 25 Oct 2011 07:57:09 +1100
To: bug-Tk [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
bar.pl below fetching mwmDecorations prints $VAR1 = [ '-border 1', '-resizeh 1', '-title 1', '-menu 1', '-minimize 1', '-maximize 1' ]; Are the option values meant to be in the same strings as the option names? The docs could note that, if post-processing will be needed if getting them out and putting them back, my @opts = $mw->mwmDecorations; $mw->mwmDecorations (@opts); # no good, must crunch first ?? Is it too late to have separate key/value in the return? Allowing for instance my %opts = $mw->mwmDecorations; $opts{'-maximize'} = 0; $mw->mwmDecorations (%opts);

Message body is not shown because sender requested not to inline it.