Changeset 5357 for trunk/gui


Ignore:
Timestamp:
Apr 29, 2015, 3:49:27 AM (10 years ago)
Author:
ldelgass
Message:

Add flag to enable vmouse events in pymol viewer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/molvisviewer.tcl

    r5356 r5357  
    147147    private common _downloadPopup;      # Download options from popup
    148148    private common _hardcopy
     149    private common _useVmouseEvents 0;  # Flag to enable virtual mouse events
    149150}
    150151
     
    344345    set _image(id) ""
    345346
    346     if 0 {
     347    if { $_useVmouseEvents } {
    347348        # set up bindings to bridge mouse events to server
    348349        bind $itk_component(3dview) <ButtonPress> \
Note: See TracChangeset for help on using the changeset viewer.