Package gaphas :: Module view

Module view

source code

This module contains everything to display a Canvas on a screen.

Version: $Revision: 2173 $

Classes
  View
View class for gaphas.Canvas objects.
  GtkView
GTK+ widget for rendering a canvas.Canvas to a screen.
Variables
  DEBUG_DRAW_BOUNDING_BOX = False
  DEBUG_DRAW_QUADTREE = False
  DEFAULT_CURSOR = <enum GDK_LEFT_PTR of type GdkCursorType>
  EVENT_HANDLERS = {<enum GDK_MOTION_NOTIFY of type GdkEventType...
Variables Details

EVENT_HANDLERS

Value:
{<enum GDK_MOTION_NOTIFY of type GdkEventType>: 'on_motion_notify',
 <enum GDK_BUTTON_PRESS of type GdkEventType>: 'on_button_press',
 <enum GDK_2BUTTON_PRESS of type GdkEventType>: 'on_double_click',
 <enum GDK_3BUTTON_PRESS of type GdkEventType>: 'on_triple_click',
 <enum GDK_BUTTON_RELEASE of type GdkEventType>: 'on_button_release',
 <enum GDK_KEY_PRESS of type GdkEventType>: 'on_key_press',
 <enum GDK_KEY_RELEASE of type GdkEventType>: 'on_key_release'}