[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk_signal_connect()
- From: XinKai Wang <xkwang krdl org sg>
- To: gtk-app-devel-list redhat com
- Subject: Re: gtk_signal_connect()
- Date: Fri, 29 Oct 1999 09:53:28 -0400
XinKai Wang wrote:
>
> 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.
> --
pls discard the previous mail. For GtkPixmap has no window itself,
a GtkEventBox is needed to receive events. I'm a fool. :)
--
No brain, no pain.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]