Re: bonobo control problem
- From: Mark McLoughlin <mark skynet ie>
- To: "Stephen M. Przepiora" <steve przepiora org>
- Cc: gnome-devel-list gnome org
- Subject: Re: bonobo control problem
- Date: 03 Mar 2003 08:03:35 +1300
Hi,
On Sun, 2003-03-02 at 11:48, Stephen M. Przepiora wrote:
> #define OAFIID "OAFIID:Bonobo_Test_Label"
>
> static BonoboObject* factory_fn (BonoboGenericFactory *this, const char
> *object_id, void *data)
> {
> GtkWidget *label = NULL;
> BonoboObject *object = NULL;
> label = gtk_label_new ("foo");
> gtk_widget_show (label);
return BONOBO_OBJECT (bonobo_control_new (label));
> return BONOBO_OBJECT (label);
> }
>
> BONOBO_OAF_FACTORY_MULTI (OAFIID, "Test bonobo label", VERSION,
> factory_fn, NULL);
>
>
> What am I doing wrong? I have been trying for the past few hours and can
> not get this to work.
You aren't actually creating a bonobo control. Have a look at
libbonoboui/doc/ui-across-boundaries.txt - it may help you.
Good Luck,
Mark.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]