Re: Is Gtk2::Label clickable?

* A. Pagaltzis <pagaltzis gmx de>:


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?

Duh, I always forget that. :-)


Emmanuele Bassi (Zefram)                 [ ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432 0FF4

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