Ok, so I actually found a solution to this out there, and decided I'd
post back here and share it.
import pygtk
pygtk.require('2.0')
import gtk
import ctypes
from ctypes import *
from comtypes import client
from ctypes.wintypes import *
import gobject
def delete_event(widget,event,data=None):
You're right. Let me be more specific. Firstly, the reason I
included c++ code is because I'm using Microsoft COM, which is
natively in c++, and in fact, to access them through Python I use the
comtypes module [import comtypes] and then GetModule('quartz.dll') to
access the dll's.
I am using the
On Sep 23, 4:24 am, Tim Golden <[EMAIL PROTECTED]> wrote:
> Sayanan Sivaraman wrote:
> > So I've written a simple video player using directshow/COM in VC++,
> > and I'm in the process of translating it to python. For example, when
> > the avi starts pla
Hey all,
So I've written a simple video player using directshow/COM in VC++,
and I'm in the process of translating it to python. For example, when
the avi starts playing, I have a call media_control.Run() , etc.
I'm wondering how I should go about updating my gtk.Hscale widget as a
trackbar for
Hey all,
I'm trying to use DirectShow to display videos [I'm kind of new to
Python, from more of a C++ background on windows]. I found some
sample code online, but I am having trouble with calling the I
import ctypes
from ctypes import *
from comtypes import client
from ctypes.wintypes import *