Table of Contents

Class: flyout_decoration ./ProbEditorWidgets.py

works only with canvas derivatives

Methods   
__init__
add_bindings
flyout_delay_end
flyout_delay_start
flyout_enter
flyout_hide
flyout_leave
flyout_show
  __init__ 
__init__ ( self,  info_function )

prepare bindings and store info-function

  add_bindings 
add_bindings ( self,  info_function )

add bindings to canvas-items with flyout_info tag

  flyout_delay_end 
flyout_delay_end (
        self,
        item,
        x,
        y,
        )

after-event handler:

no move occured, we can create a flyout

  flyout_delay_start 
flyout_delay_start ( self,  event )

mouse move over item:

  • store item

  • evtl. hide flyout and cancel previous timer

  • start new timer for move-timeout

  flyout_enter 
flyout_enter ( self,  event )

a item is entered, initialise status

  flyout_hide 
flyout_hide ( self )

destroy flyout, reset state

  flyout_leave 
flyout_leave ( self,  event )

the item is left:

  • cancel timer

  • hide flyout

  • reset status

  flyout_show 
flyout_show (
        self,
        item,
        x,
        y,
        )

create the flyout, get info text from info_function


Table of Contents

This document was automatically generated on Fri Mar 15 11:15:02 2002 by HappyDoc version 2.0