Changeset 18


Ignore:
Timestamp:
Jun 12, 2005 10:07:44 PM (19 years ago)
Author:
mmc
Message:

Fixed a bug that suddenly appeared in the graph area
of a device editor. The labels on field values suddenly
started ignoring <ButtonPress?> events when highlighted
by <Enter>/<Leave> events. Added an "update" so the
graph widget can refresh itself.

File:
1 edited

Legend:

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

    r11 r18  
    513513        enter {
    514514            $itk_component(graph) marker configure $name -background #e5e5e5
     515            #
     516            # BE CAREFUL:  Need an update here to force the graph to
     517            #   refresh itself or else a subsequent click on the
     518            #   marker will ignore the text that was recently changed,
     519            #   and fail to generate a <ButtonPress> event!
     520            #
     521            update idletasks
    515522        }
    516523        leave {
    517524            $itk_component(graph) marker configure $name -background ""
     525            #
     526            # BE CAREFUL:  Need an update here to force the graph to
     527            #   refresh itself or else a subsequent click on the
     528            #   marker will ignore the text that was recently changed,
     529            #   and fail to generate a <ButtonPress> event!
     530            #
     531            update idletasks
    518532        }
    519533        edit {
Note: See TracChangeset for help on using the changeset viewer.