On Thu, 2006-09-21 at 06:58 -0400, Mario Fuentes wrote:
> Hi
> 
> I'm preparing mono bindings for GooCanvas, and it have a problem:
> 
> GooCanvasItem is an Interface with a readonly property called "Model"
> and GooCanvasGroup a class implementing the interface, this class also
> have a method called "set_model" (in C).  The codegen interpreting the
> situation like this:
> 
> class Goo.CanvasGroup : GLib.Object, Goo.CanvasItem {
>     // The readonly property from CanvasItem
>     public Goo.CanvasModel Model {
>         get { ... }
>     }
> 
>     // the goo_canvas_group_set_model method interpretation
>     public Goo.CanvasModel Model {
>         set { ... }
>     }
> }
> 
> Please, if any have a idea for fix the problem, It will be appreciated.

Could you file a bug in bugzilla for this missing conflict resolution?
I probably won't be able to look at it for a while though.

Probably the best way to work around it in the meantime is to grab the
body of that set method and put it in a CanvasGroup.custom file as:

public void SetModel (...

and add a metadata rule to hide the generation of that method.

-- 
Mike Kestner  <[EMAIL PROTECTED]>
SUSE® Linux Enterprise 10
Your Linux is ready™
www.novell.com/linux

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to