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

Re^3: TK: How to change color of readonly BrowseEntry

by mrider (Beadle)
on Oct 04, 2012 at 20:35 UTC ( [id://997323]=note: print w/replies, xml ) Need Help??


in reply to Re^2: TK: How to change color of readonly BrowseEntry
in thread SOLVED - TK: How to change color of readonly BrowseEntry

Actually, I got a clue how to do this reading the source code for JBrowseEntry:

my $dd = $mw->BrowseEntry( -label => 'Chooser', -variable => \$dd_value, -state => 'readonly' -disabledforeground => '#000000', -disabledbackground => '#FFFFFF', )->pack();

Replies are listed 'Best First'.
Re^4: TK: How to change color of readonly BrowseEntry
by Anonymous Monk on Oct 04, 2012 at 20:47 UTC
    Hmm, if that was it, for future development try the diagnostical Tk::ObjScanner and Tk::WidgetDump
    perl -MTk -MTk::ObjScanner -MTk::WidgetDump -e " $mw = tkinit; $p = +$mw->Scrolled(qw/ Text / )->pack; $mw->WidgetDump; Tk::ObjScanner::sc +an_object( $p ); MainLoop; "

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found