Re: mouse click on labels
- From: Razvan <razvaneduard xnet ro>
- To: iain <iain prettypeople org>
- Cc: Emmanuel Saracco <esaracco noos fr>, gtk-app-devel-list gnome org
- Subject: Re: mouse click on labels
- Date: Thu, 21 Nov 2002 16:27:23 +0200
Thanks a lot :)
iain wrote:
On Thu, 2002-11-21 at 13:35, Razvan wrote:
in docs at GtkWidget it is "button-press-event" with minus not with
underscore
which way is corect?
Both - and _ are interchangable in signal names.
The problem is that you need to put the GtkLabel inside a GtkEventBox
then do gtk_widget_add_events (GTK_WIDGET (eventbox),
GDK_BUTTON_PRESS_MASK);
then you can connect to the button-press-event on the eventbox.
iain
--
Razvan
razvaneduard xnet ro
-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.
Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi.
Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]