Re: How to add a mouse pressed event to GtkLabel
- From: Tadej Borovšak <tadeboro gmail com>
- To: Bruce <bruce1914 uestc edu cn>
- Cc: gtk-list gnome org
- Subject: Re: How to add a mouse pressed event to GtkLabel
- Date: Thu, 15 Jul 2010 18:25:26 +0200
Hi.
GtkLabel doesn't have it's own GdkWindow and thus cannor react to
button presses. You can wrap it inside GtkEventBox and connect to
button-press-event on it.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]