Re: How to add a mouse pressed event to GtkLabel



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]