Re: GtkMediaPlayer widget
- From: Ryan Gammon <rgammon real com>
- To: iain <iain prettypeople org>
- Cc: desktop-devel-list gnome org
- Subject: Re: GtkMediaPlayer widget
- Date: Tue, 16 Dec 2003 16:42:24 -0800
It's got one pros and many cons:
I like it because it is, technically speaking, an interface (unless gtk
was to implement it with a simple pixbuf animated gif player, which I'm
I don't like it because the nuances are wrong. The Gtk object hierarchy
would have GtkMediaInterface listed somewhere above GObject, I believe.
Developers would be confused. They would not get the impression that
media widgets are first class citizens in gtk.
Developers would want to see the media widget deriving from GtkWidget
like all their other widgets.
the value returned from gst_player_new or helix_player_new or whatever
would derive from GtkWidget, but the GtkMediaInterface is simply and
interface that the GtkWidget implements, and interfaces derive from
GInterface, not GtkWidget. Check out gtkeditable.c (although that might
not be the easiest interface in the world to understand, its the only
one I can think of at the moment)
rgammon real com
Developer for Helix Player
] [Thread Prev