Is there some example code on how to use the wintab module? I tried the following code:

==Code==
import wx
from cgkit import wintab

app = wx.PySimpleApp()
frame = wx.Frame(None)
frame.Show()

print wintab.available()
context = wintab.Context()
print frame.GetHandle()
context.open(frame.GetHandle(), True)
packets = packetsGet(2)
print packets

app.MainLoop()

==Returns==
True
1507812
Traceback (most recent call last):
File "scratchpad.py", line 11, in ?
context.open(frame.GetHandle(), True)
RuntimeError: Could not open Wintab device context