RE: [gtkmm] Gtk::Image and Eventbox
- From: Murray Cumming Comneon com
- To: DonScorgie Blueyonder co uk, gtkmm-list gnome org
- Subject: RE: [gtkmm] Gtk::Image and Eventbox
- Date: Mon, 19 Jan 2004 22:25:57 +0100
> I've been using gtkmm for a while, but run across a problem.
>
> I have a window containing a Gtk::Image which is set with a
> Gdk::Image / Gdk::Pixmap.
>
> I need to recieve events on this, so I proceeded to put it in
> an eventbox.
>
> The problem arises when I try to connect a signal up to it.
>
> With no signal (i.e. the eventbox is doing nothing), it is
> fine and the image displays properly. But when a signal is
> connected up, the Image / eventbox is displayed as grey.
You should probably tell us exactly what signal you are talking about. But I
guess that you probably just need to use the correct return type in your
event signal handler:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/apbs06.html
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]