Re: [Gegl-developer] my design notes on the class list

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

 



Hi,

Daniel Rogers <daniel@xxxxxxxxxxxxxxxxx> writes:

> If you wanted to chain up, could you do something like this to the the
> functions to chain to?
> 
> GTypeInterface* foo=g_type_interface_peek(instance_class,iface_type);
> MyIterface* default_interface_impl = g_object_new(foo, . . .);

no, you can't create an object using an interface type, it is not
instantiable.


Salut, Sven

BTW: The GObject developers at the moment consider to add properties
to interfaces. As far as I can see, there's a good chance that this
will happen for GLib-2.4. I thought perhaps you should know.

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux