Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by mrider (Sexton)
on Oct 04, 2012 at 20:07 UTC ( #997319=note: print w/ replies, xml ) Need Help??

Comment on Re^2: TK: How to change color of readonly BrowseEntry
Re^3: TK: How to change color of readonly BrowseEntry
by mrider (Sexton) on Oct 04, 2012 at 20:35 UTC

    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();
      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
Node Status?
node history
Node Type: note [id://997319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-03 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls