[Mono-list] GTK# Patch for TreeStore, ListStore, and TextIter

Mike Kestner mkestner@speakeasy.net
21 Nov 2002 15:22:18 -0600


On Thu, 2002-11-21 at 13:31, Daniel Morgan wrote:

> Here is what I have for Gtk.metadata:
> 
> <rule>
>   <class name="GtkListStore">
>     <method>SetColumnTypes</method>
>   </class>
>   <data>
>     <attribute target="param">
>       <filter level="name">types</filter>
>       <name>pass_as</name>
>       <value>length_param</value>
>   </data>
> </rule>
> 
> I have no idea how to test it.  Is the above okay?

No, the only supported values for pass_as are out and ref.  The
generator will choke on a change like that.  Like I said in my last
message, if you want a method that eliminates the n_columns parameter,
that should be added as a customization, probably utilizing a correctly
generated method with the (int, int[]) signature.  As I also said in my
previous message, I am fixing the generation of that method, but have to
fix some other stuff that's blocking my commit first.

-- 
Mike Kestner <mkestner@speakeasy.net>