problem connecting signals
- From: Angelo Jerod Keresztes <kereszte egr msu edu>
- To: gtk_devel <gtk-app-devel-list gnome org>
- Subject: problem connecting signals
- Date: Fri, 24 Aug 2001 09:26:13 -0400 (EDT)
I have a simple problem, but dont know exactly how to fix it.
I have a few GtkWidgets(pixmaps) that are packed into a
GtkScrolledWindow.
I need to get button_press events on the pixmaps themselves (so I know
which pixmap has been selected). but nothing happens when I connect a
signal. Here's a snippit of how I connect the signal:
gtk_signal_connect( GTK_OBJECT(my_pixmap_widget),
"button_press_event",
GTK_SIGNAL_FUNC(pixmap_handler_event),
NULL );
Now if I connect the signal to the GtkScrolledWindow, the button pressed
events work, but I dont know which pixmap has been selected.
I need to know which pixmap has been selected, and they're packed inside
the ScrolledWindow.
How can I get the button_press_event to work on the pixmap widgets?
thanks
angelo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]