How to add a mouse pressed event to GtkLabel
- From: "Bruce" <bruce1914 uestc edu cn>
- To: <gtk-list gnome org>
- Subject: How to add a mouse pressed event to GtkLabel
- Date: Thu, 15 Jul 2010 22:21:52 +0800
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]