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]