Re: SUSPECT: Re: [gtkmm] Which event is it?
- From: Roger Leigh <roger whinlatter uklinux net>
- To: erik_ohrnberger dme net
- Cc: gtkmm-list gnome org
- Subject: Re: SUSPECT: Re: [gtkmm] Which event is it?
- Date: Mon, 19 Apr 2004 22:15:35 +0100
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]