Re: Bonobo control properties question
- From: Rodrigo Moya <rodrigo linuxave net>
- To: Michael Meeks <mmeeks gnu org>
- Cc: Vivien Malerba <malerba linuxave net>,gnome-components-list gnome org
- Subject: Re: Bonobo control properties question
- Date: Wed, 10 May 2000 10:41:00 +0200
Michael Meeks wrote:
>
> Hi Vivien,
>
> On Tue, 9 May 2000, Vivien Malerba wrote:
> > I'm working on gnome-db to use bonobo controls.
>
> Excellent,
>
> > and I have a problem with properties. The property bag of each control
> > is initialized with get_control_props() and set_control_props()
> > functions (that contain no code). Each property is then declared using
> > bonobo_property_bag_add_full(...,set_prop, get_prop, widget); The
> > problem is that the set_prop() and get_prop() do receive NULL as data
> > argument, and not widget, so they can't know which control
> > query/modify. Do you have any idea of where it comes from? or am I
> > using the properties in the wrong way?
>
> I don't quite understand the question. I am extremely suprised
> that you get a NULL user_data argument if that is what yoyu are
> suggesting. I have just read the codepath again and I can't see off hand
> how that could happen, furthermore every property_bag_add goes through
> that code and it seems to work for me; could you commit and try and let me
> trace the problem ?
>
It's already on CVS: files
gnome-db/gda-postgres-server/gda-postgres-config*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]