Re: Is Gtk2::Label clickable?



* Emmanuele Bassi <bassi-e libero it> [2004-07-15 17:33]:
Since a Gtk2::Label inherits from the Gtk2::Widget class, just
connect a callback to the button-press-event, and check the
Gtk2::Gdk::Event that is passed to that callback.

Don't you have to pack it into an EventBox?

Regards,
-- 
Aristotle
"If you can't laugh at yourself, you don't take life seriously enough."



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