# Initialization for DiaCanvas2

# Check for GTK-2.0, since we need it anyway.
import pygtk
pygtk.require('2.0')
del pygtk

import gobject
del gobject

import geometry
import shape
from _canvas import *

# backwards compatibility:
CanvasAbstractGroup = CanvasGroupable

try:
    from view import *
except ImportError:
    print 'diacanvas: WARNING: could not load diacanvas.view'
else:
    from placementtool import *
