tooltip for gtkdrawingarea



HI

I tried to bind a tooltip to a gtkdrawingarea, like so:

$win = new Gtk::Window;
$win->set_usize(300,200);
$win->show_all;

$but = new Gtk::DrawingArea;
$but->show;
$win->add($but);

my $tooltip = new Gtk::Tooltips();
$tooltip->set_tip
   ( $but, "test", "test" );
$tooltip->enable;
$tooltip->set_delay(0);

but it doesn't work. Is it at all possible to do this? 

jos



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]