[Mono-dev] Re: [Gtk-sharp-list] Gdk.Drawable.DrawPoints

Zac Bowling zac at zacbowling.com
Tue May 2 17:40:59 EDT 2006


Yah, 

when you specify a type as an array in gapi, it assumes the next
variable is the length param and hides it automatically :-P

When I get a chance to test and verify it works, I'll push it through.
One of things that just clearly doesn't work, I guess. Good catch :-)


Zac Bowling
http://www.zacbowling.com/

On Tue, 2006-05-02 at 23:31 +0200, Philipp Baer wrote:
> Zac Bowling wrote:
> > On Tue, 2006-05-02 at 21:25 +0200, Philipp Baer wrote:
> >> <attr
> >> path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPoints']" name="hidden">1</attr>
> > 
> > This one you don't need to hide the function to make it an array type
> > with GAPI.
> > 
> > 
> > <attr
> > path="/api/namespace/object[@cname='GdkDrawable']/method[@name='DrawPoints']/*/*[@name='points']" name="array">1</attr>
> > 
> > Everything but the docs should take care of itself automatically :-)
> 
> Oh, great :)
> I've simply copied the spec for DrawLines, so maybe one should
> adjust this method too? Well, ok, there's still the size parameter,
> which will be generated with this approach, right?
> 
> Anyway, is it possible to commit a fix for this bug?
> 
> 
> phb
> 



More information about the Gtk-sharp-list mailing list