Re: multiple bonobo controls from one executable
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Jorn Baayen <jorn nl linux org>
- Cc: desktop-devel-list gnome org
- Subject: Re: multiple bonobo controls from one executable
- Date: 03 Mar 2002 02:25:27 +0100
On Sun, 2002-03-03 at 02:08, Jorn Baayen wrote:
> Hi,
>
> Hadess and me are writing a bonobo component which wraps gstreamer. This component
> has a stream interface, with basic stuff like loading files, playing, stopping, pausing
> etc. But, we will need to add two controls at some point - a video widget, for
> video playback, and a vumeter widget. We cannot use multiple executables since
> they all need the same GStreamer pipeline. So we wondered whether it is possible
> to have multiple controls in one component, or at least in the same executable?
>
yes, it is perfectly possible. You just have to create a Bonobo factory,
and in the callback function for it (see bonobo-generic-factory.h),
check the ID requested, and create the control based on that ID.
cheers
--
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]