How to add a mouse pressed event to GtkLabel



Dear All,

	Can someone tell me how to add a mouse pressed event to GtkLabel.

	The application is: I have a GtkNotobook and I have added all tabs
with label using gtk_notebook_set_tab_label. When user right click the tab
label, I want a popup menu to be displayed for the tab. I tried
button-press-event signal for GtkLabel, but it does not work.




Bruce Cheng
--





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]