mouse event: right click on custom marker



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]