RES: Doubt about button_press_event and drag and drop

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

 



Tadej,

THANK YOU A LOT!!!

WORKED VERY FINE!!

I correct all of hander function definition where must be gboolean and EUREKA!! All is working fine!

Thank you, very much!

Ubirajara Marques da Cruz
Email: biracruz@xxxxxxxxxxxx 

-----Mensagem original-----
De: Tadej Borovšak [mailto:tadeboro@xxxxxxxxx] 
Enviada em: quinta-feira, 26 de agosto de 2010 18:14
Para: Ubirajara Marques da Cruz
Cc: gtk-list@xxxxxxxxx
Assunto: Re: Doubt about button_press_event and drag and drop

Hi.

First, signal handler for GtkWidget::button-press-event should return
gboolean value, not void. This return value is then used to determine
if the event should be propagated further or not.

If you return FALSE from your signal handler, you indicate that you
haven't handled the event and event is propagated further. If you
return TRUE, event is considered handled and "chain" stops here.

As for your problem, try returning FALSE from your signal handler and
see what happens.

Tadej

--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx

As informacoes contidas nesta mensagem e nos arquivos anexados sao para uso
exclusivo do destinatario aqui indicado e podem conter assuntos comerciais, de 
propriedade intelectual ou outras informacoes confidenciais, protegidas pelas leis 
aplicaveis.
Caso nao seja o destinatario correto, por favor, notifique o remetente 
imediatamente e elimine esta mensagem, uma vez que qualquer revisao, leitura, 
copia e, ou divulgacao do conteudo desta mensagem sao estritamente proibidas 
e nao autorizadas.
Obrigado por sua cooperacao.
The information contained in this message and the attached files are restricted to 
the addressee, and may contain commercial information, copyright, or other 
confidential information protected by law.
If you are not the recipient, please notify the sender immediately and delete it 
from you system, since any change, reading, copy and, or dissemination of this 
e-mail is strictly prohibited by and not authorized.
Thank you.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux