Re: stupid question?



Erik Bågfors wrote:

> Hi!
>
> Here is a stupid question (perhaps).
>
> I've been playing around alittle in bonobo and it's really sweet :).
>
> If I understand things correctly here is parts of how the classes hang
> together..
>
> GtkObject ->    BonoboObject ->         BonoboXObject
>                             |-> BonoboPropertyBag
>                             |-> BonoboControlFrame
>
> The thing I don't understand is that the I can convert the BonoboControlFrame
> to a GtkObject using GTK_OBJECT(control_frame) but I cannot convert the
> BonoboPropertyBag to a GtkObject with GTK_OBJECT.

A PropertyBag is a GtkObject, so GTK_OBJECT(property_bag) should work without
any problems. Maybe something else is wrong with your code.

- Dietmar





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]