View Full Version : what widget to use to paint video on it?

March 22nd, 2008, 01:00 PM
I want a suggestion. I am making a media player application. And I am wondering, what widget should I use to paint the video on? I mean the "black space" totem and others use when displaying video.

thank you

March 22nd, 2008, 05:06 PM
You can get the source to totem and other video players to see just howthey are implemented. Totem has a BaconVideoWidgetClass that it implements as a direct subclass of GtkWidgetClass. Getting and studying the source for other projects are vital skills for open source software development. It is well worth your time to become comfortable with 'apt-get source' and code browsing tools like cscope.

March 22nd, 2008, 10:00 PM
ok thanx. the problem is that I am not patient enough to figure out someone else's code and, of course, I am a amateur in programming.