Re: BonoboPreview initiative
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: "Dirk-Jan C. Binnema" <bulkmeel yahoo co uk>, Chris Phelps <chicane reninet com>, gnome-devel-list gnome org, gnome-2-0-list gnome org, GNOME Components <gnome-components-list gnome org>
- Subject: Re: BonoboPreview initiative
- Date: 09 Dec 2001 16:18:20 +0100
On Sun, 2001-12-09 at 15:43, ERDI Gergo wrote:
> On 9 Dec 2001, Dirk-Jan C. Binnema wrote:
>
> > Wouldn't it be nicer to have the host app for the document expose a
> > PreviewControl interface (using a moniker). Thus, the host app has
> > responsibility for the preview. For apps that don't support the
> > interface, there could be a fallback mechanism.
>
> actually, this was my second idea, but I thought images were a simpler
> solution.
>
> So we could just do something like
> preview_widget = bonobo_widget_new ("file:/home/user/mytable.gnumeric!preview");
>
> i.e. just resolve !preview for Control.
>
it makes more sense IMO, for more general cases, to have a
PreviewControl interface, as Dirk said, and just do:
preview_widget = bonobo_get_object ("file:/home/user/mytable.gnumeric",
"Bonobo/PreviewControl");
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]