Hi,

Pascual <[EMAIL PROTECTED]> writes:

>   My problem is how can I know I'm clicking in any line of my rectangle 
>   'cause when I used the function button_press_event there's nothing 
>   new, and I want to know when I'm clicking in the rectangle, any idea? 

I suspect you are trying to tell us that your handler for
button_press_event is never called? That is not surprising because you
return TRUE from the generic event handler which means that you
successfully handled the event and that event handling should stop here.

I wonder why you connect to "event" and "button_press_event". You
should either do all event handling in the generic "event" handler (by
looking at the event type) or rather connect to "expose_event"
instead. In any case you should be careful about the return value of
your event handlers.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to