[Gtk-sharp-list] GdkKeySyms Missing - Hackers wanted

Lee Mallabone gnome@fonicmonkey.net
14 Apr 2003 20:04:46 +0100

On Sat, 2003-04-12 at 06:04, fd wrote:
> Committed as Gdk.Keys. "Key_" is prepended to keys starting with a
> digit. The script is in parser/

I tried to tweak the Widget.AddAccelerator method so that it would take
the new Gdk.Key type instead of just a uint.

However, the generator just ended up hiding the AddAccelerator method.
I've included my metadata rule below, which didn't work. Do I need to
just hide the AddAccelerator method and wrap it manually? I assume my
change didn't work because the "type" metadata change is for C types,
not C# types?

I know this is just syntactic sugar, but I think it's the kind of sugar
that can make an API hard or easy to use for newbies.



  <class name="GtkWidget">
    <attribute target="param">
	  <filter level="name">accel_key</filter>