NAME

Tk::FcyEntry - Entry that reflects its state in the background color

SYNOPSIS

use Tk;
use Tk::FcyEntry;	# replaces the standard Entry widget
...
$fcye = $w->Entry( ... everything as usual ... );
...

DESCRIPTION

FcyEntry is like a normal Entry widget except:

  • default background color is 'white'

  • if the state of the widget is disabled the background color is set to be the same as the normal background and the foreground used is the same as the disabledForeground of a button. (xxx: still not true, values hardcoded)

BUGS

background configuration honoured after next state change.

SEE ALSO

Tk Tk::Entry

KEYWORDS

entry, widget, editcolor

AUTHOR

Achim Bohnet <ach@mpe.mpg.de>

Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.