RES: Doubt about button_press_event and drag and drop
- From: "Ubirajara Marques da Cruz" <biracruz cemig com br>
- To: Tadej Borovšak <tadeboro gmail com>
- Cc: gtk-list gnome org
- Subject: RES: Doubt about button_press_event and drag and drop
- Date: Fri, 27 Aug 2010 10:32:01 -0300
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 cemig com br
-----Mensagem original-----
De: Tadej Borovšak [mailto:tadeboro gmail com]
Enviada em: quinta-feira, 26 de agosto de 2010 18:14
Para: Ubirajara Marques da Cruz
Cc: gtk-list gnome org
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 gmail com
tadej borovsak gmail com
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]