[Gtk-sharp-list] Gdk.Color's methods.
Miguel de Icaza
miguel@ximian.com
12 Apr 2003 15:34:44 -0400
Hello,
I would like to conceal the following methods from being exported by
Gdk.Color:
Hash ()
We should instead override GetHashCode.
Copy ()
This makes an internal copy of the color, but the
original storage is not even used, as we make a copy
with the Marshal routine.
Free ()
This should only be used in pairs with Copy.
I tried the following in sources/Gdk.metadata, but as usual, I never
have any luck with the metadata hacks:
<rule>
<class name="GdkColor">
<method>Hash</method>
</class>
<data>
<attribute target="method">
<name>hidden</name>
<value>1</value>
</attribute>
</data>
</rule>
Miguel.