GtkCList + gtk_menu_popup() = ???
- From: "Sergei O. Naoumov" <serge physics unc edu>
- To: gtk-list redhat com
- Subject: GtkCList + gtk_menu_popup() = ???
- Date: Fri, 18 Sep 1998 17:05:56 -0400
Hi!
I want a pop-up menu to appear when a user clicks on a row in the CList.
The tutorial says I have to do this:
gtk_signal_connect_object(GTK_OBJECT(widget), "event",
GTK_SIGNAL_FUNC (handler),
GTK_OBJECT(menu));
But if I put "event", it catches ANY event, so I can't draw in CList. If,
however, I put "select_row" the program segfaults. Does anyone know how to
marry CList and pop-up menus?
Thanks,
Sergei
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]