Fabrice FACORAT <[EMAIL PROTECTED]> writes:

> I can't believe this will be fixed only with gnome 2 !
> Anoter point : you can't greyed entry field.

hum, you got it wrong. You *can* gray an entry field:

# first entry is normal, second is grayed
use Gtk; init Gtk;
my $window = new Gtk::Window;
$window->add(my $box = new Gtk::VBox(0,10));
entry(1); 
entry(0);
$window->show_all;
Gtk->main;

sub entry {
    $box->add(my $entry = new Gtk::Entry);
    $entry->set_sensitive($_[0]);
}


Reply via email to