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



Roger,
	Many thanks!  That was this missing piece that I needed.

	How'd I miss that?  Now that I check the manual, it's right there as
plain as day.  Geez.

	Thanks again,
		Erik.

> -----Original Message-----
> From: Roger Leigh [mailto:roger whinlatter uklinux net]
> Sent: Monday, April 19, 2004 5:16 PM
> To: Ohrnberger, Erik
> Cc: gtkmm-list gnome org
> Subject: Re: SUSPECT: Re: [gtkmm] Which event is it?
> 
> 
> erik_ohrnberger dme net writes:
> 
> > 	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?
> 
> Are you connecting to the signals emitted from the Gtk::Combo, or from
> the Gtk::Entry embedded within it?  
> 
> Try this:
> Gtk::Combo combo;
> combo.get_entry()->signal_button_press_event()
> 
> 
> -- 
> Roger Leigh
> 
>                 Printing on GNU/Linux?  
> http://gimp-print.sourceforge.net/
>                 GPG Public Key: 0x25BFB848.  Please sign and 
> encrypt your mail.
> 



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