Table of Contents

Class: selection_rect | ../bkchem/helper_graphics.py
--- | ---
used to draw rectangle around an object with hanldes on sides and in corners; provides user interaction for resizing, moving etc.
Methods |
--- | ---
__init__ delete drag draw focus get_cursor | get_items lift move redraw set_coords unfocus
| __init__
    __init__ (
            self,
            paper,
            obj,
            resize_event=None,
            move_event=None,
            coords=(),
            )
| delete
    delete ( self )
| drag
    drag (
            self,
            x,
            y,
            fix=(),
            )
| draw
    draw ( self )
| focus
    focus ( self,  item=None )
| get_cursor
    get_cursor (
            self,
            x,
            y,
            )
| get_items
    get_items ( self )
| lift
    lift ( self )
| move
    move (
            self,
            dx,
            dy,
            )
| redraw
    redraw ( self )
| set_coords
    set_coords ( self,  coords )
| unfocus
    unfocus ( self )

Table of Contents

This document was automatically generated on Tue Dec 12 13:46:43 2006 by HappyDoc version 2.1