[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
gtk_signal_connect()
- From: XinKai Wang <xkwang krdl org sg>
- To: GTK <gtk-app-devel-list redhat com>
- Subject: gtk_signal_connect()
- Date: Fri, 29 Oct 1999 09:39:20 -0400
I used a GtkPixmap in my application. I want to implement a pop-up
menu for this pixmap(to popup a menu when click right button on the
pixmap).
But I noticed that the
gtk_signal_connect_object(GTK_OBJECT(pixmap), "event",GTK_SIGNAL_FUNC
(button_press_callback), GTK_OBJECT(pop_up_menu));
does not work. There is no error messages but no any callbacks at all.
"event" is a signal of GtkWidget and GtkPixmap is a subclass of
GtkWidget.
So why? And how can I implement this kind of functions?
thanks.
--
No brain, no pain.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]