image_events.pl 

$icon->set_opacity(127);
$icon->set_reactive(TRUE);
$icon->signal_connect('enter-event' => sub { $icon->set_opacity(255); });
$icon->signal_connect('leave-event' => sub { $icon->set_opacity(127); });