/[fenfire]/fenfire/org/fenfire/bin/fenpdf10.py
ViewVC logotype

Diff of /fenfire/org/fenfire/bin/fenpdf10.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by tjl, Wed Aug 20 16:54:36 2003 UTC revision 1.57 by tjl, Wed Aug 20 17:08:22 2003 UTC
# Line 306  ff.view.buoy.AbstractMainNode2D.context Line 306  ff.view.buoy.AbstractMainNode2D.context
306    
307  # With button 1  # With button 1
308  mainMouse.setListener(1, 0,'Moving the pan around or the node if accursed.', \  mainMouse.setListener(1, 0,'Moving the pan around or the node if accursed.', \
309                        actions.CanvasNodePressListener(context, \                        actions.mouse.CanvasNodePressListener(context, \
310                            actions.NodeMover(context), actions.PanMover(context)))                            actions.mouse.NodeMover(context), actions.mouse.PanMover(context)))
311  mainMouse.setListener(1, vob.VobMouseEvent.SHIFT_MASK,  mainMouse.setListener(1, vob.VobMouseEvent.SHIFT_MASK,
312                        'Selecting area of main view.',                        'Selecting area of main view.',
313                        actions.SelectArea(context))                        actions.mouse.SelectArea(context))
314  mainMouse.setListener(1, vob.VobMouseEvent.CONTROL_MASK,  mainMouse.setListener(1, vob.VobMouseEvent.CONTROL_MASK,
315                        'Move the note.',                        'Move the note.',
316                        actions.NodeMover(context))                        actions.mouse.NodeMover(context))
317  mainMouse.setListener(1, 0, 'Browse to clicked point in the main view',  mainMouse.setListener(1, 0, 'Browse to clicked point in the main view',
318                        actions.BrowseClick(context))                        actions.mouse.BrowseClick(context))
319    
320  # With button 3  # With button 3
321  mainMouse.setListener(3, 0, mainMouse.VERTICAL, 1.0, \  mainMouse.setListener(3, 0, mainMouse.VERTICAL, 1.0, \
322                        'Zooming the main view.', actions.ZoomPan(context))                        'Zooming the main view.', actions.mouse.ZoomPan(context))
323  mainMouse.setListener(3, 0, mainMouse.HORIZONTAL, 1.0, \  mainMouse.setListener(3, 0, mainMouse.HORIZONTAL, 1.0, \
324                        'Changing the size of main view (currently only for pagescroll).', # text                        'Changing the size of main view (currently only for pagescroll).', # text
325                        actions.ChangeSize(context))                        actions.mouse.ChangeSize(context))
326  mainMouse.setListener(3, vob.VobMouseEvent.SHIFT_MASK,  mainMouse.setListener(3, vob.VobMouseEvent.SHIFT_MASK,
327                        'Select a node by click or unselect.',                        'Select a node by click or unselect.',
328                        actions.IfSelectNodeOnPlane(context))                        actions.mouse.IfSelectNodeOnPlane(context))
329  mainMouse.setListener(3, 0, 'Show context menu if available (should be).',  mainMouse.setListener(3, 0, 'Show context menu if available (should be).',
330                        actions.MouseMenu(context))                        actions.mouse.MouseMenu(context))
331    
332  # With wheel  # With wheel
333  mainMouse.setWheelListener(0, 'Moving the pan', \  mainMouse.setWheelListener(0, 'Moving the pan', \
334                             actions.PanMover(context))                             actions.mouse.PanMover(context))
335  context.states.mainMouse = mainMouse  context.states.mainMouse = mainMouse
336    
337    
# Line 339  context.states.mainMouse = mainMouse Line 339  context.states.mainMouse = mainMouse
339  buoyMouse = vob.mouse.MouseMultiplexer()  buoyMouse = vob.mouse.MouseMultiplexer()
340  # With button 1  # With button 1
341  buoyMouse.setListener(1, 0, 'Follow the link buoy.',  buoyMouse.setListener(1, 0, 'Follow the link buoy.',
342                        actions.BuoyFollowClick(context))                        actions.mouse.BuoyFollowClick(context))
343    
344  # With button 3  # With button 3
345  buoyMouse.setListener(3, 0, 'Show mouse menu for buoy', \  buoyMouse.setListener(3, 0, 'Show mouse menu for buoy', \
346                        actions.BuoyMouseMenu(context))                        actions.mouse.BuoyMouseMenu(context))
347    
348                    
349    

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26