mouse event: right click on custom marker
- From: Gerard Toonstra <gtoonstra gmail com>
- To: libchamplain-list gnome org
- Subject: mouse event: right click on custom marker
- Date: Mon, 3 Oct 2011 10:41:33 +0200
When I add a marker to the map, I can get notifications of left click events, but right clicks
are not propagated:
self.mapview.add_marker_layer( 'TEST' )
label = self.mapview.add_label( 'TEST', 'hello', 0, 0 )
label.connect( "button-press", self.on_press_marker, 'hello' )
label.set_selectable( False )
The underlying class is a ClutterActor which does seem to support these right click events (it's sent in the ClutterEvent variable).
Is there any trick I need to do on the layer/view level to get these right-click events?
Rgds,
Gerard
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]