[Swfdec] SwfdecGtkWidget and transparency

Benjamin Otte otte at gnome.org
Sun May 17 02:41:42 PDT 2009


Hi,

I've never bothered with making the Swfdec widget translucent, so I'd
guess it doesn't work properly out of the box. I also have no idea
what would be required to make it translucent, but I'd happily take
patches that make it work - probably using
gtk_widget_set_app_paintable().

Cheers,
Benjamin


On Sat, May 16, 2009 at 2:52 AM, Jack Rutherford <jack at fader.co.uk> wrote:
> Hi,
>
> I am trying to load an swf and make the background transparent so that
> I can overlay it over another widget or GdkWindow (specifically to
> create an overlay from a video stream using a Gstreamer pipeline, but
> I digress).
> Please forgive my ignorance but I am very new to Gtk+2 and have not
> got my hands dirty with c for a long time.
> So far I have managed to get swf files playing and have managed to set
> the opacity of the whole widget based on the composite windows section
> in the Gtk docs. Obviously that is not quite what I want to do. Can
> anyone out there give me some pointers as to how I might achieve this?
>
> regards,
>
> Jack
> _______________________________________________
> Swfdec mailing list
> Swfdec at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/swfdec
>


More information about the Swfdec mailing list