RE: SUSPECT: Re: [gtkmm] Which event is it?



Simon,
	OK.  I connected to both the signal_button_press_event and
signal_button_release_event (using the second false argument to the connect
method as you suggested).  The behavior that I get is that these signals are
only fired if I right mouse click in the text area.  

	If I left mouse click in the text area, these events are not fired.
Are there some other signals that I should try to connect to?

	Thanks for all your help, I really appreciate it.

	Thanks,
		Erik.

> -----Original Message-----
> From: Simon Fuhrmann [mailto:NightSlayer gmx de]
> Sent: Monday, April 19, 2004 2:23 PM
> To: Ohrnberger, Erik; gtkmm-list gnome org
> Subject: SUSPECT: Re: [gtkmm] Which event is it? 
> 
> 
> Hello!
> 
> > Yes, I tried the on_button_press_event (as well as the
> > on_button_release_event), but these fired when I clicked in 
> the dropdown.
> 
> If you click into the text-area, these are fired, too. But GTK handles
> them for you. You can pass "false" as second argument to 'connect()'
> to push your signal handler on top of the list of already registered
> handlers.
> 
> Regards,
> Simon Fuhrmann
> 
> 



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