Re: GNOME 2.0 Status and Martin's Travelling Schedule
- From: Martin Baulig <martin home-of-linux org>
- To: gnome-2-0-list gnome org
- Cc: gnome-libs-devel gnome org, gnome-devel-list gnome org, gnome-hackers gnome org
- Subject: Re: GNOME 2.0 Status and Martin's Travelling Schedule
- Date: 03 May 2001 10:50:01 +0200
Martin Baulig <martin home-of-linux org> writes:
> Larger outstanding issues aka "Issues which ``block'' the platform":
> ===================================================================
>
> * We need a multi-threaded ORB and an easy API to do asnyc operations
> over CORBA.
>
> I run into this problem when trying to fix GnomeSelector; imagine you
> have an application which is displaying an icon entry. Internally,
> this icon entry is implemented as BonoboControl and it can talk to
> a remove GNOME::Selector CORBA object.
>
> So if your wants to tell the icon entry to display an image, it calls
> gnome_selector_client_add_uri() which should have the same API like
> gnome_selector_add_uri() in the non-Bonoboified selector:
>
> void
> gnome_selector_add_uri (GnomeSelector *selector,
> GnomeSelectorAsyncHandle **async_handle_return,
> const gchar *filename,
> gint position,
> guint list_id,
> GnomeSelectorAsyncFunc async_func,
> gpointer user_data);
>
> Now imaging this function is called gnome_selector_client_add_uri() and
> it invokes the `add_uri' method on a remote GNOME::Selector CORBA object.
> This operation must not block until the image is loaded, but return
> immediately and trigger a callback when the image is loaded.
Sorry for being stupid last night. Of course we already have Bonobo::Listener
and Bonobo::EventSource for this :-)
--
Martin Baulig
martin gnome org (private)
baulig suse de (work)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]